Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Call:
lm(formula = PN ~ PD, data = DATOS)
Residuals:
Min 1Q Median 3Q Max
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 27.42666 11.32105 2.423 0.0184 *
PD 0.41179 0.03801 10.833 7.64e-16 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Y=27.42666+0.41179*PD
> regresion <- lm(PD ~ P8S, data = DATOS)
> summary(regresion)
Call:
lm(formula = PD ~ P8S, data = DATOS)
Residuals:
Min 1Q Median 3Q Max
-75.087 -22.739 2.999 19.391 109.873
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 23.77638 27.86319 0.853 0.397
P8S 0.42379 0.04343 9.757 4.52e-14 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Y=23.77638+0.42379*P8S
Call:
lm(formula = PN ~ P8S, data = DATOS)
Residuals:
Min 1Q Median 3Q Max
-52.994 -17.495 -1.196 16.820 76.573
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 41.95362 18.00433 2.330 0.0231 *
P8S 0.16701 0.02806 5.951 1.41e-07 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Y=41.95362+0.0.3673*P8S
Response: PN
Df Sum Sq Mean Sq F value Pr(>F)
P8S 1 22948 22948 35.413 1.414e-07 ***
Residuals 61 39529 648
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> residuos <- rstandard(regresion)
> valores.ajustados <- fitted(regresion)
> plot(valores.ajustados, residuos)