Question

In: Math

As a data scientist of a company, you want to analyze the following data collected by...

As a data scientist of a company, you want to analyze the following data collected by your company which relates the advertising expenditure A in thousands of dollars to total sales S in thousands of dollars. The following table shows this relationship

Advertising Expenditure (A) Total Sales (S)
18.6 312
18.8 322
18.8 333
18.8 317
19 301
19 320
19.2 305

Using Advertising expenditure (A) as the domain and Total Sales (S) as the range, the data is not a function because the value 18.8 and 19 appear in the domain more than once with a different corresponding value of the range each time.

--Interpret the slope and y-intercept of this equation.

--Express this equation as a function S of A and find its domain.

--Predict the sales if the advertising expenditure is $25000.

Solutions

Expert Solution

Solution:
intercept of the regression line can be calculated as
a = (summation(y) * summation(X^2) - summation(x)*summation(xy))/n*summation(x^2)-(summation(x))^2

X

Y

XY

X2

Y2

18.6

312

5803.2

345.96

97344

18.8

322

6053.6

353.44

103684

18.8

333

6260.4

353.44

110889

18.8

317

5959.6

353.44

100489

19

301

5719

361

90601

19

320

6080

361

102400

19.2

305

5856

368.64

93025

132.2

2210

41731.8

2496.92

698432

So a = (2210*2496.92)-(132.2*41731.8) / (7*2496.92)-(132.2*132.2) = 780.775
Slope of the line can be calculated as
b = n*summation(XY) - summation(X)*summation(Y)/n*summation(X^2) - (summation(x))^2
b = (7*41731.8) - (132.2*2210) / (7*2496.92)-(132.2*132.2) = -24.625
So the equation is in terms of S and A as follows:
S = 780.775 -24.625*A

From the slope we can say that As advertising expenditure increase by 1 unit than sales will decrease by 24.625unit. and intercept tells that if Expenditure is 0 than sales would be 780.775

If Advertising expenditure = $25,000
than Sales. = 780.775 -24.625*25 = 780.775 - 615.625 = 165.15 or $165000


Related Solutions

You are asked to analyze the below speed data collected on a highway on different days...
You are asked to analyze the below speed data collected on a highway on different days of the week for similarity. Use ANOVA (analysis of variance) to support your conclusion by performing the following tasks: Sample 1 (mph) Sample 2 (mph) Sample 3 (mph) 50 45 55 55 50 60 50 55 50 50 60 45 60 40 40 State your null hypothesis (H0) and alternative hypothesis (H1) State your assumed level of significance (αα) Calculate mean for sample 1...
You are asked to analyze the below speed data collected on a highway on different days...
You are asked to analyze the below speed data collected on a highway on different days of the week for similarity. Use ANOVA (analysis of variance) to support your conclusion by performing the following tasks: Sample 1 (mph) Sample 2 (mph) Sample 3 (mph) 50 45 55 55 50 60 50 55 50 50 60 45 60 40 40 State your null hypothesis (H0) and alternative hypothesis (H1) State your assumed level of significance (αα) Calculate mean for sample 1...
You have collected the following data for your company, in an attempt to determine a way...
You have collected the following data for your company, in an attempt to determine a way to predict future Indirect Labor expenses. week Indirect Mfg. Labor Exp Machine hours DL hrs 3 of Production batches 1 2800 700 120 450 2 6700 1200 110 520 3 3200 300 340 500 4 1500 200 160 110 5 1500 400 740 220 6 3600 600 310 380 7 7800 1300 800 700 8 8400 1400 430 730 9 4300 1500 700 600...
You are applying for a data job, and your assignment is to analyze the following data...
You are applying for a data job, and your assignment is to analyze the following data set for monthly average temperatures at St Catherines in the programming language R. (a) Prepare some plots that visualize the data. (b) Find the appropriate time series model and fit the data. Explain your choice of parameters. (c) Make predictions for the next 3 years, plot these predictions. (d) Summarize your findings. The Data is provided below. Please show the R codes as well....
1) You are a research scientist studying a novel enzyme X, and you want to characterize...
1) You are a research scientist studying a novel enzyme X, and you want to characterize this new enzyme. You measure the velocity of the reaction with different substrate concentrations and get the following data: [S] (mM) Initial Velocity (mmol/min) 3.0 10.4 5.0 14.5 10.0 22.5 30.0 33.8 90.0 40.5 a) Graph the above data. From the graph, estimate KM and Vmax (Michaelis-Menten Plot) b) Use Lineweaver-Burk plot to calculate Km and Vmax. Show all equations and calculations. c) You...
Capstone Project In this project, you will analyze data for a company that processes and packages...
Capstone Project In this project, you will analyze data for a company that processes and packages breakfast cereal. Complete the analysis required for each template and summarize your findings and recommendations in a memo to management. Justify all responses using your statistics. Background Facts Company: SneakyGood Cereals is a small producer of specialty organic breakfast cereal. Its signature product is Gluten-Free Organic Rainbow Crispies, sold directly online to consumers. The company sells approximately 3 million boxes annually. Box weight: 20...
In an experiment like the one you will complete, a student collected the following data. Use...
In an experiment like the one you will complete, a student collected the following data. Use this information to complete the questions below. YOU MUST SHOW ALL CALCULATIONS. Change in Mass of Anode: -0.023 g Change in Mass of Cathode: +0.019 g Average Current: 38.7 mA Time of Electrolysis: 1860 s d) Using the average of the change in mass of copper from the electrodes in the electrolytic cell, calculate the molar mass of copper.
Suppose you are a Data scientist. You are building a Classifier that can predict whether a...
Suppose you are a Data scientist. You are building a Classifier that can predict whether a person is likely to default or Not based on certain parameters/attribute values. Assume, the class variable is “Default” and has two outcomes, {“yes”, “no”} • Own_House = Yes, No • Marital Status = Single, Married, Divorced • Annual Income = Low, Medium, High • Currently Employed = Yes, No Suppose a rule-based classifier produces the following rules: 1. Own_House = Yes → Default =...
Consider the following data: (If you want to check data entry, the sample covariance is 80)...
Consider the following data: (If you want to check data entry, the sample covariance is 80) Can we reject the hypothesis that the coefficient for Hours is zero with 90% confidence? Sales Hours 12 68 9 71 18 120 21 110 18 110 11 90 16 120
You are analyzing the market for soccer balls. In particular, you want to analyze the change...
You are analyzing the market for soccer balls. In particular, you want to analyze the change in equilibrium price and quantity in that market, after these three events have occurred: Event 1: A new soccer player becomes a huge success. This has two effects. First, it incentivizes more buyers to consume soccer balls. Second, the preferences of everyone change (old and new customers), as now many want to be a soccer player. Event 2: A rise in the price of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT