Regression

Regression in R:

  • Go to R and open your project
  • In the upper left-hand corner, enter a new line and begin typing ->
  • #Chapter11 – Basic Linear Regression
  • regress <-lm(v6~v36, data=y)
  • summary(regress)
  • Your result should look something like this:

The regression is showing that income will affect parental involvement. I hypothesized that families who have a higher income will have more involvement. In other words, how much money a family makes annually would make a positive influence on involvement in an activity.

For every one-unit increase in income, involvement increases -0.1034 units. Therefore, it appears that involvement of an activity is negatively related to income. This finding is not significant at any level. The R squared statistics is 0.005917, meaning that this model explains 0.5% of the variation in the dependent variable (involvement).