Consider the following time series data:
Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy:
- a.
Mean absolute error - b. Mean squared error
- c. Mean absolute percentage error
- d. What is the forecast for week 7?
(a)
Find the value of mean absolute error.
Answer to Problem 1P
The mean absolute error is 4.4.
Explanation of Solution
Week | Time Series Value | Forecast | Forecast Error | Absolute Value of Forecast Error |
1 | 18 | |||
2 | 13 | 18 | −5 | 5 |
3 | 16 | 13 | 3 | 3 |
4 | 11 | 16 | −5 | 5 |
5 | 17 | 11 | 6 | 6 |
6 | 14 | 17 | −3 | 3 |
Total | 22 |
Thus, the mean absolute error is 4.4.
(b)
Obtain the mean squared error.
Answer to Problem 1P
The mean squared error is 20.8.
Explanation of Solution
The mean squared error is obtained as given below:
Absolute Value of Forecast Error | Squared Forecast Error |
5 | 25 |
3 | 9 |
5 | 25 |
6 | 36 |
3 | 9 |
22 | 104 |
Thus, the mean squared error is 20.8.
(c)
Find the mean absolute percentage error.
Answer to Problem 1P
The mean absolute percentage error is 31.88.
Explanation of Solution
The mean absolute percentage error is obtained is given below:
Week | Time Series Value | Forecast | Forecast Error | Percentage Error | Absolute percentage Error |
1 | 18 | ||||
2 | 13 | 18 | −5 | −38.46 | 38.46 |
3 | 16 | 13 | 3 | 18.75 | 18.75 |
4 | 11 | 16 | −5 | −45.45 | 45.45 |
5 | 17 | 11 | 6 | 35.29 | 35.29 |
6 | 14 | 17 | −3 | −21.43 | 21.43 |
Total | −51.30 | 159.38 |
Thus, the mean absolute percentage error is 31.88.
(d)
Obtain the forecast for week 7.
Answer to Problem 1P
The forecast for week 7 is 14.
Explanation of Solution
The forecast for week 7 is obtained as given below:
Thus, the forecast for week 7 is 14.
Want to see more full solutions like this?
Chapter 8 Solutions
Mindtap Business Analytics, 1 Term (6 Months) Printed Access Card For Camm/cochran/fry/ohlmann/anderson/sweeney/williams' Essentials Of Business Analytics, 2nd
- 2 (Normal Distribution) Let rt be a log return. Suppose that r₁, 2, ... are IID N(0.06, 0.47). What is the distribution of rt (4) = rt + rt-1 + rt-2 + rt-3? What is P(rt (4) < 2)? What is the covariance between r2(2) = 1 + 12 and 13(2) = r² + 13? • What is the conditional distribution of r₁(3) = rt + rt-1 + rt-2 given rt-2 = 0.6?arrow_forward3 (Sharpe-ratio) Suppose that X1, X2,..., is a lognormal geometric random walk with parameters (μ, o²). Specifically, suppose that X = Xo exp(rı + ...Tk), where Xo is a fixed constant and r1, T2, ... are IID N(μ, o²). Find the Sharpe-ratios of rk and log(Xk) — log(Xo) respectively, assuming the risk free return is 0.arrow_forwardi need help with question 2arrow_forward
- 4 (Value-at-Risk and Expected Shortfall) Suppose X Find VaR0.02(X) and ES0.02 (X). ~ Uniform(-1, 1).arrow_forward亚 ח Variables Name avgdr employ educ exerany Label AVG ALCOHOLIC DRINKS PER DAY IN PAST 30 EMPLOYMENT STATUS EDUCATION LEVEL EXERCISE IN PAST 30 DAYSarrow_forwardVariables Name wage hours IQ KWW educ exper tenure age married black south urban sibs brthord meduc feduc Label monthly earnings average weekly hours IQ score knowledge of world work score years of education years of work experience years with current employer age in years =1 if married =1 if black =1 if live in south =1 if live in SMSA number of siblings birth order mother's education father's educationarrow_forward
- Information for questions 4 • • Please Download "wages" from Canvas (the link to this dataset is right below the HWA1 questions - it is a Microsoft excel worksheet) and store it in your favorite folder. It contains 797 observations and 16 variables. The "state" variable gives the names of the states involved in this dataset. • You need to have excel on your computer to open this dataset. i. You should use File > Import > Excel Spreadsheet etc. as done in class 3 convert this file into a Stata dataset. Once you are done, write the final STATA code that makes the transformation of an excel file to a STATA file possible. ii. Write a code that will close the log file that has been open since Question 1 part ii.arrow_forwardThe mean, variance, skewness and kurtosis of a dataset are given as - Mean = 15, Variance = 20, SKewness = 1.5 and Kurtosis = 3.5 calculate the first four raw moments. (Note- Please include as much detailed solution/steps in the solution to understand, Thank you!)arrow_forwardWrite codes to perform the functions in each of these cases i. ii. Apply cd command to tell STATA the filepath associated with your "favorite folder" (use the same name for the favorite folder that we have been using in class) Apply log using command to tell stata that you are creating a log file to record the codes and the outcomes of these codes. Make sure your log file is called loghwa1_W25.smcl. Do not forget to include the replace option. iii. Get help for the "regress" command & include a screenshot of the outcome of this code iv. V. Open a stata file stored in STATA memory called pop2000.dta Continue from question iv. Save this file in your favorite folder (current working directory) using a different name & a replace optionarrow_forward
- Are there any unusually high or low pH levels in this sample of wells?arrow_forward0 n AM RIES s of of 10 m Frequency 40 Frequency 20 20 30 10 You make two histograms from two different data sets (see the following figures), each one containing 200 observations. Which of the histograms has a smaller spread: the first or the second? 40 30 20 10 0 20 40 60 0 20 20 40 60 60 80 80 100 80 100arrow_forwardTIP the aren't, the data are not sym 11 Suppose that the average salary at a certain company is $100,000, and the median salary is $40,000. a. What do these figures tell you about the shape of the histogram of salaries at this company? b. Which measure of center is more appro- priate here? c. Suppose that the company goes through a salary negotiation. How can people on each side use these summary statistics to their advantage? 6360 be 52 PART 1 Getting Off to a Statistically Significant Sarrow_forward
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL
- Big Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin HarcourtFunctions and Change: A Modeling Approach to Coll...AlgebraISBN:9781337111348Author:Bruce Crauder, Benny Evans, Alan NoellPublisher:Cengage LearningTrigonometry (MindTap Course List)TrigonometryISBN:9781305652224Author:Charles P. McKeague, Mark D. TurnerPublisher:Cengage Learning