Suppose that the data (X1, Y), ... (Xn, Yn is generated by the following ("true") model: a+ bX; + сX; +ei, wher...
4. (24 marks) Suppose that the random variables Yi,..., Yn satisfy Y-B BX,+ Ei, 1-1, , n, where βο and βι are parameters, X1, ,X, are con- stants, and e1,... ,en are independent and identically distributed ran- dom variables with Ei ~ N (0,02), where σ2 is a third unknown pa- rameter. This is the familiar form for a simple linear regression model, where the parameters A, β, and σ2 explain the relationship between a dependent (or response) variable Y...
Question 2: Suppose that we wish to fit a regression model for which the true regression line passes through the origin (0,0). The appropriate model is Y = Bx + €. Assume that we have n pairs of data (x1.yı) ... (Xn,yn). a) From first principle, derive the least square estimate of B. (write the loss function then take first derivative W.r.t coefficient etc) b) Assume that e is normally distributed what is the distribution of Y? Explain your answer...
Help 3. Suppose that X and Y are related by the simple linear regression model Y = a + BX +E where a, 8 are unknown parameters, and ε is a normal random variable that is independent of X and has mean 0 and unknown variance o2. Suppose that we have the following n = 5 samples for X: X1 = 1; 22 = 2; 13 = 3; 24 = 4; 25 = 5. Also suppose that we have the...
1. Consider the following simple regression model: y = β0 + β1x1 + u (1) and the following multiple regression model: y = β0 + β1x1 + β2x2 + u (2), where x1 is the variable of primary interest to explain y. Which of the following statements is correct? a. When drawing ceteris paribus conclusions about how x1 affects y, with model (1), we must assume that x2, and all other factors contained in u, are uncorrelated with x1. b....
4. Consider the regression model, y1B22+ BKiK+ei -.. where errors may be heteroskedastic. Choose the most incorrect statement (a) The OLS estimators are consistent and unbiased (b) We should report the OLS estimates with the robust standard errors (c) The Gauss-Markov theorem may not apply (d) The GLS cannot be used because we do not know the error variances in practice (e) We should take care of heteroskedasticity only if homoskedasticity is rejected Consider the regression model, +BKIK+et e pet-1+...
linear stat modeling & regression 1) Consider n data points with 3 covariates and observations {xn, ^i2, xi3,yid; i,,n, and you fit the following model, y Bi+Br2+Br+e that is yi A) +Ari,1 +Ari,2 +Buri,3 + єї where є,'s are independent normal distribution with mean zero and variance ơ2 . H the vectors of (Y1, . . . ,Yn). Assume the covariates are centered: Σίχί,,-0, k = 1,2,3. ere, n = 50, Let L are Assume, X'X is a diagonal matrix...
Consider the following simple regression model: a. Suppose that OLS assumptions 1 to 4 hold true. We know that homoskedasticity assumption is statedas: Var[UjIx] = σ2 for all i Now, suppose that homoskedasticity does not hold. Mathematically, this is expressed as In other words, the subscript i in σ12 means that the conditional variance of errors for each individual i is different. Under heteroskedasticity, we can derive the expression for the variance of Var(B) as SST Where SSTx is the...
2. Suppose Y ~ Exp(a), which has pdf f(y)-1 exp(-y/a). (a) Use the following R code to generate data from the model Yi ~ Exp(0.05/Xi), and provide the scatterplot of Y against X set.seed(123) n <- 500 <-rnorm (n, x 3, 1) Y <- rexp(n, X) (b) Fit the model Yi-Ao + Ax, + ε¡ using the lm function in R and provide a plot of the best fit line on the scatterplot of Y vs X, and the residual...
Please justify each step! 4. (30 points) Suppose that we have two independent random samples: X1, X2, ...,, Xn are exponential(8) and Y. Y, , , Yn are exponential(A) (aside: be happy I didn't make it 〈!) a. Find the likelihood ratio test of Ho: θ μ versus H1:0 # . b. Show that the test in part a. can be based on the statistic c. Find the distribution of T when Ho is true. 4. (30 points) Suppose that...
(Do this problem without using R) Consider the simple linear regression model y =β0 + β1x + ε, where the errors are independent and normally distributed, with mean zero and constant variance σ2. Suppose we observe 4 observations x = (1, 1, −1, −1) and y = (5, 3, 4, 0). (a) Fit the simple linear regression model to this data and report the fitted regression line. (b) Carry out a test of hypotheses using α = 0.05 to determine...