Gov 2000: 11. Interactions, F-tests, and Nonlinearities
Matthew Blackwell
November 15, 2016
1 / 62
Gov 2000: 11. Interactions, F-tests, and Nonlinearities Matthew - - PowerPoint PPT Presentation
Gov 2000: 11. Interactions, F-tests, and Nonlinearities Matthew Blackwell November 15, 2016 1 / 62 1. Interactions 2. Nonlinear functional forms 3. Tests of multiple hypotheses 2 / 62 Where are we? Where are we going? ends 3 / 62
Matthew Blackwell
November 15, 2016
1 / 62
2 / 62
ends
3 / 62
4 / 62
๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2๐จ๐ + ๐ฃ๐
โถ ๐ง๐ = 1 for voted โถ ๐ฆ๐ = 1 for neighbors treatment, ๐ฆ๐ = 0 for civil duty mailer โถ ๐จ๐ = 1 for female, ๐จ๐ = 0 for male
โถ ๐พ0: average turnout for males in the control group. โถ ๐พ1: efgect of neighbors treatment conditional on gender. โถ ๐พ2: average difgerence in turnout between women and men
conditional on treatment.
women.
5 / 62
women separately?
regressions.
โถ No way to assess whether or not the efgects are difgerent from
โถ Add a third covariate that is ๐ฆ๐ ร ๐จ๐:
๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2๐จ๐ + ๐พ3๐ฆ๐๐จ๐ + ๐ฃ๐
โถ ๐ฆ๐ ร ๐จ๐ = 1 for treated females (๐ฆ๐ = 1 and ๐จ๐ = 1), 0 otherwise 6 / 62
๐ฝ[๐ง๐|๐ฆ๐, ๐จ๐] = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2๐จ๐ + ๐พ3๐ฆ๐๐จ๐
๐ฝ[๐ง๐|๐ฆ๐ = 1, ๐จ๐ = 0] = ๐พ0 + ๐พ1 ร 1 + ๐พ2 ร 0 + ๐พ3 ร 1 ร 0 = ๐พ0 + ๐พ1 ๐ฝ[๐ง๐|๐ฆ๐ = 0, ๐จ๐ = 0] = ๐พ0 + ๐พ1 ร 0 + ๐พ2 ร 0 + ๐พ3 ร 0 ร 0 = ๐พ0
๐ฝ[๐ง๐|๐ฆ๐ = 1, ๐จ๐ = 1] = ๐พ0 + ๐พ1 + ๐พ2 + ๐พ3 ๐ฝ[๐ง๐|๐ฆ๐ = 0, ๐จ๐ = 1] = ๐พ0 + ๐พ2
7 / 62
ฬ ๐ง๐ = ฬ ๐พ0 + ฬ ๐พ1๐ฆ๐ + ฬ ๐พ2๐จ๐ + ฬ ๐พ3๐ฆ๐๐จ๐
the exact same efgect.
โถ โ ฬ
๐พ3 not exactly equal to 0 even if ๐พ3 = 0.
enoughโ for us to say that the efgect varies systematically by gender?
difgerent by testing the null hypothesis ๐ผ0 โถ ๐พ3 = 0 ฬ ๐พ3 ฬ se[ ฬ ๐พ3]
8 / 62
summary(lm(voted ~ treat * female, data = social))
## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 0.32274 0.00343 93.97 < 2e-16 *** ## treat 0.06180 0.00486 12.72 < 2e-16 *** ## female
0.00486
0.00073 *** ## treat:female 0.00321 0.00687 0.47 0.63990 ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 0.475 on 76415 degrees of freedom ## Multiple R-squared: 0.00469, Adjusted R-squared: 0.00465 ## F-statistic: 120 on 3 and 76415 DF, p-value: <2e-16
9 / 62
function of the parameters: ๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2๐จ๐ + ๐พ3๐ฆ๐๐จ๐ + ๐ฃ๐
covariates we donโt observe.
(binary/categorical), but is satisfjed in saturated models.
parameters as there are combinations of the covariates.
โถ Same as estimating separate means for each combination of
the covariates.
โถ No extrapolation โ linearity holds by construction. 10 / 62
๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐ฃ๐
๐น[๐ง๐|๐ฆ๐ = 0] = ๐พ0 ๐น[๐ง๐|๐ฆ๐ = 1] = ๐พ0 + ๐พ1
๐ฆ๐ = 1 and ๐ฆ๐ = 0.
โถ No extrapolation, no linearity assumption.
๐น[๐ง๐|๐ฆ๐ = ๐ฆ] = ๐พ0 + ๐พ1 ร ๐ฆ ๐น[๐ง๐|๐ฆ๐ = ๐ฆ + 1] = ๐พ0 + ๐พ1 ร (๐ฆ + 1)
๐ฆ๐.
11 / 62
๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2๐จ๐ + ๐พ3๐ฆ๐๐จ๐ + ๐ฃ๐
๐ฝ[๐ง๐|๐ฆ๐, ๐จ๐]: ๐น[๐ง๐|๐ฆ๐ = 0, ๐จ๐ = 0] = ๐พ0 ๐น[๐ง๐|๐ฆ๐ = 1, ๐จ๐ = 0] = ๐พ0 + ๐พ1 ๐น[๐ง๐|๐ฆ๐ = 0, ๐จ๐ = 1] = ๐พ0 + ๐พ2 ๐น[๐ง๐|๐ฆ๐ = 1, ๐จ๐ = 1] = ๐พ0 + ๐พ1 + ๐พ2 + ๐พ3
model.
12 / 62
more democracy?
free) to 7 (more free)
13 / 62
2.0 2.5 3.0 3.5 4.0 4.5 1 2 3 4 5 6 7 Log GDP per capita Democracy
Muslim Non-Muslim
high wealth due to natural resources, but also low levels of democracy.
14 / 62
0 otherwise mod <- lm(fhrev ~ income + muslim, data = FishData) summary(mod)
## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 0.189 0.556 0.34 0.73 ## income 1.397 0.163 8.58 1.3e-14 *** ## muslim
0.238
5.8e-11 *** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 1.28 on 146 degrees of freedom ## Multiple R-squared: 0.522, Adjusted R-squared: 0.515 ## F-statistic: 79.6 on 2 and 146 DF, p-value: <2e-16
15 / 62
2.0 2.5 3.0 3.5 4.0 4.5 1 2 3 4 5 6 7 Log GDP per capita Democracy
Muslim Non-Muslim
16 / 62
๐๐๐๐๐๐๐ ร ๐๐ฃ๐ก๐๐๐๐
ฬ ๐ง๐ = ฬ ๐พ0 + ฬ ๐พ1๐ฆ๐ + ฬ ๐พ2๐จ๐ + ฬ ๐พ3๐ฆ๐๐จ๐
๐ = โก โข โข โข โฃ 1 ๐ฆ1 ๐จ1 ๐ฆ1 ร ๐จ1 1 ๐ฆ2 ๐จ2 ๐ฆ2 ร ๐จ2 โฎ โฎ โฎ โฎ 1 ๐ฆ๐ ๐จ๐ ๐ฆ๐ ร ๐จ๐ โค โฅ โฅ โฅ โฆ
17 / 62
mod.int <- lm(fhrev ~ income * muslim, data = FishData) summary(mod.int) ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept)
0.540
0.014 * ## income 1.859 0.159 11.70 < 2e-16 *** ## muslim 5.741 1.134 5.06 1.2e-06 *** ## income:muslim
0.364
5.2e-10 *** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 1.13 on 145 degrees of freedom ## Multiple R-squared: 0.634, Adjusted R-squared: 0.626 ## F-statistic: 83.6 on 3 and 145 DF, p-value: <2e-16
18 / 62
head(model.matrix(mod.int)) ## (Intercept) income muslim income:muslim ## 1 1 2.925 1 2.925 ## 2 1 3.214 1 3.214 ## 3 1 2.824 0.000 ## 4 1 3.762 0.000 ## 5 1 3.188 0.000 ## 6 1 4.436 0.000
19 / 62
ฬ ๐ง๐ = ฬ ๐พ0 + ฬ ๐พ1๐ฆ๐ + ฬ ๐พ2๐จ๐ + ฬ ๐พ3๐ฆ๐๐จ๐
ฬ ๐ง๐ = ฬ ๐พ0 + ฬ ๐พ1๐ฆ๐
ฬ ๐ง๐ = ( ฬ ๐พ0 + ฬ ๐พ2) + ( ฬ ๐พ1 + ฬ ๐พ3)๐ฆ๐
20 / 62
Intercept for ๐ฆ๐ Slope for ๐ฆ๐ Non-Muslim country (๐จ๐ = 0) ฬ ๐พ0 ฬ ๐พ1 Muslim country (๐จ๐ = 1) ฬ ๐พ0 + ฬ ๐พ2 ฬ ๐พ1 + ฬ ๐พ3
2.0 2.5 3.0 3.5 4.0 4.5 1 2 3 4 5 6 7 Log GDP per capita Democracy
21 / 62
change in ๐ง๐ when ๐จ๐ = 0
โถ Model not saturated! Linearity in ๐ฆ๐!
group when ๐ฆ๐ = 0
๐จ๐ = 0
22 / 62
lower order terms)
wrong.mod <- lm(fhrev ~ income + income:muslim, data = FishData) summary(wrong.mod) ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept)
0.5133
0.93 ## income 1.4837 0.1520 9.76 < 2e-16 *** ## income:muslim
0.0725
2.6e-14 *** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 1.22 on 146 degrees of freedom ## Multiple R-squared: 0.569, Adjusted R-squared: 0.563 ## F-statistic: 96.3 on 2 and 146 DF, p-value: <2e-16
23 / 62
1 2 3 4 2 4 6 Log GDP per capita Democracy
models:
24 / 62
ฬ ๐ง๐ = ฬ ๐พ0 + ฬ ๐พ1๐ฆ๐ + 0 ร ๐จ๐ + ฬ ๐พ3๐ฆ๐๐จ๐ Intercept for ๐ฆ๐ Slope for ๐ฆ๐ Non-Muslim country (๐จ๐ = 0) ฬ ๐พ0 ฬ ๐พ1 Muslim country (๐จ๐ = 1) ฬ ๐พ0 + 0 ฬ ๐พ1 + ฬ ๐พ3
when income is 0
25 / 62
countries higher or lower than for stagnant economies?
๐๐๐๐๐๐๐ ร ๐๐ ๐๐ฅ๐ขโ๐
ฬ ๐ง๐ = ฬ ๐พ0 + ฬ ๐พ1๐ฆ๐ + ฬ ๐พ2๐จ๐ + ฬ ๐พ3๐ฆ๐๐จ๐
26 / 62
mod.cont <- lm(fhrev ~ income * growth, data = FishData) summary(mod.cont) ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept)
0.6225
0.8643 ## income 1.2922 0.1941 6.66 5.3e-10 *** ## growth
0.2383
0.0106 * ## income:growth 0.2395 0.0753 3.18 0.0018 ** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 1.4 on 145 degrees of freedom ## Multiple R-squared: 0.433, Adjusted R-squared: 0.422 ## F-statistic: 36.9 on 3 and 145 DF, p-value: <2e-16
27 / 62
head(model.matrix(mod.cont)) ## (Intercept) income growth income:growth ## 1 1 2.925
## 2 1 3.214 0.2 0.6429 ## 3 1 2.824
## 4 1 3.762 0.6 2.2572 ## 5 1 3.188
## 6 1 4.436 2.2 9.7582
28 / 62
it can take on: Intercept for ๐ฆ๐ Slope for ๐ฆ๐ ๐จ๐ = 0 ฬ ๐พ0 ฬ ๐พ1 ๐จ๐ = 0.5 ฬ ๐พ0 + ฬ ๐พ2 ร 0.5 ฬ ๐พ1 + ฬ ๐พ3 ร 0.5 ๐จ๐ = 1 ฬ ๐พ0 + ฬ ๐พ2 ร 1 ฬ ๐พ1 + ฬ ๐พ3 ร 1 ๐จ๐ = 5 ฬ ๐พ0 + ฬ ๐พ2 ร 5 ฬ ๐พ1 + ฬ ๐พ3 ร 5
29 / 62
๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2๐จ๐ + ๐พ3๐ฆ๐๐จ๐ + ๐ฃ๐
๐จ๐: ๐๐ฝ[๐ง๐|๐ฆ๐, ๐จ๐] ๐๐ฆ๐ = ๐พ1 + ๐พ3๐จ๐
๐ฆ๐: ๐๐ฝ[๐ง๐|๐ฆ๐, ๐จ๐] ๐๐จ๐ = ๐พ2 + ๐พ3๐ฆ๐
30 / 62
some level of ๐จ๐?
ฬ ๐๐ฝ[๐ง๐|๐ฆ๐, ๐จ๐] ๐๐ฆ๐ = ฬ ๐พ1 + ฬ ๐พ3๐จ๐
๐พ1 is the efgect when ๐จ๐ = 0. What about other values of ๐จ๐?
Var ( ฬ ๐๐ฝ[๐ง๐|๐ฆ๐, ๐จ๐] ๐๐ฆ๐ ) = Var( ฬ ๐พ1 + ๐จ๐ ฬ ๐พ3) = Var[ ฬ ๐พ1] + ๐จ2
๐ Var[ ฬ
๐พ3] + 2๐จ๐Cov[ ฬ ๐พ1, ฬ ๐พ3]
31 / 62
## SE of effect of income at muslime = 1 var.inter <- vcov(mod.int)["income","income"] + 1^2 * vcov(mod.int)["income:muslim","income:muslim"] + 2 * 1 * vcov(mod.int)["income","income:muslim"] sqrt(var.inter) ## [1] 0.3277 ## SE when muslim = 0 sqrt(vcov(mod.cont)["income", "income"]) ## [1] 0.1941
32 / 62
to recenter the variable so that 0 corresponds to the value you want to estimate.
๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2(1 โ ๐จ๐) + ๐พ3๐ฆ๐(1 โ ๐จ๐) + ๐ฃ๐
๐พ1 is the slope on ๐ฆ๐ when 1 โ ๐จ๐ = 0, or, rearranging, when ๐จ๐ = 1.
33 / 62
summary(lm(fhrev ~ income * I(1 - muslim), data = FishData)) ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 4.392 0.997 4.41 2.0e-05 *** ## income
0.328
0.085 . ## I(1 - muslim)
1.134
1.2e-06 *** ## income:I(1 - muslim) 2.427 0.364 6.66 5.2e-10 *** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 1.13 on 145 degrees of freedom ## Multiple R-squared: 0.634, Adjusted R-squared: 0.626 ## F-statistic: 83.6 on 3 and 145 DF, p-value: <2e-16
34 / 62
35 / 62
โถ Regress log(๐ง๐) on ๐ฆ๐ โ 100 ร ๐พ1 โ percentage increase in ๐ง๐
associated with a one-unit increase in ๐ฆ๐
โถ Regress log(๐ง๐) on log(๐ฆ๐) โ ๐พ1 โ percentage increase in ๐ง๐
associated with a one percent increase in ๐ฆ๐
โถ Only useful for small increments, not for discrete r.v 36 / 62
500 1000 1500 2000 2500 3000 5000 10000 15000 20000 25000 30000 Settler Mortality GDP per capita
37 / 62
1 2 3 4 5 6 7 8 5000 10000 15000 20000 25000 30000 Log Settler Mortality GDP per capita
38 / 62
500 1000 1500 2000 2500 3000 6 7 8 9 10 Settler Mortality Log GDP per capita
39 / 62
1 2 3 4 5 6 7 8 6 7 8 9 10 Log Settler Mortality Log GDP per capita
40 / 62
Model Equation ๐พ1 Interpretation Level-Level ๐ง = ๐พ0 + ๐พ1๐ฆ 1-unit ฮ๐ฆ โ ๐พ1ฮ๐ง Log-Level log(๐ง) = ๐พ0 + ๐พ1๐ฆ 1-unit ฮ๐ฆ โ 100 ร ๐พ1%ฮ๐ง Level-Log ๐ง = ๐พ0 + ๐พ1 log(๐ฆ) 1% ฮ๐ฆ โ (๐พ1/100)ฮ๐ง Log-Log log(๐ง) = ๐พ0 + ๐พ1 log(๐ฆ) 1% ฮ๐ฆ โ ๐พ1%ฮ๐ง
41 / 62
ฬ ๐ง๐ = ฬ ๐พ0 + ฬ ๐พ1๐ฆ๐ + ฬ ๐พ2๐ฆ2
๐
varies as a function of ๐ฆ๐: ๐๐ฝ[๐ง๐|๐ฆ๐] ๐๐ฆ๐ = ๐พ1 + ๐พ2๐ฆ๐
42 / 62
quad.mod <- lm(logpgp95 ~ raw.mort + I(raw.mort^2), data = ajr) summary(quad.mod) ## ## Coefficients: ## Estimate
Pr(>|t|) ## (Intercept) 8.639495953 0.137819111 62.69 < 2e-16 *** ## raw.mort
0.000663785
## I(raw.mort^2) 0.000001091 0.000000262 4.16 0.00008194 *** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 0.884 on 78 degrees of freedom ## (82 observations deleted due to missingness) ## Multiple R-squared: 0.321, Adjusted R-squared: 0.304 ## F-statistic: 18.4 on 2 and 78 DF, p-value: 0.000000276
43 / 62
500 1000 1500 2000 2500 3000 5 6 7 8 9 10 11 Settler Mortality Log GDP per capita
44 / 62
45 / 62
๐ผ0 โถ ๐พ๐ = 0
๐ผ๐ โถ ๐พ๐ โ 0
๐ข = ฬ ๐พ๐ ฬ se[ ฬ ๐พ๐]
conditionally Normal)
46 / 62
๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2๐จ๐ + ๐พ3๐ฆ๐๐จ๐
regression at all
๐ผ0 โถ ๐พ1 = 0 and ๐พ3 = 0
๐ผ๐ต โถ ๐พ1 โ 0 or ๐พ3 โ 0
null and the model under the alternative
47 / 62
๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2๐จ๐ + ๐พ3๐ฆ๐๐จ๐
ฬ ๐ง๐ = ฬ ๐พ0 + ฬ ๐พ1๐ฆ๐ + ฬ ๐พ2๐จ๐ + ฬ ๐พ3๐ฆ๐๐จ๐
๐๐๐๐ฃ =
๐
โ
๐=1
(๐ง๐ โ ฬ ๐ง๐)2
48 / 62
๐ง๐ = ๐พ0 + ๐พ1๐ฆ๐ + ๐พ2๐จ๐ + ๐พ3๐ฆ๐๐จ๐ = ๐พ0 + 0 ร ๐ฆ๐ + ๐พ2๐จ๐ + 0 ร ๐ฆ๐๐จ๐ ๐ง๐ = ๐พ0 + ๐พ2๐จ๐
ฬ ๐ง๐ = ฬ ๐พ0 + ฬ ๐พ1๐จ๐
๐๐๐๐ =
๐
โ
๐=1
(๐ง๐ โ ฬ ๐ง๐)2
difgerent due to sampling variation.
๐๐๐๐ and ๐๐๐๐ฃ, the less plausible is the null hypothesis.
49 / 62
๐บ = (๐๐๐๐ โ ๐๐๐๐ฃ)/๐ ๐๐๐๐ฃ/(๐ โ ๐ โ 1)
when we remove those ๐พs
increase in prediction error
50 / 62
ur.mod <- lm(fhrev ~ income * growth, data = FishData) r.mod <- lm(fhrev ~ growth, data = FishData) anova(r.mod, ur.mod) ## Analysis of Variance Table ## ## Model 1: fhrev ~ growth ## Model 2: fhrev ~ income * growth ## Res.Df RSS Df Sum of Sq F Pr(>F) ## 1 147 452 ## 2 145 284 2 168 42.9 2.3e-15 *** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
51 / 62
โถ Assumptions 1-5 + large sample: F statistic has an
approximately F distribution
โถ Assumptions 1-6 (Normality): F statistic has an exact F
distribution
โถ Very similar to the t-test
(๐๐๐๐ โ ๐๐๐๐ฃ)/๐ ๐๐๐๐ฃ/(๐ โ ๐ โ 1) โผ ๐บ๐,๐โ(๐+1)
the SSR we should expect if we were to add irrelevant variables to the model.
null.
52 / 62
1 2 3 4 0.0 0.2 0.4 0.6 0.8 1.0 x f(x)
q = 2, n - k - 1 = 100 q = 4, n - k - 1 = 100 q = 8, n - k - 1 = 100
53 / 62
โถ Same interpretation as always: the proportion of false positives
you are willing to accept
โถ Rejection region is the region ๐บ > ๐ such that โ(๐บ > ๐) = ๐ฝ โถ We can get this from R using the qf() function:
qf(0.05, 2, 100, lower.tail = FALSE) ## [1] 3.087
54 / 62
the null hypothesis is true.
pf(5.2, 2, 100, lower.tail = FALSE) ## [1] 0.007105
55 / 62
intercept being 0.
๐ง๐ = ๐พ0 + ๐ฃ๐
๐พ0 = ๐ง)
๐๐๐๐ =
๐
โ
๐=1
(๐ง๐ โ ๐ง)2
56 / 62
summary(ur.mod) ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept)
0.6225
0.8643 ## income 1.2922 0.1941 6.66 5.3e-10 *** ## growth
0.2383
0.0106 * ## income:growth 0.2395 0.0753 3.18 0.0018 ** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 1.4 on 145 degrees of freedom ## Multiple R-squared: 0.433, Adjusted R-squared: 0.422 ## F-statistic: 36.9 on 3 and 145 DF, p-value: <2e-16
57 / 62
๐ผ0 โถ ๐พ1 = 0
to the F-test?
t-statistic: ๐บ = ๐ข2 = ( ฬ ๐พ1 ฬ ๐๐น[ ฬ ๐พ1] )
2
58 / 62
we should expect that 5% of them will be signifjcant just due to random chance.
we run the regression:
59 / 62
noise <- data.frame(matrix(rnorm(2100), nrow = 100, ncol = 21)) summary(lm(noise)) ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) -0.028039 0.113820
0.8061 ## X2
0.112181
0.1839 ## X3 0.079158 0.095028 0.83 0.4074 ## X4
0.104579
0.4947 ## X5 0.172078 0.114002 1.51 0.1352 ## X6 0.080852 0.108341 0.75 0.4577 ## X7 0.102913 0.114156 0.90 0.3701 ## X8
0.120673
0.0094 ** ## X9
0.107983
0.6241 ## X10 0.180105 0.126443 1.42 0.1583 ## X11 0.166386 0.110947 1.50 0.1377 ## X12 0.008011 0.103766 0.08 0.9387 ## X13 0.000212 0.103785 0.00 0.9984 ## X14
0.112214
0.5583 ## X15
0.111575
0.2487 ## X16
0.125140
0.6647 ## X17 0.004335 0.112012 0.04 0.9692 ## X18
0.109853
0.4642 ## X19
0.118553
0.4713 ## X20
0.104560
0.0791 . ## X21 0.002111 0.108118 0.02 0.9845 ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 0.999 on 79 degrees of freedom ## Multiple R-squared: 0.201, Adjusted R-squared:
## F-statistic: 0.993 on 20 and 79 DF, p-value: 0.48 60 / 62
signifjcant at the 0.05 level (in fact, at the 0.01 level).
are false positives at the 0.05 level
Totally expected!
signifjcant
61 / 62
changes as a function of another
same time
assumption more plausible
62 / 62