Question

Questions should be answered using the Answer Sheet Template with your name at the top. All relevant R codes, numeric answers

The following data gives the monthly sales (in thousands of dollars) for different advertising expenditures (also in thousands of dollars) and sales commission percentages. Help me solve this R code, thanks

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.)

Sales=c(245,138,352,322,228,275,560,366)
Advertising=c(16.5,18,22.3,17.4,19,20,32,18.6)
Commission=c(10.5,2,4,3.5,4.5,1.8,9,8.5)
data=as.data.frame(cbind(Sales,Advertising,Commission))
model1=lm(Sales~Advertising+Commission, data = data)
dat2=data.frame(Advertising=25,Commission=8)
predict(model1,dat2)

Answer: 424.6849

2.)

summary(model1)

Estimate Std. Error t value Pr(>|t|)
(Intercept) -139.633 111.792 -1.249 0.2669
Advertising 19.069 5.456 3.495 0.0174 *
Commission 10.950 8.062 1.358 0.2325

So advertising is significant at 5% level of significance as p-value for it is less than 5%

Add a comment
Know the answer?
Add Answer to:
The following data gives the monthly sales (in thousands of dollars) for different advertising expenditures (also...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Suppose that a company wishes to predict sales volume based on the amount of advertising expenditures....

    Suppose that a company wishes to predict sales volume based on the amount of advertising expenditures. The sales manager thinks that sales volume and advertising expenditures are modeled according to the following linear equation. Both sales volume and advertising expenditures are in thousands of dollars. Estimated Sales Volume=46.71+0.54(Advertising Expenditures)Estimated Sales Volume=46.71+0.54(Advertising Expenditures) If the company has a target sales volume of $150,000, how much should the sales manager allocate for advertising in the budget? Round your answer to the nearest...

  • Question # 3. The following data set records the cost of advertising (in thousands of dollars)...

    Question # 3. The following data set records the cost of advertising (in thousands of dollars) and the number of prescriptions written for a new drug (in thousands). Cost (x) 9 2 3 4 2 6 9 10 Number of prescriptions (y) 85 61 64 67 60 75 83 87 Using the above data: (Please use Minitab for parts a, b, d) a) A bivariate (scatter) plot for the data set. (5 points) b) Find the correlation (r) and its...

  • II 1. The Advertising data set consists of the sales (in thousands of units) of a...

    II 1. The Advertising data set consists of the sales (in thousands of units) of a particular product in 400 different markets. It also contains the advertising budgets (in thousands of dollars) for the product in each of the markets for three different media: TV, radio, and newspaper. The data set is divided in two parts-a training set consisting of 200 observations and a test set consisting of the remaining 200 observations. Three models are used on training data and...

  • Online Store Monthly E-commerce Sales (in 1000 s) Online Advertising Dollars (1000 s) 1330 670 ||950...

    Online Store Monthly E-commerce Sales (in 1000 s) Online Advertising Dollars (1000 s) 1330 670 ||950 4.5 Il0.5 1560 |2.0 380 ||1.5 Note: this was a real data, but I changed some of the numbers to make your MANUAL computations easier. 1. Identify the most appropriate/logical Dependent and Independent variables for this study. 2. Is the linear relationship between the Dependent and Independent variables significant at a=0.05? Use both the global and individual tests to answer the questions. Show all...

  • The following data represent a company's yearly sales volume and its advertising expenditure over a period...

    The following data represent a company's yearly sales volume and its advertising expenditure over a period of 8 years. Develop a scatter diagram of sales versus advertising and explain what it shows regarding the relationship between sales and advertising. Make sure your axes are labeled and that you have the axes correct (notice that x and y are above the labels). The graph should have a title that mentions the two variables. Use the method of least squares to compute...

  • The following sales and cost data (in thousands) are for two companies in the transportation industry:...

    The following sales and cost data (in thousands) are for two companies in the transportation industry: Company A Percent of Amount Sales $160,000 100% 80,000 50 $ 80,000 28,000 $ 52,000 Sales Variable costs Contribution margin Fixed costs Operating profit Company B Percent of Amount Sales $ 160,000 32,000 $ 128,000 80% 53,000 $ 75,000 100% 20 50% Required: 1-a. Calculate the degree of operating leverage (DOL) for each company. 1-b. If sales increase from the present level, which company...

  • CASE 1-5 Financial Statement Ratio Computation Refer to Campbell Soup Company's financial Campbell Soup statements in...

    CASE 1-5 Financial Statement Ratio Computation Refer to Campbell Soup Company's financial Campbell Soup statements in Appendix A. Required: Compute the following ratios for Year 11. Liquidity ratios: Asset utilization ratios:* a. Current ratio n. Cash turnover b. Acid-test ratio 0. Accounts receivable turnover c. Days to sell inventory p. Inventory turnover d. Collection period 4. Working capital turnover Capital structure and solvency ratios: 1. Fixed assets turnover e. Total debt to total equity s. Total assets turnover f. Long-term...

  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT