Upload
cesardako
View
220
Download
1
Embed Size (px)
DESCRIPTION
A plumbing fixture used for washing the middle part of the body, especially genitals. It is also known as the Sitz Bath
Citation preview
Practice Midterm Exam W4315 Fall 2011
Name:
1. Consider a regression where the explanatory variable is time:
tot tY 1 for t=1,.n
where the i are uncorrelated with E(i)=0 and 2(i)=
2.
(a) Compute the least squares estimate of 0 and 1. (b) Show that the estimate is unbiased. (c) Compute the variance of the estimate.
2. Show that in the simple linear regression model, the relationship between the F-statistic and R2 is given by
2
2
1
)2(
R
RnF
3. Show that the matrix (1/n)J, where J is the unit matrix, is idempotent.
4. Consider the multiple regression model:
iiii XXY 2211 for i=1,.n
where the i are uncorrelated with E(i)=0 and 2(i)=
2.
Derive the least squares estimators of 1 and 2.
5. The Tri-City Office Equipment Corporation sells an imported copier on a franchise basis and performs preventive maintenance and repair service on this copier. Data was collected from 45 recent calls to perform routine preventive maintenance service; for each call, X is the number of copiers serviced and Y is the total number of minutes spent by the service person.
A simple linear regression model is fit and the output is shown below:
> results = lm(Time ~ Copiers) > results Call: lm(formula = Time ~ Copiers) Coefficients: (Intercept) Copiers -0.5802 15.0352 > summary(results) Call: lm(formula = Time ~ Copiers) Residuals: Min 1Q Median 3Q Max -22.7723 -3.7371 0.3334 6.3334 15.4039 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -0.5802 2.8039 -0.207 0.837 Copiers 15.0352 0.4831 31.123