Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Due: Tuesday, 20T7-09-26-1T:o9pn Deliverable: an R source-code file named ps2.r Question 1 Data The data attend.csv contains 680 observations on students in a course on
Due: Tuesday, 20T7-09-26-1T:o9pn Deliverable: an R source-code file named ps2.r Question 1 Data The data attend.csv contains 680 observations on students in a course on microeconomic principles. Analysis . Read the data attend.csv into a new variable 'contextl' and familiarize yourself with the data. . Create a new variable 'attendrt' for the attendance rate (classes attended out of the total number of classes). You can find information about the total number of classes in the labels .txt file . Create a new variable 'hwrt' for the homework completion rate (homeworks turned in of out the total number of homework assignments). You can find information about the total number of homework assignments in the labels .txt file . Run the following linear model using the 'Im' function. Store the result in: modell Interpretations a. Interpret the estimated coefficient on attendrt from modell (eq 1) b. Interpret the estimated coefficient on hwrt from modell (eq 1) c. Predict the termGPA for a student with a 32 ACT and a 2.2 priGPA who attended 28 lectures and turned-in 8 homework assignments. d. Predict the termGPA for a student with a similar attendence and homework pattern who had a 20 ACT and a 3.9 priGPA. e. Intuitively, which variable is more important to the termGPA, ACT or priGPA? f. Predict the termGPA for a student with a 25 ACT and a 3.0 priGPA who attends all the classes, but only finishes half the homework assignments. g. Predict the termGPA for a similarly qualified student who turns in all the homwork assignments, but only attends half the classes. h. Intuitively, which variable is more important to the termGPA, attendance or homework completion? i. Why is it easier to compare attendrt and hwrt than it is to compare priGPA and ACT score
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started