Beruflich Dokumente
Kultur Dokumente
+ read.table("C:/Users/sophie.wegscheider/Documents/Universit�t/Master/Vertiefung
statistische Methoden/H�1/moral-g15.txt",
+ header=TRUE, sep="", na.strings="NA", dec=",", strip.white=TRUE)
Call:
lm(formula = sobl ~ Age + Gender + Income + Relationship_Status +
State + Occupation, data = Dataset)
Residuals:
Min 1Q Median 3Q Max
-68.655 -10.401 1.245 12.601 43.745
Coefficients:
Estimate Std. Error t value Pr(>|t|)
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
> summary(LinearModel.2)
Call:
lm(formula = sobl ~ Age, data = Dataset)
Residuals:
Min 1Q Median 3Q Max
-79.990 -10.116 1.566 13.413 39.038
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 102.98904 2.87329 35.844 <2e-16 ***
Age 0.19447 0.06287 3.093 0.0021 **
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
> plot(LinearModel.2)
> par(oldpar)