Mathematics
Mathematics, 11.02.2020 18:29, ChessieGiacalone

Install and load the dataset named Carseats (in the ISLR package) into R.

Create a new dataframe that is a copy of Carseats. Create two indicator (dummy) variables:

Bad_Shelf = 1 if ShelveLoc = "Bad", 0 otherwise

Good_Shelf = 1 if ShelveLoc = "Good", 0 otherwise

Also, create two interaction variables:

Price_Bad_Shelf = Price* Bad_Shelf

Price_Good_Shelf = Price* Good_Shelf

For Questions 1-2, please estimate a linear regression model (using the lm function) with Sales as the dependent variable and Price, Bad_Shelf, Good_Shelf, Price_Bad_Shelf, and Price_Good_Shelf as independent variables.

Question 1

For the model, does Bad_Shelf have an Intercept significantly (statistically) different from that of the base case?

a) Yes

b) No

c) Maybe

d) Not enough information

Question 2

For the model in Question 2, do the products located on Good_Shelf have a significantly (statistically) different Price coefficient from that of the base case?

a) Yes

b) No

c) Maybe

d) Not enough information

answer
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 16:00, brittneeyy
Atrucker had a load of grain containing 2 tons. she unloaded 1 ton and 1,200 pounds at the warehouse. how much grain does she still have left on the truck?
Answers: 1
image
Mathematics, 21.06.2019 18:00, mooreadrian412
The brain volumes (cm cubed) of 50 brains vary from a low of 904 cm cubed to a high of 1488 cm cubed. use the range rule of thumb to estimate the standard deviation s and compare the result to the exact standard deviation of 175.5 cm cubed, assuming the estimate is accurate if it is within 15 cm cubed
Answers: 2
image
Mathematics, 21.06.2019 18:00, 22justinmcminn
Darian wants to build a regulation size pool table that is 9 feet in length. he plans he ordered are 18 by 36 inches. what is the scale factor of the dilation he must use to build a regulation pool table
Answers: 1
image
Mathematics, 21.06.2019 19:00, sanafarghal
Simplify. (-2)^-3 a. -8 b. -1/8 c. 1/8 d. 8
Answers: 1
Do you know the correct answer?
Install and load the dataset named Carseats (in the ISLR package) into R.

Create a new d...

Questions in other subjects:

Konu
Mathematics, 16.01.2020 08:31