Docsity

Regression, Probability - Elementary Statistics – Study Materials | MATH 2200, Study notes of Statistics

Toggle sidebar
bg1
Ch. 8 #21 a)
get data off web at http://www.math.armstrong.edu/faculty/hoffman/m2200sp06/home.html
or type in and use XL-regression; age(yr) as x-axis and price($) as y. Do red-yellow-blue chart wizard
and XY(scatter).
b) the older the car the
less you pay…decrease
is about
linear
c) I see a line, so yes
d) R-squared is
r*r which is -.945* -.945
= .894
To do this by worksheet
method..first use XL and
Tools-Data Analysis-
Descriptive Statistics to
find means and st.devs.
find z-scores for year
(col 3)
And price (col 4) then
multiply those cols for Col. 5. add col. 5 and divide its sum by (#pairs – 1) which is 16.
e) R-squared means that 89.4% of the variability in price can be explained by the year (age) of the car.
f) some cars will have extra options or will be in better shape and then will command a higher price.
g) XL-regression price is Y (response) and year is X (explanatory).
Regression Statistics
Multiple R 0.945
R Square 0.894
Adjusted R Square 0.887
Standard Error 1220.548
Observations 17.000
ANOVA
df SS MS F Significance F
Regression 1.000 187830720.000 187830720.000 126.083 0.000
Residual 15.000 22346074.118 1489738.275
Total 16.000 210176794.118
Coefficients Standard Error t Stat P-value
Intercept 12319.588 575.680 21.400 0.000
X Variable 1 -924.000 82.289 -11.229 0.000
Click on your XY(scattter) and then on Chart on the top toolbar and then on
‘add a trendline’ to see the regression line. By hand just pick 2 X values and ‘plug’ them into your
regression line to generate 2 points on the line.
Prices Advertised ($)
0
2000
4000
6000
8000
10000
12000
14000
0 5 10 15
Prices Advertised ($)
pf3
pf4

Partial preview of the text

Download Regression, Probability - Elementary Statistics – Study Materials | MATH 2200 and more Study notes Statistics in PDF only on Docsity!

Ch. 8 #21 a) get data off web at http://www.math.armstrong.edu/faculty/hoffman/m2200sp06/home.html or type in and use XL-regression; age(yr) as x-axis and price($) as y. Do red-yellow-blue chart wizard and XY(scatter). b) the older the car the less you pay…decrease is about linear c) I see a line, so yes d) R-squared is rr which is -.945 -. =. To do this by worksheet method..first use XL and Tools-Data Analysis- Descriptive Statistics to find means and st.devs. find z-scores for year (col 3) And price (col 4) then multiply those cols for Col. 5. add col. 5 and divide its sum by (#pairs – 1) which is 16. e) R-squared means that 89.4% of the variability in price can be explained by the year (age) of the car. f) some cars will have extra options or will be in better shape and then will command a higher price. g) XL-regression price is Y (response) and year is X (explanatory). Regression Statistics Multiple R 0. R Square 0. Adjusted R Square 0. Standard Error 1220. Observations 17. ANOVA df SS MS F Significance F Regression 1.000 187830720.000 187830720.000 126.083 0. Residual 15.000 22346074.118 1489738. Total 16.000 210176794. Coefficients Standard Error t Stat P-value Intercept 12319.588 575.680 21.400 0. X Variable 1 -924.000 82.289 -11.229 0. Click on your XY(scattter) and then on Chart on the top toolbar and then on ‘add a trendline’ to see the regression line. By hand just pick 2 X values and ‘plug’ them into your regression line to generate 2 points on the line. Prices Advertised ($) 0 2000 4000 6000 8000 10000 12000 14000 0 5 10 15 Prices Advertised ($)

year PRICE z-yr z-$ product

 - 1 12995 -1.351.715998 -2. - 1 10950 -1.351.151762 -1. - 2 10495 -1.081.026222 -1. - 3 10995 -0.811.164177 -0. - 3 10995 -0.811.164177 -0. - 4 6995 -0.540.060537 -0. - 4 7990 -0.540.335068 -0. - 5 8700 -0.270.530964 -0. - 5 6995 -0.270.060537 -0. - 6 5990 0.00 -0.21675 0. - 6 4995 0.00 -0.49128 0. - 9 3200 0.81 -0.98654 -0. - 9 2250 0.81 -1.24866 -1. - 9 3995 0.81 -0.76719 -0. 
  • 11 2900 1.35 -1.06931 -1.
  • 11 2995 1.35 -1.0431 -1.
  • 13 1750 1.89 -1.38661 -2.
    • 6 6775.59 -15.
  • 3.73624.37 -0.

For the pair (1, 12995) first predict (find the point on the regression line) by using the formula price = 12319.60 – 924.00 * year. Here that is 12319.60 – 924.00 = 11395.60 (called y-hat or price-hat); then the error is the actual price – predicted which is 12995 – 11395.60 = 1599. l) if I plot in (15, 4000) and (20, 8000) since old corvettes are worth a lot these values make sense, but I do not see a good straight line now. So I should not do a regression. Note that I mixed 2 different sets of data which is usually a bad idea if you are trying to get a good model. m) if I plot in (0, 35000) …must be a corvette…then the regression analysis will try to include that odd point and the line will “lift” to meet it. This seems like an outlier and should be investigated. n) again, mixing two very different data sets can be a bad idea. Run 2 separate regressions. Ch. 14 #13 a) 1) 1-(.2+.2+.1+.1+.1)=.3 2) .2 + .1 =.3 3) 1 - .1 = .9 4) 0 b) although don’t say with or without replacement let us assume that there are so many M&Ms that if we choose 1 out of millions then not putting it back makes next draw 1 out of millions minus 1… such a small difference we can ignore it and say it is with replacement. 1) P(Brn and Brn and Brn) = .3 * .3 * .3 = .027 (note: conditioning does not matter, i.e. independent) 2) P(not red and not red and red)=.8.8.2=.128 3) .8.8.8 = .512 4) 1-P(not green and not green and not green) = 1-.9.9.9=.271 #15 a) disjoint b) independent c) no, if disjoint and one event happens then I know so much more about whether the other will happen…it can not! So they are dependent. #24 I would have to not lose on all six, i.e. 1 – (.9.9.9.9.9.9)=1-.53144=. ch 15 #3 a) .64+.21-.17=.68 b) .32 c). #9 a) .11 b) .11+.16=.27 c) .11/.27 = .407 d) .11/(.11+.21)=. #15 assume done without replacement, try a tree a) (7/12)(6/11)=42/132=. b) 1-((5/12)(4/11)(3/10))= 1 –(60/1320)=1260/1320=. c) (7/12)(6/11)(5/10)(4/9)= 840/11880=. d) (5/12)(4/11)(3/10)(2/9)(7/8)=840/95040=. #34. P(T and L)=P(L|T)P(T)=.15.95=. P(F and L)=P(L| F)P(F)=.65*.05=.0325 P(T|L)=.1425/(.1425+.0325) =. Ch 16 #7 Money Prob prod expected profit is sum of prod 50000 .3 15000 ie. $27, 20000 .6 12000 wait on #33 and #35 till next test 0 .1 0