Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I have stated before that ANOVA is a form of linear regression. Suppose I wanted

ID: 3173451 • Letter: I

Question

I have stated before that ANOVA is a form of linear regression. Suppose I wanted to examine the study habits of college students. I conduct a survey, and assess the average time spent studying (per night, in hours) of students. I want to see if there is a difference in mean study time between any of the grades (Freshmen, Sophmore, Junior, Senior), and I decide to use an ANOVA to test this. In other words, I want to see if grade-level is related to time spent studying- do certain grades stuy more than others? Think about this problem in the linear regression setting- what would the independent and dependent variables be? Give both their name and type. You do not have to do any calculation for this question. Do not worry about post hoc testing.

(Please explain with great detail to futher my understading in linear regression and linear regression with categorical variables. Thank you)

Explanation / Answer

here  the average time spent studying (per night, in hours) is measured

Check the lnes:

to see if grade-level is related to time spent studying- do certain grades stuy more than others?

grade level is dependent variable

grade level is categorical variable

u can convert the grade level to dummy variables and then proceed for analysis

time spent is independent variable

time spent is continuous variable

In R software u can do analysis:

We will then use the is.factor function to determine if the variable we create is indeed a factor variable, and then we will use the lm function to perform a regression, and get a summary of the regression using the summary function.