Econometrics problem with Rstudio

Just complete question 3 and create a new R studio file. Then, please write a conclusion like this:

The regression part is very straightforward. If we want to see the regression of sales on TV, we can simply put sales in front and TV at the end. For example, lm(mydata$sales~mydata$TV). Then we can get the intercept and coefficient of the regression model by running the code. Also, we can use summary(regTV) to look at the details, such as standard error and t-value. But I am not sure how to deal with the regression model between two objects, that is for example, newspaper and TV. This part I do need some help with.

OR this:

For this question, we first run the R and we can see what happens in the SR and LR for the variable we want to observe. When discussing the coefficient on TV/Radio change in their SR and LR, we can observe that coefficient on TV/Radio both decrease in the LR when adding new variables. I find that the two values we can calculate from 1.difference between the coefficient on TV/Radio from the SR vs LR and 2.the bias by using the OVB formula to calculate should be the same. And adding the variables Newspaper and TV to the two SR both overestimating the actual effect.

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]