代做EN.553.413-613, Fall 2024 Applied Stats and Data Analysis Exam 1代做Statistics统计

Applied Stats and Data Analysis

EN.553.413-613, Fall 2024

Oct 3rd, 2024

Exam 1

Question 2 (20 pts). The following TRUE/FALSE questions concern the Simple Linear Regression model

Yi = β0 + β1Xi + εi , E(εi) = 0, V ar(εi) = σ 2 , cov(εi , εj ) = 0, for i ≠ j.

(a) TRUE or FALSE. Yi and εj are uncorrelated for i ≠ j.

(b) TRUE or FALSE. Denote b0 as the least squares estimator for β0 and βˆ 0 as some unbiased estimator for β0. The variance of b0 is smaller or equal than the variance of βˆ 0.

(c) TRUE or FALSE. If the least squares estimator for β1 is 0, X and Y are not linearly related.

(d) TRUE or FALSE. Semi-studentized residual vs Xi plot can be used to find outliers.

(e) TRUE or FALSE. P n i=1 εi = 0.

(f) TRUE or FALSE. Variance stabilizing transform. can be used to transform. X.

(g) TRUE or FALSE. P n i=1 Yˆ i(Yi − Yˆ i) = 0.

(h) TRUE or FALSE. Using Working-Hotelling procedure to find joint confidence interval for mean response at Xh1 = 3 with three other points will give the same confidence interval for EYh1 comparing to joint confidence interval for mean response at Xh1 = 3 with ten other points.

(i) TRUE or FALSE. In the Correlation model of regression predictor Xi ’s and the response variable Yi are both normal random variables.

(j) TRUE or FALSE. Var(ei) = σ 2 for all i.

Question 3 (15 pts). Let X1, X2, X3 ∼ iid N(0, 1), i.e. they are independent, identically distributed standard normal random variables. Let Y ∼ N(2, 1) and Y is independent on X1, X2, X3. For the following random variables state whether they follow a normal distribution, a t- distribution, a χ 2 distribution, an F distribution, or none of the above. State relevant parameters (e.g. degrees of freedom, and means and variances for normal RVs)

Question 4 (20 pts). Suppose a data set {(Xi , Yi) : 1 ≤ i ≤ n} is fit to a linear model of the form.

Yi = β0 + β1xi + εi

where εi are independent, mean zero, and normal with common variance σ 2 . Here we treat Y as the response variable and X as the predictor variable. The output of the lm function is given. Some values are hidden by ‘XXXXX’. We provide you with additional value: X¯ = 1.11.

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 0.9088 0.4791 1.897 0.0724

x 1.7480 0.7385 XXXXX 0.0281

---

Residual standard error: 1.088 on 20 degrees of freedom

Multiple R-squared: XXXXXX,Adjusted R-squared: XXXXXX

F-statistic: 5.602 on XX and XX DF, p-value: XXXXXX

(a) How many data points are there (what is n, the sample size)? What is the estimated mean of the response variable Y at Xh = 1 for this dataset?

(b) Based on all of this output, do you reject H0 : β1 = 0 in favour of Ha : β1 = 0 at level α = 0.01 significance? Why? What does the test tell us about the relationship between X and Y ?

(c) Based on all of this output, do you reject the H0 : β1 = 0 vs Ha : β1 > 0 at level α = 0.01 significance? Briefly explain why, or why not.

(d) The degrees of freedom, and the p-value of the F statistic are hidden. Is it possible to reconstruct all of them based on the data shown? Recover as many values as you can.

(e) Find MSE and Sxx = P n i=1(Xi − X¯) 2 based on the data above

(f) Is it possible to find the coefficient of simple determination from the data shown? If yes, do it. If not, briefly explain why.

Question 5 (15 pts). Consider the following diagnostic plots for Model 1 and Model 2. Two simple linear regression models Y = β0 + β1X + ε are fitted to the two different datasets (X, Y ). For each model 3 diagnostic plots are shown: plot of Yi vs Xi , plot of semi-studentized residuals e*i versus fitted values Yˆ i , QQ-plot of the semi-studentized residuals e*i .

(a) What is the main issue do you diagnose with the Model 1, if any? Why? Which plot was the most useful in diagnosing this problem? Be as specific in describing the issue as you can.

(b) What is the main issue do you diagnose with the Model 2, if any? Why? Which plot was the most useful in diagnosing this problem? Be as specific in describing the issue as you can.

(c) This question is unrelated to the above plots. Assume that you conclude that in the model the errors are not normally distributed. How does this affect your inference on b1? Briefly justify.

Question 6 (30 points). For the dataset of n = 100 observations a simple linear regression model Yi = β0 + β1Xi + εi is fit. The following estimates are obtained.

Above, ni , ki are some functions of Xi . We have listed additional information here

(a) Find ni in terms of Xi . Show your work. You may use the least-squares solution formulas for b0, b1.

(b) Prove Var Hint: You may use the fact that

(c) What is the estimated variance s 2 of the error term based on the data above?

(d) Find a 99% confidence interval for β0. Write it in the form. A ± B · t(C, D), compute values of A, B, C, D if possible.

(e) Find the joint confidence intervals with confidence at least 99% for β0, β1 in the form. Ai±Bi ·t(Ci , Di). Compute values of Ai , Bi , Ci , Di if possible. Without any computation how does the interval for β0 for this part compare to the one in part (d)?

(f) This question is unrelated to the data above. Derive the expression for cov(b0, b1) in terms of some, or all, Xi , Yi , β0, β1, σ2 . Simplify as much as you can.

Question 7 (15 points). Suppose we are given n data points {(X1, Y1, Z1),(X2, Y2, Z2), . . . ,(Xn, Yn, Zn)}. We are interested in fitting the linear regression model

Yi = α + βXi + εi and Zi = γ + βXi + ηi

for i = 1, 2, . . . , n, where εi and ηi are independent random variables N(0, σ2 ). Note that the slope β in both equations is the same.

(a) Derive the least squares estimates of α, β and γ.

Hint: Write a single least squares objective function as a function of α, β, γ and proceed, i.e.

Q(α, β, γ) = . . .

(b) What do you think should be an estimator for σ 2 for this model?




热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图