In: Statistics and Probability
1. For which state is the prediction made by the regression line (the Fit) farthest from the actual ATS? How far off is the prediction?
2. For which state is the prediction made by the regression line (the Fit) closest to the actual ATS? How far off is the prediction?
State | PPS | T/S Ratio | Avg. Salary | %Takers | Avg. Tot. Score |
"Alabama" | 4.405 | 17.2 | 31.144 | 10 | 1035 |
"Alaska" | 8.963 | 17.6 | 47.951 | 48 | 939 |
"Arizona" | 4.778 | 19.3 | 32.175 | 28 | 950 |
"Arkansas" | 4.459 | 17.1 | 28.934 | 7 | 1010 |
"California" | 4.992 | 24 | 41.078 | 46 | 908 |
"Colorado" | 5.443 | 18.4 | 34.571 | 31 | 985 |
"Connecticut" | 8.817 | 14.4 | 50.045 | 82 | 914 |
"Delaware" | 7.03 | 16.6 | 39.076 | 70 | 902 |
"Florida" | 5.718 | 19.1 | 32.588 | 50 | 895 |
"Georgia" | 5.193 | 16.3 | 32.291 | 66 | 859 |
"Hawaii" | 6.078 | 17.9 | 38.518 | 58 | 895 |
"Idaho" | 4.21 | 19.1 | 29.783 | 16 | 984 |
"Illinois" | 6.136 | 17.3 | 39.431 | 14 | 1054 |
"Indiana" | 5.826 | 17.5 | 36.785 | 59 | 887 |
"Iowa" | 5.483 | 15.8 | 31.511 | 7 | 1105 |
"Kansas" | 5.817 | 15.1 | 34.652 | 11 | 1066 |
"Kentucky" | 5.217 | 17 | 32.257 | 12 | 1005 |
"Louisiana" | 4.761 | 16.8 | 26.461 | 10 | 1027 |
"Maine" | 6.428 | 13.8 | 31.972 | 70 | 902 |
"Maryland" | 7.245 | 17 | 40.661 | 65 | 915 |
"Massachusetts" | 7.287 | 14.8 | 40.795 | 81 | 913 |
"Michigan" | 6.994 | 20.1 | 41.895 | 13 | 1038 |
"Minnesota" | 6 | 17.5 | 35.948 | 10 | 1091 |
"Mississippi" | 4.08 | 17.5 | 26.818 | 5 | 1041 |
"Missouri" | 5.383 | 15.5 | 31.189 | 10 | 1051 |
"Montana" | 5.692 | 16.3 | 28.785 | 23 | 1014 |
"Nebraska" | 5.935 | 14.5 | 30.922 | 10 | 1056 |
"Nevada" | 5.16 | 18.7 | 34.836 | 31 | 922 |
"New Hampshire" | 5.859 | 15.6 | 34.72 | 70 | 941 |
"New Jersey" | 9.774 | 13.8 | 46.087 | 72 | 904 |
"New Mexico" | 4.586 | 17.2 | 28.493 | 12 | 1021 |
"New York" | 9.623 | 15.2 | 47.612 | 76 | 898 |
"North Carolina" | 5.077 | 16.2 | 30.793 | 62 | 871 |
"North Dakota" | 4.775 | 15.3 | 26.327 | 7 | 1113 |
"Ohio" | 6.162 | 16.6 | 36.802 | 25 | 981 |
"Oklahoma" | 4.845 | 15.5 | 28.172 | 11 | 1032 |
"Oregon" | 6.436 | 19.9 | 38.555 | 53 | 953 |
"Pennsylvania" | 7.109 | 17.1 | 44.51 | 72 | 885 |
"Rhode Island" | 7.469 | 14.7 | 40.729 | 70 | 894 |
"South Carolina" | 4.797 | 16.4 | 30.279 | 60 | 849 |
South Dakota" | 4.775 | 14.4 | 25.994 | 6 | 1074 |
"Tennessee" | 4.388 | 18.6 | 32.477 | 14 | 1045 |
"Texas" | 5.222 | 15.7 | 31.223 | 50 | 899 |
"Utah" | 3.656 | 24.3 | 29.082 | 6 | 1082 |
"Vermont" | 6.75 | 13.8 | 35.406 | 70 | 907 |
"Virginia" | 5.327 | 14.6 | 33.987 | 66 | 902 |
"Washington" | 5.906 | 20.2 | 36.151 | 50 | 943 |
"West Virginia" | 6.107 | 14.8 | 31.944 | 19 | 937 |
"Wisconsin" | 6.93 | 15.9 | 37.746 | 10 | 1079 |
"Wyoming" | 6.16 | 14.9 | 31.285 | 12 | 1006 |
Using Excel, go to Data, select Data Analysis, choose Regression. Put values of PPS, T/S Ratio, Avg. Salary and % Takers in X input range and Avg. Tot. Score in Y input range. Tick Residuals.
Actual ATS | Predicted | Residuals | Absolute Residuals |
Alabama | 1034.480352 | 0.519648 | 0.519647667 |
Alaska | 971.6382515 | -32.6383 | 32.6382515 |
Arizona | 978.6665514 | -28.6666 | 28.66655141 |
Arkansas | 1040.775897 | -30.7759 | 30.77589721 |
California | 924.0755056 | -16.0755 | 16.07550557 |
Colorado | 980.0362431 | 4.963757 | 4.963756854 |
Connecticut | 885.791709 | 28.20829 | 28.20829097 |
Delaware | 888.0201683 | 13.97983 | 13.97983168 |
Florida | 921.3222828 | -26.3223 | 26.32228279 |
Georgia | 880.9507192 | -21.9507 | 21.95071917 |
Hawaii | 912.3583919 | -17.3584 | 17.35839188 |
Idaho | 1007.68232 | -23.6823 | 23.68231961 |
Illinois | 1043.704201 | 10.2958 | 10.29579922 |
Indiana | 906.9933144 | -19.9933 | 19.99331437 |
Iowa | 1054.469267 | 50.53073 | 50.53073328 |
Kansas | 1051.432433 | 14.56757 | 14.56756681 |
Kentucky | 1035.446493 | -30.4465 | 30.44649304 |
Louisiana | 1031.356251 | -4.35625 | 4.356251289 |
Maine | 884.2589979 | 17.741 | 17.74100206 |
Maryland | 904.5853131 | 10.41469 | 10.41468687 |
Massachusetts | 865.9714617 | 47.02854 | 47.02853831 |
Michigan | 1045.394072 | -7.39407 | 7.394072142 |
Minnesota | 1049.065533 | 41.93447 | 41.93446708 |
Mississippi | 1040.18137 | 0.81863 | 0.818630494 |
Missouri | 1045.764487 | 5.235513 | 5.235512916 |
Montana | 1003.741231 | 10.25877 | 10.25876948 |
Nebraska | 1051.865841 | 4.134159 | 4.134158559 |
Nevada | 977.8020335 | -55.802 | 55.80203348 |
New Hampshire | 878.7944768 | 62.20552 | 62.20552322 |
New Jersey | 916.7497368 | -12.7497 | 12.74973677 |
New Mexico | 1026.027197 | -5.0272 | 5.02719736 |
New York | 901.6783559 | -3.67836 | 3.678355935 |
North Carolina | 890.1785627 | -19.1786 | 19.17856266 |
North Dakota | 1045.014418 | 67.98558 | 67.98558232 |
Ohio | 1010.642305 | -29.6423 | 29.64230484 |
Oklahoma | 1035.670734 | -3.67073 | 3.670734004 |
Oregon | 922.1949589 | 30.80504 | 30.80504108 |
Pennsylvania | 888.4818335 | -3.48183 | 3.481833482 |
Rhode Island | 899.1734525 | -5.17345 | 5.173452474 |
South Carolina | 893.0279083 | -44.0279 | 44.02790833 |
South Dakota" | 1050.490594 | 23.50941 | 23.50940585 |
Tennessee | 1019.896189 | 25.10381 | 25.10381096 |
Texas | 928.1094027 | -29.1094 | 29.10940266 |
Utah | 1015.107788 | 66.89221 | 66.8922119 |
Vermont | 890.8128559 | 16.18714 | 16.18714406 |
Virginia | 889.7764846 | 12.22352 | 12.22351536 |
Washington | 923.594546 | 19.40545 | 19.40545396 |
West Virginia | 1027.105165 | -90.1052 | 90.10516541 |
Wisconsin | 1062.16557 | 16.83443 | 16.83442954 |
Wyoming | 1046.476773 | -40.4768 | 40.47677309 |
1. Prediction for West Virginia is the farthest from Actual ATS.
Value = -90.1052
2. Prediction for Alabama is the closest to Actual ATS.
Value = 0.5196