Answered step by step
Verified Expert Solution
Question
1 Approved Answer
University of North Georgia.docx X s MyCalStateLA - Home X National Popular Vote Assignme X Quiz: Lab Exam 2 X X C https://calstatela.instructure.com/courses/73494/quizzes/295713/take CAL STATE
University of North Georgia.docx X s MyCalStateLA - Home X National Popular Vote Assignme X Quiz: Lab Exam 2 X X C https://calstatela.instructure.com/courses/73494/quizzes/295713/take CAL STATE Spring Semester 2022 NutritionStudy contains data for 315 patients at a hospital. It includes LA the following variables: Home Announcements ID ID number for each subject in this sample Account Grades Age Subject's age (in years) People Dashboard Vitamin Vitamin use: 1=Regular, 2=Occasional, or 3=No Modules Courses Reading List Calories Number of calories consumed per day Fat Grams of fat consumed per day Calendar Fiber Grams of fiber consumed per day Inbox Alcohol Number of alcoholic drinks consumed per day History Cholesterol Cholesterol consumed per day, in mg Studio Gender Coded as Female or Male Help EverSmoke Smoking status: Never, Former, or Current 76.F O 1:01 PM 4 Sunny 4/9/2022University of North Georgia.docx X s MyCalStateLA - Home X National Popular Vote Assignmel X Quiz: Lab Exam 2 X X C & https://calstatela.instructure.com/courses/73494/quizzes/295713/take CAL STATE Here is a snippet of the NutritionStudy data: LA Spring Semester 2022 Age Vitamin Calories Fat Fiber Alcohol Cholesterol Gender EverSmoke Home 64 1298.8 57.0 6.3 0.0 170.3 Female Former 2 76 1032.5 50.1 15.8 0 . e 75.8 Female Never 3 38 2372.3 83.6 19.1 14.1 257.9 Female Former Announcements WHWNHH 4 40 2449.5 97.5 26.5 0.5 332.6 Female Former 5 72 1952.1 82.6 16.2 0 . e 170.8 Female Never Account Grades 6 40 1366.9 56.0 9.6 1.3 154.6 Female Former People Dashboard Modules Courses Reading List D Question 1 5 pts Calendar 1.1 Use Im() to fit the empty model for Calories in the NutritionStudy data frame. Save the results in an R object called Empty.model. Run Empty.model. Please type your R code for these steps here. Inbox Edit View Insert Format Tools Table History 12pt v Paragraph BIUAV &V TV ... Studio Help 76.F 1:01 PM 4 Sunny 4/9/2022University of North Georgia.docx X s MyCalStateLA - Home X National Popular Vote Assignme X Quiz: Lab Exam 2 X X C https://calstatela.instructure.com/courses/73494/quizzes/295713/take CAL STATE LA Spring Semester 2022 Home p Owords > Announcements Account Grades People Dashboard D Question 2 5 pts Modules Courses Reading List 1.2 The coefficient of the intercept we got from the R output in question 1.1 is 1797. Which is the correct interpretation for this coefficient? Calendar Inbox O The total amount of error in the Empty.model is 1797 O The best-fitting number for the empty model is 1797, which is the mean of the distribution of Calories in this data frame. History O The sum of squares of the Empty.model is 1797. Studio O One unit increase in the mean is associated with 1797 increase in Calories. Help 76.F 1:01 PM Sunny O 4 4/9/20224.1; n: I u UniversityofNorth Georgiadocx X I a MyCalStateLAiHome X I 5;; National PopularVote Assignmel X '3! Quiz: Lab ExamZ G E] https://calstatela.instructure.com/courses/73494/quizzes/295713/take Spring Semester 2022 Home Announcements Grades People Modules Reading List Question 3 5 pts 1.3 What would be true about the empty model for Calories? O The model would make the same prediction of Calories for every person regardless of their values on other variables (such as Age and Gender). 0 The model would be the best way of explaining how many variables contribute to Calories (such as Age and Gender). 0 The model would predict O calorie for every person's value on Calories. O The model would predict a different value for Calories for each person, depending on their values on other variable (such as Age and Gender]. Question 4 5 pts 2.1 Use R functions to nd the sum of squares, variance, and standard deviation around the empty model for Calories that you created in 1:01 PM 4/9/2022 o'''DLE- University of North Georgia.docx X s MyCalStateLA - Home X National Popular Vote Assignme X Quiz: Lab Exam 2 X X C & https://calstatela.instructure.com/courses/73494/quizzes/295713/take CAL STATE LA Spring Semester 2022 D Question 4 5 pts Home Announcements 2.1 Use R functions to find the sum of squares, variance, and standard deviation around the empty model for Calories that you created in Account Grades Question 1.1. In the area below (1) Type your R code here for obtaining People the sum of squares; (2) Type your R code here for obtaining the variance; Dashboard (3) Type your R code here for obtaining the standard deviation. Modules Courses Reading List Edit View Insert Format Tools Table 12pt v Paragraph BI U A & V TV : Calendar Inbox History Studio Help 76.F P 1:01 PM 4 Sunny 4/9/2022University of North Georgia.docx X s MyCalStateLA - Home X National Popular Vote Assignme X Quiz: Lab Exam 2 X X C https://calstatela.instructure.com/courses/73494/quizzes/295713/take CAL STATE LA Spring Semester 2022 Home Announcements D Question 5 5 pts Account Grades 2.2 From question 2.1, what are the values found for the following People statistics? Please fill in the blank with the value. Dashboard Modules Sum of squares for the empty model for Calories: Courses Reading List Variance of Calories: (keep one decimal place by Calendar round to the nearest 0.1) Inbox Standard deviation of Calories: (keep one decimal place by round to the nearest 0.1) History Studio D Question 6 5 pts Help 76.F 1:01 PM 4 Sunny P 4/9/2022
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