Randomly generate nine observations satisfying a normal linear model by taking xi N(50, 20) and yi
Question:
Randomly generate nine observations satisfying a normal linear model by taking xi ∼ N(50, 20) and yi = 45.0 + 0.1xi + ????i with ????i ∼ N(0, 1). Now add to the dataset a contaminated outlying observation 10 having x10 = 100, y10 = 100. Fit the normal linear model to the 10 observations using
(a) least squares,
(b) Huber’s M-estimation. Compare the model parameter estimates and the estimate of ????. Interpret.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Foundations Of Linear And Generalized Linear Models
ISBN: 9781118730034
1st Edition
Authors: Alan Agresti
Question Posted: