Help with Statistics
Statistics Questions to Answer.doc.rtf
2
* Note: An Excel Workbook has also been uploaded. Within that workbook are 8 XLS files which are included in 8 separate tabs . These files will be needed to answer most of the questions. This work is due Friday, September 19 th
Q1) Fill in the blanks (show your work).
Variable
N
Mean
Median
TrMean
StDev
haircut
171
23.17
17.00
21.14
18.20
sleep
171
6.6477
7.0000
6.6487
0.8396
age
171
27.421
27.000
27.098
3.646
Correlations: haircut, sleep, age
haircut
sleep
sleep
-0.117
age
0.062
(1)
Covariances: haircut, sleep, age
haircut
sleep
age
haircut
(2)_
sleep
-1.79232
0.70491
age
4.12314
-0.45372
13.29226
Blank 1 =
Blank 2 =
Q2) Is the following statement correct? Explain why or why not.
“A correlation of 0 implies that no relationship exists between the two variables under study.”
Q3) Does how long children remain at the lunch table help predict how much they eat? The data in file lunchtime.xls (File is in Tab#1 of Excel Workbook) gives information on 20 toddlers observed over several months at a nursery school. “Time” is the average number of minutes a child spent at the table when lunch was served. “Calories” is the average number of calories the child consumed during lunch, calculated from careful observation of what the child ate each day.
Find the correlation for these data.
Suppose we were to record time at the table in hours rather than in minutes. How would the correlation change? Why?
Write a sentence or two explaining what this correlation means for these data. Remember to write about food consumption by toddlers rather than about correlation coefficients.
One analyst concluded, “It is clear from this correlation that toddlers who spend more time at the table eat less. Evidently something about being at the table causes them to lose their appetites.” Explain why this explanation is not an appropriate conclusion from what we know about the data.
Q4) In file bach.xls (File is in Tab#2 of Excel Workbook) is state by state data (plus Washington, DC) on percentage of residents over he age of 25 who have at least a bachelor’s degree and median salary.
What is the correlation between these two variables?
Produce a scatter plot of the data with percentage with bachelor’s degree on the X axis. Notice the outlier? Who does that point belong to? Can you think of any reasons why this location might have a high percentage of residents with a bachelor’s degree but a lower than expected median income?
Remove the outlier point found in (b) and recalculate the correlation. How do the two correlation values compare? What does this illustrate about correlation?
Q5 ) The mean rate of return and standard deviation of Stocks 1 and 2 are given below:
Stock 1 Stock 2
Mean 10 % 20 %
Standard deviation 20 % 30 %
Given that the correlation between stocks is -1.0, find risk (standard deviation) and (mean) return of a portfolio that that 60% in Stock 1 and 40% in stock 2.
Given that the correlation between stocks is 0, find risk (standard deviation) and (mean) return of a portfolio that that 60% in Stock 1 and 40% in stock 2.
Given that the correlation between stocks is 1, find risk (standard deviation) and (mean) return of a portfolio that that 60% in Stock 1 and 40% in stock 2.
What appears to be the relationship between correlation and risk?
Q6) The file portfolioprob.xls (File is in Tab#3 of Excel Workbook) has about 3 years
of monthly returns data for GPS, BBY and MRK. That is, each row represents the
monthly return for each of the three stocks.
What company does each symbol represent? Go to finance.yahoo.com to find out.
What is the average monthly return for each of the three stocks ? What is the standard deviation for the returns of the three stocks ? What is the correlation between GPS a nd B B Y , G P S a nd M R K a nd B B Y a nd M R K ?
Create a side by side boxplot for these three stocks. How do they compare? Which looks the riskiest, which the safest?
Give the expected return and standard deviation of all the possible two stock po r t f olios (G PS , B B Y) , ( G PS ,M R K) , ( B B Y ,M R K ) w ith e q u a l a mounts i nv e st e d in each stock (weights of .5 for each stock).
Rank the three portfolios based on their standard deviation. How do they compare with holding one of the individual stocks ?
Q7) In class we showed how one could split a data set into two groups using the median of the
X values, then find points ( X1,Y1 )
and
( X 2 ,Y2 ) . We then fit a line between these two
points using the familiar
Y - Y1 = m( X - X1 )
formula where
m = (Y2 - Y1 ) / ( X 2 - X1 ) .
This can be done in Stata as follows (there are fancier ways to do this in Stata-we’re just showing you one way below).
For this example we will use the data set onlineedu.xls (File is in Tab#4 of Excel
Workbook) One of the biggest changes in higher education in recent years has been the
growth of online universities. The Online Education Database is an independent
organization whose mission is to build a comprehensive list of the top accredited
online colleges. The data set onlineedu.xls shows the retention rate (%) and the
graduation rate (%) for 29 online colleges (Online Education Database website,
January 2009). We want to model graduation rate as a function of retention rate.
Load the data into Stata (of course!) (use File -> Import -> Excel File).
Find the median of the X’s (retention rate)
. summarize rr,detail
RR
-------------------------------------------------------------
1%
Percentiles
4
Smallest
4
5%
7
7
10%
29
29
Obs
29
25%
45
33
Sum of Wgt.
29
50%
60
Mean
57.41379
75%
69
Largest
78
Std. Dev.
23.24023
90%
95
95
Variance
540.1084
95%
100
100
Skewness
-.2936542
99%
100
100
Kurtosis
3.185897
So the median of the X’s equals 60.
Find the means for values below the median
. summarize rr gr if rr<=60,detail
RR
-------------------------------------------------------------
1%
Percentiles
4
Smallest
4
5%
4
7
10%
7
29
Obs
15
25%
33
33
Sum of Wgt.
15
50%
45
Mean
40.6
75%
51
Largest
51
Std. Dev.
16.826
90%
60
54
Variance
283.1143
95%
60
60
Skewness
-1.069821
99%
60
60
Kurtosis
3.279719
GR
-------------------------------------------------------------
1%
Percentiles
25
Smallest
25
5%
25
25
10%
25
28
Obs
15
25%
32
32
Sum of Wgt.
15
50%
36
Mean
37.66667
75%
45
Largest
45
Std. Dev.
8.582929
90%
48
47
Variance
73.66667
95%
53
48
Skewness
.0990315
99%
53
53
Kurtosis
1.98994
So ( X1,Y1 ) =(40.6,37.67)
Find the means for values above the median
. summarize rr gr if rr>60,detail
RR
-------------------------------------------------------------
1%
Percentiles
62
Smallest
62
5%
62
63
10%
63
63
Obs
14
25%
65
65
Sum of Wgt.
14
50%
71
Mean
75.42857
75%
78
Largest
78
Std. Dev.
13.51759
90%
100
95
Variance
182.7253
95%
100
100
Skewness
.9216191
99%
100
100
Kurtosis
2.425894
GR
-------------------------------------------------------------
1%
Percentiles
34
Smallest
34
5%
34
36
10%
36
36
Obs
14
25%
37
37
Sum of Wgt.
14
50%
48
Mean
46.14286
75%
55
Largest
55
Std. Dev.
9.50188
90%
57
56
Variance
90.28571
95%
61
57
Skewness
.0594538
99%
61
61
Kurtosis
1.437486
So ( X 2 ,Y2 ) =(75.43,46.14)
Find the line between the points ( X 1 , Y 1 ) and ( X 2 , Y 2 ) .
( X1,Y1 ) =(40.6,37.67)
( X 2 ,Y2 ) =(75.43,46.14)
m = (Y
- Y ) / ( X
- X ) = (46.14 - 37.67) = 0.24
2 1 2 1
Y - Y1 = m( X - X1 )
(75.43 - 40.6)
Y = 37.67 + 0.24( X - 40.6) = 27.93 + 0.24X
So the equation of the fitted line is Y=27.93+0.24X
Calculate the fitted values
. generate fit1 = 27.93+0.24*rr
Plot the data with the fitted line
You can graph your resulting line in Stata on top of the scatter plot as follows (the || command in Stata lets one stack graphs on top of each other):
0
20
40
60
80
100
RR
GR
fit1
40
50
60
. scatter gr rr || line fit1 rr
20
30
Report the equation of this new line.
Compare this new line to the one previously found using the means in each sub group. Are the lines about the same or different?
Create a plot that shows the data, and the two lines on it. Make sure it’s clear which line is which.
Q8) The owner of a moving company typically has his most experienced manager predict the total number of labor hours that will be required to complete an upcoming move. This approach has proved useful in the past, but the owner has the business objective of developing a more accurate method of predicting labor hours (Y). In a preliminary effort to provide a more accurate method, the owner has decided to use the number of cubic feet moved as the independent variable (X) and has collected data for 36 moves in which the origin and destination were within the borough of Manhattan in New York City and in which the travel time was an insignificant portion of the hours worked. The data are stored in moving.xls (File is in Tab#5 of Excel Workbook) Use Stata to answer the questions below.
Create a scatter diagram of the data.
Fit a least squares regression line to this data and interpret the slope (stata command reg ).
Fit a least absolute deviations regression line to this data and interpret the slope (stata command qreg ).
Are the lines produced by reg and qreg very different? Compare them.
Predict the labor hours for a 500 cubic feet move using the estimated regression equation developed in part (b).
Q9) A nutritionist was interested in developing a model that describes the relation between
the amount of fat (in grams) in cheeseburgers at fastfood restaurants and the number of
calories. She obtains the following data from the Web sites of the companies. The data is
in cheeseburger.xls (File is in Tab#6 of Excel Workbook)
The researcher wants to use fat content to predict calories. Which is the explanatory variable?
Draw a scatter diagram of the data.
Fit a regression model and interpret the slope and y-intercept. Is the value of the y-intercept meaningful?
Predict the number of calories in a sandwich that has 30 grams of fat.
A cheeseburger from Sonic has 700 calories and 42 grams of fat. Is the number of calories for this sandwich above or below average among all sandwiches with 42 grams?
14
Q10) The table below shows the number of live births per 1000 women aged 15–44 years
in the United States, starting in 1965. (National Center for Health Statistics,
ww w .cdc.gov/nchs/).
Make a scatterplot and describe the general trend in Birthrates. (Enter Year as years since 1900: 65, 70, 75, etc.) The data is in file birthrates.xls
Find the equation of the regression line.
Interpret the slope of the line.
The table gives rates only at 5-year intervals. Estimate what the rate was in 1978.
In 1978 the birthrate was actually 15.0. How close did your model come?
In 2009, the birthrate was 13.5. How close did your model come?
Predict the Birthrate for 2025. Comment on your faith in this prediction.
Q11) A stock's (or mutual fund's) b (beta) measures the relationship between the stock's rate of
return and the average rate of return for the market as a whole. Now beta is easy to compute.
It is the slope from a simple linear regression [what we refer to as b l], where the dependent
variable (Y) is the stock's rate of return and the independent variable is the market rate of return
(X) (usually taken as the rate of return of the S&P 500 or the Nasdaq).
Stocks with beta values greater than 1 are considered ``aggressive'' and stocks with beta less
than 1 are considered defensive. A stock with a beta value near 1 is called a neutral security.
As an example, we have monthly returns on CAT (Caterpillar, Inc) and the S&P 500 index (denoted the market index) and perform a regression analysis:
In this example we find that b =1.88656 so CAT is more risky than the market.
If you go to finance.yahoo.com, you can enter in a stock symbol and along with the current price of the stock and some other financial values, you will obtain the Beta fore that stock (its such a popular measure). It is a little different than ours since they are using a slightly different time period, but it is close.
Q12) The article at http://www.investopedia.com/stock-analysis/2011/5-high-beta-stocks-to-watch- adsk-aks-dow-gci-fitb0425.aspx (also on the class website) discusses (from 2011) five high beta stocks that might be useful for your portfolio (IF you believe in beta and IF you think the market is going up! If the market is going down holding high beta stocks can be very painful!). Here is the table from the article:
Let’s first see if we can get close to these numbers (everyone calculates beta slightly differently darn it! That to me is another strike against beta.). The usual method is to use three years of monthly returns. In Stat 107 we spend more time discussing the pros and cons of beta.
Using the data in file beta_test_old.xls , (File is in Tab#7 of Excel Workbook ) run five regressions, each time using SPY as the explanatory variable (x variable), and each stock above as the response variable (y variable). That is, calculate the beta for each stock using our data. Are our calculated betas close to the table above?
Beta is a measure of risk of a stock; it is one of numerous measures finance professionals can use. Another measure would simply be the standard deviation of returns of each stock. Rank the stocks above based on their standard deviation, from highest to lowest. Is the order the same as if you ranked them from highest to lowest beta?
Picking stocks based on beta is not the best idea in the world. For one thing, betas can be very time dependent. In file beta_test_new.xls (File is in Tab#8 of Excel Workbook ) is data on the same stocks, but instead of from 2008-2011 (from the article), it is now 2010-2013. Calculate the five betas again and comment on how they have changed. Does this make you think beta is a good or bad measure to use for picking stocks? If a stock’s beta stayed about the same, would that make the stock more attractive to you? Briefly explain.
<problem continues on the next page>
Beta is whack! It has some good uses, but it can be very time dependent and data dependent. To make you very wary of financial data, we will see what two major financial web sites think the beta for Abercrombie & Fitch (ANF) is.
For Yahoo, go to finance.yahoo.com and enter ANF and find the reported Beta.
For Google, go to finance.google.com and enter ANF. Beta will be shown automatically.
Are you surprised? Which beta is correct? Why do you think they are different? Briefly explain.
END
XLS Files needed to answer some questions.xls
1 Lunchtime
| Calories | Time |
| 485 | 21.4 |
| 511 | 30.8 |
| 477 | 37.7 |
| 468 | 33.5 |
| 435 | 32.8 |
| 449 | 39.5 |
| 521 | 22.8 |
| 443 | 34.1 |
| 492 | 33.9 |
| 466 | 43.8 |
| 462 | 42.4 |
| 421 | 43.1 |
| 517 | 29.2 |
| 449 | 31.3 |
| 502 | 28.6 |
| 448 | 32.9 |
| 493 | 30.6 |
| 451 | 35.1 |
| 456 | 33 |
| 419 | 43.7 |
2 Bach
| state | bach | income |
| Alabama | 21.4 | 42950 |
| Alaska | 26 | 63254 |
| Arizona | 25.3 | 48971 |
| Arkansas | 19.3 | 39854 |
| California | 29.5 | 58592 |
| Colorado | 35 | 61479 |
| Connecticut | 34.7 | 69160 |
| Delaware | 26.1 | 56926 |
| District of Columbia | 47.5 | 59573 |
| Florida | 25.8 | 47566 |
| Georgia | 27.1 | 46244 |
| Hawaii | 29.2 | 61219 |
| Idaho | 24.5 | 49736 |
| Illinois | 29.5 | 54982 |
| Indiana | 22.1 | 47974 |
| Iowa | 24.3 | 52836 |
| Kansas | 28.8 | 48056 |
| Kentucky | 20 | 44455 |
| Louisiana | 20.4 | 44801 |
| Maine | 26.7 | 50538 |
| Maryland | 35.2 | 68117 |
| Massachusetts | 37.9 | 63551 |
| Michigan | 24.7 | 48947 |
| Minnesota | 31 | 57453 |
| Mississippi | 18.9 | 38852 |
| Missouri | 24.5 | 50105 |
| Montana | 27 | 43384 |
| Nebraska | 27.5 | 54062 |
| Nevada | 21.8 | 54421 |
| New Hampshire | 32.5 | 69323 |
| New Jersey | 33.9 | 67460 |
| New Mexico | 24.8 | 47080 |
| New York | 31.7 | 53062 |
| North Carolina | 25.6 | 45476 |
| North Dakota | 25.7 | 53384 |
| Ohio | 24.1 | 48652 |
| Oklahoma | 22.8 | 47305 |
| Oregon | 28.3 | 52886 |
| Pennsylvania | 25.8 | 51118 |
| Rhode Island | 29.8 | 54554 |
| South Carolina | 23.5 | 43991 |
| South Dakota | 25 | 48279 |
| Tennessee | 21.8 | 42005 |
| Texas | 25.2 | 50240 |
| Utah | 28.7 | 61137 |
| Vermont | 33.6 | 57440 |
| Virginia | 33.6 | 64198 |
| Washington | 30.3 | 61894 |
| West Virginia | 17.3 | 44190 |
| Wisconsin | 25.4 | 53888 |
| Wyoming | 23.4 | 55473 |
3 Portfolio Prob
| GPS | BBY | MRK |
| 0.1637931034 | 0.125751073 | 0.0550458716 |
| -0.0111111111 | 0.0327868852 | 0.0362318841 |
| -0.0074906367 | -0.1373200443 | 0.0545454545 |
| 0.023180593 | 0.0248181429 | 0.0151193634 |
| 0.2307692308 | 0.0313152401 | -0.0026130128 |
| 0.1190068493 | -0.0412955466 | 0.0060256746 |
| 0.090283091 | -0.0679898649 | 0.021875 |
| -0.0701754386 | -0.1517897599 | -0.0423037717 |
| 0.0324528302 | 0.1196581197 | 0.1109632783 |
| 0.0778508772 | -0.1369274809 | 0.0579640719 |
| 0.2146490336 | -0.0193477059 | -0.0253565769 |
| -0.0011166946 | -0.0304396843 | 0.0476190476 |
| -0.0016769145 | -0.1156976744 | 0.011751663 |
| -0.0352743561 | -0.1380670611 | -0.0291474907 |
| -0.099245502 | -0.0961098398 | -0.0758465011 |
| 0.0528350515 | 0.3721518987 | 0.0564240352 |
| 0.0073439412 | 0.0092250923 | -0.0120231214 |
| 0.0753341434 | 0.3497867154 | 0.0344020594 |
| 0.0731638418 | 0.1733634312 | 0.0633484163 |
| 0.0673861543 | 0.0600230858 | -0.0063829787 |
| 0.0290998767 | -0.0079854809 | -0.0053533191 |
| 0.0999281093 | 0.1009879254 | 0.0370290635 |
| -0.1189542484 | 0.1964107677 | -0.0182686319 |
| -0.0039564787 | 0.0416666667 | 0.0067667583 |
| -0.0816782522 | 0.1413333333 | -0.0529300567 |
| 0.1075966477 | -0.0525700935 | 0.1051230872 |
| -0.0461313156 | -0.0165228113 | 0.004415011 |
| -0.0255885363 | -0.4097291876 | 0.0583416583 |
| 0.1488970588 | 0.1312659303 | 0.0758920143 |
| -0.0843428571 | -0.0082613594 | -0.0038603264 |
| -0.0189715427 | -0.0181749337 | 0.0315307381 |
| 0.0491094148 | 0.0667180872 | -0.0119535519 |
| 0.0082464225 | 0.1211135213 | -0.000172831 |
| -0.0351214818 | -0.0412770074 | -0.019187554 |
| 0.1505858888 | 0.072653885 | 0.0593937258 |
| -0.0403033586 | 0.0542489809 | -0.0093162535 |
4 Online.EDU
| College | RR(%) | GR(%) |
| Western International University | 7 | 25 |
| South University | 51 | 25 |
| University of Phoenix | 4 | 28 |
| American InterContinental University | 29 | 32 |
| Franklin University | 33 | 33 |
| Devry University | 47 | 33 |
| Tiffin University | 63 | 34 |
| Post University | 45 | 36 |
| Peirce College | 60 | 36 |
| Everest University | 62 | 36 |
| Upper Iowa University | 67 | 36 |
| Dickinson State University | 65 | 37 |
| Western Governors University | 78 | 37 |
| Kaplan University | 75 | 38 |
| Salem International University | 54 | 39 |
| Ashford University | 45 | 41 |
| ITT Technical Institute | 38 | 44 |
| Berkeley College | 51 | 45 |
| Grand Canyon University | 69 | 46 |
| Nova Southeastern University | 60 | 47 |
| Westwood College | 37 | 48 |
| Everglades University | 63 | 50 |
| Liberty University | 73 | 51 |
| LeTourneau University | 78 | 52 |
| Rasmussen College | 48 | 53 |
| Keiser University | 95 | 55 |
| Herzing College | 68 | 56 |
| National University | 100 | 57 |
| Florida National College | 100 | 61 |
5 Moving
| Hours | Feet | Large | Elevator |
| 24 | 545 | 3 | Yes |
| 13.5 | 400 | 2 | Yes |
| 26.25 | 562 | 2 | No |
| 25 | 540 | 2 | No |
| 9 | 220 | 1 | Yes |
| 20 | 344 | 3 | Yes |
| 22 | 569 | 2 | Yes |
| 11.25 | 340 | 1 | Yes |
| 50 | 900 | 6 | Yes |
| 12 | 285 | 1 | Yes |
| 38.75 | 865 | 4 | Yes |
| 40 | 831 | 4 | Yes |
| 19.5 | 344 | 3 | Yes |
| 18 | 360 | 2 | Yes |
| 28 | 750 | 3 | Yes |
| 27 | 650 | 2 | Yes |
| 21 | 415 | 2 | No |
| 15 | 275 | 2 | Yes |
| 25 | 557 | 2 | Yes |
| 45 | 1028 | 5 | Yes |
| 29 | 793 | 4 | Yes |
| 21 | 523 | 3 | Yes |
| 22 | 564 | 3 | Yes |
| 16.5 | 312 | 2 | Yes |
| 37 | 757 | 3 | No |
| 32 | 600 | 3 | No |
| 34 | 796 | 3 | Yes |
| 25 | 577 | 3 | Yes |
| 31 | 500 | 4 | Yes |
| 24 | 695 | 3 | Yes |
| 40 | 1054 | 4 | Yes |
| 27 | 486 | 3 | Yes |
| 18 | 442 | 2 | Yes |
| 62.5 | 1249 | 5 | No |
| 53.75 | 995 | 6 | Yes |
| 79.5 | 1397 | 7 | No |
6 Cheeseburger
| fat | calories |
| 20 | 430 |
| 39 | 750 |
| 27 | 480 |
| 29 | 540 |
| 26 | 510 |
| 47 | 760 |
| 35 | 600 |
| 38 | 632 |
7 beta_test_old
| SPY | ADSK | AKS | DOW | GCI | FITB |
| -0.062512796 | -0.1710314263 | 0.0226980728 | -0.0147883733 | -0.0530769231 | 0.0861723447 |
| -0.0258426148 | -0.2444714459 | 0.101758794 | -0.0245859213 | -0.1835905768 | -0.1549815498 |
| -0.0138245404 | 0.0125442264 | 0.0342075257 | -0.0222870788 | -0.0364842454 | -0.0864628821 |
| 0.0476623475 | 0.207115629 | 0.1536199926 | 0.0895522388 | -0.0148020654 | 0.0243785851 |
| 0.0151164473 | 0.0831578947 | 0.1309334183 | 0.0062266501 | 0.0066387142 | -0.1273915072 |
| -0.0881368009 | -0.1785714286 | -0.0281690141 | -0.1358910891 | -0.2478306144 | -0.4556149733 |
| -0.008985779 | -0.0567879326 | -0.0797101449 | -0.0458321398 | -0.1638209506 | 0.3722986248 |
| 0.015453757 | 0.1141423644 | -0.171496063 | 0.0246172321 | -0.0182119205 | 0.12956335 |
| -0.0993865983 | -0.0557275542 | -0.5073180004 | -0.0688543803 | -0.0494659921 | -0.2458808619 |
| -0.165186654 | -0.364828614 | -0.462962963 | -0.1604782882 | -0.3494973389 | -0.0882352941 |
| -0.0696065269 | -0.2214922572 | -0.433908046 | -0.3047226387 | -0.2081818182 | -0.1188940092 |
| 0.0016650017 | 0.1844484629 | 0.1827411168 | -0.1865229111 | -0.0815154994 | -0.1359832636 |
| -0.0821143617 | -0.1572519084 | -0.1341201717 | -0.2319416832 | -0.27875 | -0.710653753 |
| -0.1074489919 | -0.2336956522 | -0.2342007435 | -0.3822260569 | -0.43847487 | -0.1171548117 |
| 0.0756120655 | 0.3246650906 | 0.1521035599 | 0.1773743017 | -0.3209876543 | 0.3838862559 |
| 0.0993460765 | 0.1861986913 | 0.827247191 | 0.8979833926 | 0.7772727273 | 0.404109589 |
| 0.0584534431 | 0.0762286861 | 0.0991544965 | 0.105 | 0.2199488491 | 0.6829268293 |
| -0.0062682373 | -0.1155638397 | 0.341958042 | -0.0871040724 | -0.251572327 | 0.0289855072 |
| 0.074605764 | 0.1491043203 | 0.0250130276 | 0.3116480793 | 0.9607843137 | 0.338028169 |
| 0.036939581 | 0.0742778542 | 0.0330452466 | 0.0056683987 | 0.2342857143 | 0.1515789474 |
| 0.0305485067 | 0.01579172 | -0.0290354331 | 0.2245185533 | 0.4479166667 | -0.0740402194 |
| -0.0192253054 | 0.0474789916 | -0.1956411556 | -0.0993479095 | -0.2150279776 | -0.1174728529 |
| 0.061606798 | -0.0593662254 | 0.2602394455 | 0.1831345826 | 0.0071283096 | 0.1275167785 |
| 0.0136438057 | 0.0835820896 | 0.0675 | -0.005399568 | 0.5015166835 | -0.0327380952 |
| -0.0363424264 | -0.0637544274 | -0.0473067916 | -0.0195439739 | 0.0875420875 | 0.2758974359 |
| 0.0311947109 | 0.1719209752 | 0.0585054081 | 0.0450350683 | -0.0619195046 | -0.018488746 |
| 0.0565288062 | 0.0538020086 | 0.0617742685 | 0.0445072413 | 0.0904290429 | 0.1105651106 |
| 0.0154700855 | 0.1569094622 | -0.2672790901 | 0.0426107541 | 0.0302663438 | 0.1002949853 |
| -0.0794545914 | -0.1391585761 | -0.1068656716 | -0.127148881 | -0.0869565217 | -0.1286863271 |
| -0.056231142 | -0.1674641148 | -0.2032085561 | -0.1185432925 | -0.1338481338 | -0.0546153846 |
| 0.0683007169 | 0.2126436782 | 0.1736577181 | 0.1521922428 | -0.0208023774 | 0.0341741253 |
| -0.0449805024 | -0.0612728504 | -0.0893495354 | -0.108305891 | -0.0827010622 | -0.1313926042 |
| 0.08375273 | 0.1529029931 | 0.0839874411 | 0.12679524 | 0.011579818 | 0.089673913 |
| 0.0382020503 | 0.1323115421 | -0.0883417813 | 0.1230881282 | -0.0310711365 | 0.0440565254 |
| 0 | -0.0251381215 | 0.0548054011 | 0.0110246433 | 0.1063291139 | -0.048566879 |
| 0.0612709933 | 0.0824596203 | 0.2326807229 | 0.0949326491 | 0.1510297483 | 0.2284518828 |
8 beta_test_new
| SPY | ADSK | AKS | DOW | GCI | FITB |
| 0.0311947109 | 0.1719209752 | 0.0585054081 | 0.0450350683 | -0.0619195046 | -0.018488746 |
| 0.0565288062 | 0.0538020086 | 0.0617742685 | 0.0445072413 | 0.0904290429 | 0.1105651106 |
| 0.0154700855 | 0.1569094622 | -0.2672790901 | 0.0426107541 | 0.0302663438 | 0.1002949853 |
| -0.0794545914 | -0.1391585761 | -0.1068656716 | -0.127148881 | -0.0869565217 | -0.1286863271 |
| -0.056231142 | -0.1674641148 | -0.2032085561 | -0.1185432925 | -0.1338481338 | -0.0546153846 |
| 0.0683007169 | 0.2126436782 | 0.1736577181 | 0.1521922428 | -0.0208023774 | 0.0341741253 |
| -0.0449805024 | -0.0612728504 | -0.0893495354 | -0.108305891 | -0.0827010622 | -0.1313926042 |
| 0.08375273 | 0.1529029931 | 0.0839874411 | 0.12679524 | 0.011579818 | 0.089673913 |
| 0.0382020503 | 0.1323115421 | -0.0883417813 | 0.1230881282 | -0.0310711365 | 0.0440565254 |
| 0 | -0.0251381215 | 0.0548054011 | 0.0110246433 | 0.1063291139 | -0.048566879 |
| 0.0612709933 | 0.0824596203 | 0.2326807229 | 0.0949326491 | 0.1510297483 | 0.2284518828 |
| 0.0233001988 | 0.064921466 | -0.0287110568 | 0.0392501465 | -0.0231941683 | 0.0129427793 |
| 0.0347373329 | 0.0336774828 | 0.0050314465 | 0.0473506201 | 0.1200814111 | -0.0181573638 |
| -0.004205783 | 0.0489892985 | -0.0125156446 | 0.0158772874 | -0.0775287704 | -0.048630137 |
| 0.0289614601 | 0.0197234187 | 0.0297845374 | 0.0858278146 | -0.0111621799 | -0.0446364291 |
| -0.0112145423 | -0.0444642063 | -0.0584615385 | -0.1185655038 | -0.0531208499 | -0.0158251696 |
| -0.0217197924 | -0.1019078641 | 0.0300653595 | -0.0035981179 | 0.0042075736 | -0.0237366003 |
| -0.0200045465 | -0.1088082902 | -0.2290609137 | -0.0313888889 | -0.1089385475 | -0.0078431373 |
| -0.0549756437 | -0.1802325581 | -0.2600823045 | -0.1841124176 | -0.0948275862 | -0.1604743083 |
| -0.0742104402 | -0.0145390071 | -0.2725250278 | -0.2105448155 | -0.1748917749 | -0.0489642185 |
| 0.1091471498 | 0.245052177 | 0.2737003058 | 0.2413178985 | 0.2266526758 | 0.1891089109 |
| -0.004063745 | -0.0153179191 | 0.0156062425 | -0.006097561 | -0.0710008554 | 0.0066611157 |
| 0.0040803264 | -0.1097739947 | -0.0236406619 | 0.0378924576 | 0.2311233886 | 0.0521091811 |
| 0.046374502 | 0.1869436202 | 0.1428571429 | 0.1651599444 | 0.0598354525 | 0.0227987421 |
| 0.0434054219 | 0.0513888889 | -0.1610169492 | 0 | 0.0472829922 | 0.0461183705 |
| 0.0276601956 | 0.1180977543 | -0.0454545455 | 0.0337212772 | 0.0330188679 | 0.0323291697 |
| -0.0066756622 | -0.0697069943 | -0.0185185185 | -0.0219399538 | -0.0984996738 | 0.0128113879 |
| -0.0600557661 | -0.1866903734 | -0.1873315364 | -0.0832349469 | -0.0549927641 | -0.0618411806 |
| 0.0352171598 | 0.0927545284 | -0.0265339967 | 0.0141661301 | 0.1278713629 | 0.0037453184 |
| 0.0118295371 | -0.0305801658 | -0.0936967632 | -0.0863492063 | -0.0420909708 | 0.0313432836 |
| 0.0250526469 | -0.0846108491 | -0.0187969925 | 0.0184155664 | 0.0815024805 | 0.0955137482 |
| 0.0199064891 | 0.0740740741 | -0.0804597701 | -0.011941317 | 0.1631716907 | 0.0244385733 |
| -0.0181982357 | -0.0449775112 | 0.05 | 0.0117403315 | -0.0478873239 | -0.0631850419 |
| 0.0056597099 | 0.040188383 | -0.2043650794 | 0.0303754266 | 0.0591715976 | 0.0075705437 |
| 0.0018290538 | 0.0670087534 | 0.1471321696 | 0.0708843988 | 0.0061452514 | 0.0382513661 |