In: Statistics and Probability
Given x = (-2, -1, 0, 1, 2) and response y = (0, 0, 1, 1, 3) consider 2 models where the error e is normally distributed N(0,sigma^2)
Model 1: y = β0 + β1*X + e
Model 2: y = β0 + β1*(X^2) + e
Questions:
1). Find β0Hat and β1Hat for Model 1 and Model 2.
2). Estimate σ^2, and find the variances of the estimators β0Hat and β1Hat for Model 1 and Model 2.
3). Test H0: β1Hat = 0 against H1: β1Hat not equal 0 for both models. Use alpha = 0.05