- Open RStudio
- Type in the following syntax
- regress <- lm(v6~v36, data=y)
- summary(regress)
- v36 is my independent variable and v6 is my dependent variable
- Both your independent and dependent variables must be continuous/interval
I hypothesized that families who are of higher annual household income would be more involved throughout the activities. In other words, higher household income would influence family engagement in an activity.
Household income decreases .1034 units for every one unit increase in how much the family was engaged in the Finger Friends Activity. Therefore, it appears that annual household income and engagement in activities are inversely related. However, this finding is not significant (p=.5207). The R2 statistic is .005917, meaning that this model explains 0.5 percent of the variation in the dependent variable (family engagement). No relationship can be discerned between self-ranked household income and engagement in activity.