Call:
lm(formula = grade ~ baseline + attendance, data = dt)
Coefficients:
(Intercept) baseline attendance
41.37 15.30 37.08
Call:
lm(formula = y ~ x, data = dt)
Coefficients:
(Intercept) x
-2.0199 -0.3231
Call:
lm(formula = y ~ x + group, data = dt)
Coefficients:
(Intercept) x group2 group3 group4 group5
-2 1 -2 -4 -6 -8
Call:
lm(formula = grade ~ attendance, data = dt)
Residuals:
Min 1Q Median 3Q Max
-13.333 -4.000 -4.000 6.667 16.000
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 64.000 4.355 14.697 0.000000135 ***
attendance 19.333 5.896 3.279 0.00955 **
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 9.737 on 9 degrees of freedom
Multiple R-squared: 0.5443, Adjusted R-squared: 0.4937
F-statistic: 10.75 on 1 and 9 DF, p-value: 0.009545
Call:
lm(formula = grade ~ attendance + ability, data = dt)
Residuals:
Min 1Q Median
-0.0000000000000260252 -0.0000000000000007185 0.0000000000000014370
3Q Max
0.0000000000000023828 0.0000000000000144539
Coefficients:
Estimate Std. Error t value
(Intercept) 59.999999999999992895 0.000000000000005098 11768699472570328
attendance 10.000000000000007105 0.000000000000007463 1339925378608921
ability 19.999999999999996447 0.000000000000007463 2679850757217842
Pr(>|t|)
(Intercept) <0.0000000000000002 ***
attendance <0.0000000000000002 ***
ability <0.0000000000000002 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 0.0000000000000109 on 8 degrees of freedom
Multiple R-squared: 1, Adjusted R-squared: 1
F-statistic: 7.88e+30 on 2 and 8 DF, p-value: < 0.00000000000000022
attendance ability grade residgrade residattendance
1: 0 0 60 -3.333333 -0.3333333
2: 0 1 80 -8.000000 -0.8000000
3: 1 0 70 6.666667 0.6666667
4: 1 1 90 2.000000 0.2000000
Call:
lm(formula = residgrade ~ residattendance, data = dt)
Residuals:
Min 1Q Median
-0.000000000000022662 -0.000000000000001297 0.000000000000002301
3Q Max
0.000000000000004978 0.000000000000006645
Coefficients:
Estimate Std. Error
(Intercept) -0.0000000000000003013 0.0000000000000026033
residattendance 10.0000000000000035527 0.0000000000000059114
t value Pr(>|t|)
(Intercept) -0.116 0.91
residattendance 1691660616295972.000 <0.0000000000000002 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 0.000000000000008634 on 9 degrees of freedom
Multiple R-squared: 1, Adjusted R-squared: 1
F-statistic: 2.862e+30 on 1 and 9 DF, p-value: < 0.00000000000000022
gender college_degree wage N
1: 0 0 10 100
2: 0 1 30 100
3: 1 0 10 100
4: 1 1 20 100
gender college_degree wage N
1: 0 0 10 100
2: 0 1 30 100
3: 1 0 10 100
4: 1 1 20 100
Call:
lm(formula = wage ~ educ, data = dt)
Coefficients:
(Intercept) educ
7.500 5.929
Call:
lm(formula = wage ~ label, data = dt)
Coefficients:
(Intercept) labelbachelors labeldoctorate labelHS
10 15 25 2
labelmasters labelprofessional labelsome college
20 40 5
Call:
lm(formula = wage ~ label, data = dt)
Coefficients:
(Intercept) label<HS labelbachelors labeldoctorate
30 -20 -5 5
labelHS labelprofessional labelsome college
-18 20 -15
Call:
lm(formula = wage ~ age, data = dt)
Coefficients:
(Intercept) age
11.0506 0.3004
Call:
lm(formula = wage ~ age + I(age^2), data = dt)
Coefficients:
(Intercept) age I(age^2)
3.38417 0.69165 -0.00482
Call:
lm(formula = Income ~ Percentile, data = dt)
Coefficients:
(Intercept) Percentile
-40367 2751
Call:
lm(formula = log(Income + 1) ~ Percentile, data = dt)
Coefficients:
(Intercept) Percentile
8.9293 0.0404
Call:
lm(formula = log(Income + 1) ~ log(Percentile), data = dt)
Coefficients:
(Intercept) log(Percentile)
5.588 1.478