1. Homepage
  2. Exam
  3. [2021] STAT2401: Analysis of Experiments - Q3 Final Exam Prediction

[2021] STAT2401: Analysis of Experiments - Q3 Final Exam Prediction

This question has been solved
Engage in a Conversation

3. The datascores-Version-0.txt shows the scores in the final examination Final and the scores in two preliminary examinations Pre1 and Pre2 for 22 students in a statistics course. CourseNana.COM


CourseNana.COM

This dataset scores-Version-0.txt is available in LMS unit STAT2401 online. Please download the data, save it in “your working directory”, and read in the data by CourseNana.COM

setwd("your working directory")
scores = read.table(file="scores-Version-0.txt",header=T)
CourseNana.COM


CourseNana.COM

(a)  Fit each of the following models to the data: CourseNana.COM

Model1: Final = 0 + 1Pre1 + 2Pre2 + CourseNana.COM

Model 2: Final = 0 + 10Pre1 + , CourseNana.COM

Model 3: Final = 00 + 00Pre2 + . 02 CourseNana.COM

where  are all normally distributed with mean zero and a constant variance. Write down the R-codes and the fitted models for these 3 models. [6 marks] CourseNana.COM

(b)  Use all three models to predict the final examination scores for a student who scored 78 and 85 on the first and second preliminary examinations, respectively. What are the 95% prediction intervals for this student (Report also the R-code you use to obtain the intervals)? Determine also the model that provides a shortest interval. [6 marks] CourseNana.COM

(c)  The relationship between the simple and the multiple regression coecients can be seen when we compare the previous regression equations (Model 1 & Model 2) and the following regression equation: CourseNana.COM

Model4: Pre2 = a0 + a1Pre1 + e CourseNana.COM


Verify numerically that = +
ˆ , that is, the simple regression coefficient estimate for Final on Pre1 is the sum of the Model 1 coefficient estimate for Pre1, and the product of the Model 1 coefficient estimate for Pre2 and the Model 4 coefficient estimate from the regression of Pre2 on Pre1. The estimates are all least squares estimates. [5 marks] CourseNana.COM

  CourseNana.COM

Get the Solution to This Question

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
STAT2401代写,Analysis of Experiments代写,Exam代写,University of Western Australia代写,STAT2401代编,Analysis of Experiments代编,Exam代编,University of Western Australia代编,STAT2401代考,Analysis of Experiments代考,Exam代考,University of Western Australia代考,STAT2401help,Analysis of Experimentshelp,Examhelp,University of Western Australiahelp,STAT2401作业代写,Analysis of Experiments作业代写,Exam作业代写,University of Western Australia作业代写,STAT2401编程代写,Analysis of Experiments编程代写,Exam编程代写,University of Western Australia编程代写,STAT2401programming help,Analysis of Experimentsprogramming help,Examprogramming help,University of Western Australiaprogramming help,STAT2401assignment help,Analysis of Experimentsassignment help,Examassignment help,University of Western Australiaassignment help,STAT2401solution,Analysis of Experimentssolution,Examsolution,University of Western Australiasolution,