Question
A company has 21 toy store branches in different cities. The manager considers that the sales in thousands (Y) of each branch can be predicted
A company has 21 toy store branches in different cities. The manager considers that the sales in thousands (Y) of each branch can be predicted from the number of people aged 16 and under in the community in thousands (X1) and the per capita income of each city in thousands of dollars (X2)
*************************In each of your answers include the RStudio code that was used************************
X1 | X2 | Y |
68.5 | 16.7 | 174.4 |
45.2 | 16.8 | 164.4 |
91.3 | 18.2 | 244.2 |
47.8 | 16.3 | 154.6 |
46.9 | 17.3 | 181.6 |
66.1 | 18.2 | 207.5 |
49.5 | 15.9 | 152.8 |
52.0 | 17.2 | 163.2 |
48.9 | 16.6 | 145.4 |
38.4 | 16.0 | 137.2 |
87.9 | 18.3 | 241.9 |
87.9 | 18.3 | 241.9 |
72.8 | 17.1 | 191.1 |
88.4 | 17.4 | 232.0 |
42.9 | 15.8 | 145.3 |
52.4 | 17.8 | 161.1 |
85.7 | 18.4 | 209.7 |
41.3 | 16.5 | 146.4 |
51.7 | 16.3 | 144.0 |
89.6 | 18.1 | 232.6 |
82.7 | 19.1 | 224.1 |
A. Make a scatter plot (dot plot) of the sales and the number of people 16 years of age or younger and calculate the correlation coefficient, interpret.
B. Make a scatter plot (dot plot) of per capita income and sales for each city and calculate the correlation coefficient, interpret.
C. Estimate the multiple linear regression model, interpret each of the parameters.
D. Calculate and interpret the coefficient of determination.
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