r:dummy_variables_with_significant_interaction
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| r:dummy_variables_with_significant_interaction [2023/06/05 12:58] – [Regression with a continous + a categorical variables: ANCOVA] hkimscil | r:dummy_variables_with_significant_interaction [2023/06/05 13:01] (current) – [Regression with a continous + a categorical variables: ANCOVA] hkimscil | ||
|---|---|---|---|
| Line 207: | Line 207: | ||
| * y hat ~ 77.3 + .00006*cost | * y hat ~ 77.3 + .00006*cost | ||
| + | < | ||
| + | > summary(mod2< | ||
| + | Call: | ||
| + | lm(formula = salary ~ cost * location) | ||
| + | Residuals: | ||
| + | | ||
| + | -17.1126 | ||
| + | |||
| + | Coefficients: | ||
| + | Estimate Std. Error t value Pr(> | ||
| + | (Intercept) | ||
| + | cost | ||
| + | locationMW | ||
| + | locationNE | ||
| + | locationW | ||
| + | cost: | ||
| + | cost: | ||
| + | cost: | ||
| + | --- | ||
| + | Signif. codes: | ||
| + | |||
| + | Residual standard error: 7.644 on 77 degrees of freedom | ||
| + | Multiple R-squared: | ||
| + | F-statistic: | ||
| + | |||
| + | > anova(mod2) | ||
| + | Analysis of Variance Table | ||
| + | |||
| + | Response: salary | ||
| + | Df Sum Sq Mean Sq F value Pr(> | ||
| + | cost 1 2757.0 2756.97 | ||
| + | location | ||
| + | cost: | ||
| + | Residuals | ||
| + | --- | ||
| + | Signif. codes: | ||
| + | > | ||
| + | </ | ||
r/dummy_variables_with_significant_interaction.1685969932.txt.gz · Last modified: by hkimscil
