Download Naval Base Fleet Effectiveness Modeling: Regression Analysis and Influence Diagnostics and more Lab Reports Statistics in PDF only on Docsity!
Leverage and^ Influence^ r
1. Let ris review the following terms:
'o Leverage
frt* 1's
hi
\nrc,h'i: wrvt2vo'\
. Cook's Distance
t/Ytr1l o[^ Jr'".. bl*
o DFFITS
quadratic model
srAT 423016230 Lab^
April 18,
+ 6ir>'f
r'l
E(y): 9o +^ Ffi +^ 9z t. 'I
pt
DFBETAS
{u.ut on in&r'.&..q\ ?'5,
t
2. What does the leverage measure?
3. Now we will look at exercise 8.34.
A naval base is considering modifyiirg^ or^ adding^ to its fleet of 48^ standard^ aircraft.
, The final decision regarding^ the^ type^ and^ number^ of dircraft^ to be^ added depends^ on^ a
cbmparison of cost versus effectivenebs^ of^ the^ modified fleet.^ Consequently, the naval
base would like to model the^ projected^ percentage^ increasey^ in^ fleet^ effectiveness^ by^ the
end of the decade^ as^ a^ function of^ the^ cost^ x of^ modiffing^ the fldet.^ A^ first^ ptopbsal is^ the.
h
\
The data in^ the file weie^ collected^ on^10 naval^ bases^ of^ a^ similar^ size^ that^ recently^ '
expanded their fleets. The data were usedlo fit the model, and the SAS printout of the
multiple regression analysis appears below.
Number Number
:'DF
z 7
Total ,, 9
Root MSE Dependent Mean Coeff Var
The REG Procedure ModeI: MODELI' Dependent Variable: y
of observations Reai 10
of observations Used 10
Analysis of Variarice
Source Model Error' Corrected
RStudent
1 0.^1815 "
5 -^1.
I 0.
Par^hmeter' Estimate 1 0. -0.
Standard Error 't (^) 4.
0.001 25
4.54855 Fi-square 17.20000 Adj R-Sq
Parameten Estimates
F Value Pn >^ F 33.08, 0. a I
o.
Sum of Squares 1 368. 144.82499 (^) " 1 51 3r 60000
Mean Square
Variable Intencept x x
DF 1 *aI
Dependent Predicted Std Error 'Std^ Error^ 'Student^ ,
Obs Variabl'e Value Mean Predicl Residual Residual^ Residual^ -2-1^ o^1
1 'f8.OOOO^ 17.2079 2.0627 0.7927 4.054 0.196.1" I
2 32.0000 34.0037^ ,^ 2.6525^ -2.0037^ 3.695^ -0.542^ I .I
3 9.OOOO^ 5.2310^ 2.0601^ 3.7690^ +"OSS^ 0.929^ | l*.
" 4 37.^ OO0O^ 35.^ 'l^612 2.8397^1 .8388^ 3.553^ 0.518^ |^ |^ {
5 6.0000 12.0128 2.2177 -6.0128^ 3.971^ -1.514^ | ***l
6 .3.OOO0 6.9572 2.0835 -3.'9572^ 4.043 -0.979^ |.^ I
7 30.0000 23.6042^ 1.8468^ 6.3958^ 4.157^ 1.539^ | | ***
8 IO.OOOO^ 6.0273"^ 2.0492^ " 3.9727 , 4.061^ 0.978^ | l*
9 25.O0OO Za.SgAZ 2.OO7O^ -3.5367^ 4.082^ -0.866^ | "l
10 2.10000 3.2586 4.1920 -1.2586^ 1.765^ -0.713^ |.^ I
t Value Pr >^ ltl o.73 0. -1.00 (^) 0. 2.13 0. cook's D
- o
o,o
o.'
- 156
I Hat Diag H o.
o.
- (^).
- 1 649
- 1 947
0utput eov Ratio , (^) r lgoos 2.1 156
0.551 1
Statistics
DFFITS o.
1O. -1 (^).
Intercept
i 0.
o. o. sgzo o. -0.31 40 -o. (^) cioss b. or zg -1.
X
o. o.
- 't^817 -o. -ol?3,si o.31 43 0. 0. 1.
x -0. -o. -0. o. 21 9b o. o. -0. -o. -0. -1 (^).
a
- We now look at exercise 8.38. The foreman^ of^ a^ printing^ shop^ that^ has^ been^ in^ business
for five years^ is scheduling fiis^ workload for^ next year,^ and^ he^ must^ estimate the^ number
of employees available for^ woik.^ He^ asks^ the company statistician^ to^ forecast next^ year's
absentee rate. Since it is known that quarterly fluctuations bxist,^ ihe followiirg^ model^ is'
proposed : (^) flo* Ftxr* 0zxz'r Ftxt* e, 5 where y^ :^ Absentee rate: Total^ employees abseht/Total employees.^ Additionally,^ x1^ is the indicator for quarter^1 (January^ - March),^ xz^ is the^ indicator for^ quarter 2^ (Apil- June), and^ xr^ is the^ indicator for^ quarter^3 (July^ - September). Quarter 4 is^ indicated^ by
all three v"ariables^ taking^ on^ the value^ of^ 0.
a. First, import the data. data printshop; inf il-e (^) 'K: \5230\printshop. txt'^ ; input year xl- x2 x3; , run; I
'b. (^) Fit the model to the data. What is the R2? proc reg data (^) = printshop; odel- value (^) = x1 x2 x3; run;
c. Consider the^ nature^ of^ the^ response^ variable,^ y. Do^ you^ think^ there^ may^ be possible violations of the^ usual assumptions about^ e?^ Explain.
d. Now, suggest an alternative model that will appr-oximately.stabilize the^ variance
of the error term e^.^ Hint:^ consider that the^ data^ is^ a^ proportion^ and^ involves two
possible outcomes: absent or present.
4
e. Fit the alternative,model. Check the R2 value to determine whether the model adequacyhas improved.
- What is^ the^ Durbin-Watson d statistic?
- We now look at 8.39. The stock of Delta Air Lines (DAL)^ had the yearly^ closing prices
stored in the file Delta.fxt.
a. Import ihe data and ensure it imported correctly. data del-ta; infile'K: (^) \4230\Defta.txt' ; lnput year^ price; t=year-L994;
run;
proc print data = delta; run,'
b. Now, let us model the price as a function of time, r. Fit the model^ E(y): (^) 0o +^ Bi.
proc reg data = delta;
model'price=E/dw;
output out=DAL student=s rstudent=rs;
nrn;
proc print data = DAI;
run;
,'t
c. Calculate the studentized residuals and plot^ these against /. Do you detect any trends? proc aplot data (^) = DAL; plot rs*t; run;