Stock Price Prediction Regression Analysis

Verified

Added on  2020/05/16

|14
|1805
|829
AI Summary
This assignment delves into a regression analysis used to predict stock prices. Students are tasked with interpreting the provided regression output, examining the significance of coefficients related to Rawlston Inc. stock sales and New York Stock Exchange volume, and ultimately applying the model to predict the price of Rawlston Inc. stocks given specific values for these variables.

Contribute Materials

Your contribution can guide someone’s learning journey. Share your documents today.
Document Page
Running head: STATISTICS
Statistics
Name of the student
Name of the university
Author’s note

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
1STATISTICS
Table of Contents
Answer 1.........................................................................................................................................2
Part a...........................................................................................................................................2
Part b...........................................................................................................................................2
Part c...........................................................................................................................................2
Answer 2.........................................................................................................................................3
Answer 3.........................................................................................................................................4
Part a...........................................................................................................................................4
Part b...........................................................................................................................................4
Answer 4.........................................................................................................................................5
Answer 5.........................................................................................................................................6
Answer 6.........................................................................................................................................7
Part a...........................................................................................................................................7
Part b...........................................................................................................................................7
Part c...........................................................................................................................................7
Answer 7.........................................................................................................................................8
Answer 8.......................................................................................................................................10
Part a.........................................................................................................................................10
Part b.........................................................................................................................................10
Part c.........................................................................................................................................10
Answer 9.......................................................................................................................................11
Part a.........................................................................................................................................11
Part b.........................................................................................................................................11
Part c.........................................................................................................................................11
Answer 10.....................................................................................................................................12
Part a.........................................................................................................................................12
Part b.........................................................................................................................................12
Part c.........................................................................................................................................12
Part d.........................................................................................................................................12
Document Page
2STATISTICS
Answer 1
Source DF SS MS F
Factor m-1 SS (Between) MSB =
SS(Between)/(m-1)
MSB/MSE
Error n-m SS (Error) MSE = SS(Error)/(n-m)
Total n-1 SS (Total)
Part a
Table 1: ANOVA table
Source of Variation Sum of Squares Degrees of Freedom Mean Square F
Between Treatments 90 3 30 5
Within Treatments (Error) 120 20 6
Total 210 23
From excel we find that p-value for F= 5 at 3,20 df is 0.0095. Since, p-value < -value
hence reject Null Hypothesis.
Part b
df for number of groups:
m-1 = 3
m = 3 + 1 = 4
Hence, number of groups = 4
Part c
Total number of observations
n – 1 = 20
n = 21
Hence, number of observations = 21
Document Page
3STATISTICS
Answer 2
Table 2: Coefficients of Regression Equation
Coefficien
ts
Standa
rd
Error t Stat
P-
value
Interce
pt 136.0000
13.763
1 9.8815 0.0000
Year
(t) 39.1818 2.2181
17.664
3 0.0000
The linear trend equation
Number of Units sold (000s) = 136.00 + 39.1818*Year (t)
The number of cars sold for t = 11
Number of Units sold (000s) = 136.00 + 39.1818*Year (t)
Number of Units sold (000s) = 136.00 + 39.1818*11
Number of Units sold (000s) = 136.00 + 430.9998
Number of Units sold (000s) = 566.9998 ≈ 567
From the sales trend it is seen that the sales in the 11th year would be 567 (000s)

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
4STATISTICS
Answer 3
Part a
ANOVA
df SS MS F
Significanc
e F
Regression 1 59.89 59.89 29.6241 0.0028
Residual 5 10.11 2.02
Total 6 70
At 0.01 level of significance the value of F = 29.6241 for df 1,5. From F-table it is seen that the
F-crit value for 1,5 df at
= 0.01 is 16.26. Since F-value is more than F-crit (29.6241 > 16.26)
hence we reject the Null Hypothesis.
Thus, we find that there is a statistically significant relationship between price and number of
flash drives.
Part b
ANOVA
df SS MS F
Significanc
e F
Regression 1 59.89 59.89
29.624
1 0.0028
Residual 5 10.11 2.02
Total 6 70
At 0.01 level of significance the value of F = 29.6241 for df 1,5. The corresponding p-value is
0.0028. Since p-value is less than the level of significance hence we reject the Null Hypothesis.
Thus, we find that there is a statistically significant relationship between price and number of
flash drives.
Document Page
5STATISTICS
Answer 4
Source of
Variation Sum of Squares
Degrees of
Freedom Mean Square F
Between
Treatmen
ts = 4*800 = 3200
= 5 -1
= 4 800
=
800/569.
23 = 1.4054
Within
Treatmen
ts (Error)
=10600 - 3200
= 7400
= 14 - 1
= 13
=
7400
/13
=
569.23
08
Total 10600 17
Document Page
6STATISTICS
Answer 5
To test for differences in the sales of the three stores a hypothesis was developed.
Null Hypothesis: The average sales of the three stores are equal
Alternate Hypothesis: The average sales of at least one of the stores is different
For the testing of the hypothesis 5% level of significance is used.
At 0.05 level of significance, df (2,9) F-crit is 4.256. Thus if F-value is more than F-crit then we
reject Null Hypothesis else we accept Null Hypothesis.
ANOVA
Source of
Variation SS df MS F P-value F crit
Between Groups 324 2 162 40.5 3.16E-05 4.256
Within Groups 36 9 4
Total 360 11
At 0.05 level of significance, F-value = 40.5. Since F-value is more than F-crit (40.5 >
4.256) hence we reject Null Hypothesis. Hence, we can conclude that there are differences in the
average sales of the stores.

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
7STATISTICS
Answer 6
To test for differences in the sales of the three Boxes a hypothesis was developed.
Part a
Null Hypothesis: The average sales of the three boxes are equal
Alternate Hypothesis: The average sales of at least one of the boxes is different
For the testing of the hypothesis 5% level of significance is used.
At 0.05 level of significance, df (2, 12) F-crit is 3.8853. Thus if F-value is more than F-crit then
we reject Null Hypothesis else we accept Null Hypothesis.
Part b
ANOVA
Source of
Variation SS df MS F P-value F crit
Between Groups
24467.
2 2 12233.6
53.711
1 1.03E-06
3.885
3
Within Groups 2733.2 12
227.766
7
Total
27200.
4 14
Part c
At 0.05 level of significance, F-value = 53.7111. Since F-value is more than F-crit
(53.7111 > 3.8853) hence we reject Null Hypothesis. Hence, we can conclude that there are
differences in the average sales of the three boxes.
Document Page
8STATISTICS
Answer 7
Brand A Brand B Brand C
Average Mileage 37 38 33
Sample Variance 3 4 2
Number of tyres 10 10 10
Total mileage of all the three tyres = average mileage * number of tyres
Hence, total mileage of all the three tyres = 37*10 + 38*10 + 33*10
= 370 + 380 +330
= 1080
The total number of tyres tested = 30
Hence average mileage of all the 30 tyres = 1080/30 = 36
Thus SS (between) = Number of Tyres * (Average mileage of the brand – Average
mileage of all 30 tyres)2
SS (between) = 10*(37 – 36)2+10*(38 – 36)2+10*(33 – 36)2 = 140
Similarly, SS (error) = (number of tyres-1)*variance of the brand
SS (error) = 9*3 + 9*4 + 9*2 = 81
df (Total) = total number of tyres tested – 1 = 30 – 1 = 29
df (Between) = types of tyres tested – 1 = 3 – 1 = 2
df (Error) = df (Total) – df (Between) = 29 – 2 = 27
ANOVA
Source of Variation SS df MS F P-value F crit
Between 140 2 70 23.3333 0.0000 3.3541
Error 81 27 3.000
Total 221 29
Document Page
9STATISTICS
F-value for df 2, 27 is 23.333. F-crit for df 2, 27 at 0.05 level of significance is 3.3541.
Since F-value is more than F-crit (23.333 > 3.3541) hence Null Hypothesis is rejected.
Thus, we find that there is a statistically significant differences in the mileage of the
tyres.

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
10STATISTICS
Answer 8
Part a
Day Tips Simple Moving average
1 18
2 22 =(18+22+17)/3 19
3 17 =(22+17+18)/3 19
4 18 =(17+18+28)/3 21
5 28 =(18+28+20)/3 22
6 20 =(28+20+12)/3 20
7 12
Part b
Days (x) (Y) Y' =Y-Y' =(Y-Y')2
1 19 19.2 -0.2 0.04
2 19 19.7 -0.7 0.49
3 21 20.2 0.8 0.64
4 22 20.7 1.3 1.69
5 20 21.2 -1.2 1.44
0.0 0.86
The mean square error (MSE) of the amount of tip at the car park is 0.86
Part c
The mean absolute deviation (MAD) of the amount of tip at the car park is 0.00
Document Page
11STATISTICS
Answer 9
Part a
Source of
Variation Degrees of Freedom Sum of Squares Mean Square F
Regression 4 283940.60 70985.15 2.06
Error 18 621735.14 34540.84
Total 22 905675.74
The coefficient of determination is the ratio of Mean Square (Regression) to Sum of
Squares (Total)
The coefficient of determination R2 = 70985.15/905675.74 = 0.0784
The value of coefficient of determination indicates that 7.84% of the variations in
dependent variable (Very Fresh Juice Company) can be predicted from the four independent
variables (Price per unit, Competitor's price, advertising and type of container).
Part b
At df 4, 18 for 0.05 level of significance F-crit = 2.9277.
Since, F-value < F-crit (2.06 < 2.9277) hence we do not reject Null Hypothesis.
Thus, it can be inferred that the model is not statistically significant.
Part c
For regression the sample size is given as: Total (ANOVA table) + 1 = 22 + 1 = 23
Document Page
12STATISTICS
Answer 10
ANOVA
df SS MS F
Significanc
e F
Regression 2 118.8474
59.423
7
40.921
6 0.0000
Residual 9 13.0692 1.4521
Total 11 131.9167
Coefficient
s
Standard
Error t Stat
P-
value
Intercept 118.5059 33.5753 3.5296 0.0064
x1 -0.0163 0.0315 -0.5171 0.6176
x2 -1.5726 0.3590 -4.3807 0.0018
Part a
From the regression output the price of the stock can be predicted as:
y = 118.5059 – 0.0163*x1 – 1.5726*x2
Part b
The coefficients of the regression suggest that:
1. Keeping the volume of exchange (in millions) on the New York Stock Exchange constant
for every 100 stocks of Rawlston Inc. sold the prices of Rawlston Inc. decreases by
0.0163
2. Keeping the number of stocks sold of Rawlston Inc. constant for every one-million
exchange in the New York Stock Exchange the prices of Rawlston Inc. decreases by
1.5726
Part c
At 95% confidence level
1. The p-value for coefficient of Rawlston Inc (x1) 0.6176. Since p-value > confidence level
hence, the coefficient is statistically not significant.
2. The p-value for coefficient of New York Stock Exchange (x2) 0.0018. Since p-value <
confidence level hence, the coefficient is statistically significant.
Part d
The number of stocks of Rawlston Inc. sold = 94500 = 945 (100s)
The volume of exchange at the New York Stock Exchange = 16 million

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
13STATISTICS
y = 118.5059 – 0.0163*x1 – 1.5726*x2
= 118.5059 – 0.0163*945 – 1.5726*16
= 118.5059 – 15.4035 – 25.1616 = 77.9408
Hence, stock prices of Rawlston Inc = 77.9408
1 out of 14
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]

Your All-in-One AI-Powered Toolkit for Academic Success.

Available 24*7 on WhatsApp / Email

[object Object]