Q1
a) In colum on we see the results of regression equation where Weight is regressed on Doughnuts. It is a linear regression euqation. In this equation, if we say that weekly the consuption of dounts is increased by ! extra donut, then the weight of the person will increase by 9.224 pounds.
b) In column 2, Weight is regressed on Doughnuts and square of doughnuts. It is a plynomial regression. The weight on consumption of 5 doughnuts is- (5.143*5+0.221*(5^2)= 31.24) 31.24 pounds. In case of consumption of 6 doughnuts (5.143*6+0.221*(6^2)= 38.814) the weight is increased by (38.814-31.24) 7.574 pounts.
The weight on consumption of 19 doughnuts is- (5.143*19+0.221*(19^2)=177.498 ) 177.498 pounds. In case of consumption of 20 doughnuts (5.143*20+0.221*(20^2)= 209.824) the weight is increased by (209.824-177.498) 32.33 pounts.
c) In Table 1, under column 3, Weight is regressed on Log of Doughnuts. It is a linear log regression, thus if the consumption of doughnuts increase by 1% then the weight of the person increases by 0.52 pounds.
d) Column 4 shows the a log linear regression where Log of weight is regressed in Doughnuts. If the consumption of dounts increase by 1 dounut per week then the weight of the person increase by 4.9%.
Q2
a) In Column 2, Weight is the dependent variable and Female and Doughnuts are the independent variables. It shows the regression of Weights on Female dummy and Doughnuts. If the weekly consuption of doughnuts is increased by one-unit then the of the person increases by 8.670 pounds.
b) In Column 3, if the male doughnut consuption is scene, then the dummy variable of FEMALE and interaction variable of FEMALE*DOUGHNUT both will be zero. In such a case, one unit increase in the weekly consumption of dughnut by males will cause their weight to increase by 8.616 pounds.
However if there is a female who is taken into consideration, then if the consumption of doughnut is increased by one-unit per week then the weight is affected in the following manner- (-26.789+8.616+1.276= -16.897). It means that the weight if decreased by 16.9 pounds.
Table 1: How to interpret logged models, table adapted from Bailey's textbook model equation Log-linear In...
Given log linear model that says In(income) = Bo + Bieducation , we interpret the results as: O A one year increase in education is expected to lead to a By change in income. O A one year increase in education is expected to lead to a B1/100 change in income. O A one percent increase in education is expected to lead to a 31/100 change in income O A one year increase in education is expected to lead to...
1. Consider the simple linear regression model: Ү, — Во + B а; + Ei, where 1, . . , En are i.i.d. N(0,02), for i1,2,... ,n. Let b1 = s^y/8r and bo = Y - b1 t be the least squared estimators of B1 and Bo, respectively. We showed in class, that N(B; 02/) Y~N(BoB1 T;o2/n) and bi ~ are uncorrelated, i.e. o{Y;b} We also showed in class that bi and Y 0. = (a) Show that bo is...
3. Consider the multiple linear regression model iid where Xi, . . . ,Xp-1 ,i are observed covariate values for observation i, and Ei ~N(0,ơ2) (a) What is the interpretation of B1 in this model? (b) Write the matrix form of the model. Label the response vector, design matrix, coefficient vector, and error vector, and specify the dimensions and elements for each. (c) Write the likelihood, log-likelihood, and in matrix form. aB (d) Solve : 0 for β, the MLE...
Please solve the question Simulation: Assume the simple linear regression model i = 1,... , n Ул 3D Во + B1; + ei, N(0, o2) for i = 1,...,n. where e Let's set Bo = 10, B1 = -2.5, and n = 30 (a) Set a = 100, and x; = i for i = 1,...,n. (b) Your simulation will have 10,000 iterations. Before you start your iterations, set a random seed using your birthday date (MMDD) and report the...
QUESTION 1 Consider the following OLS regression line (or sample regression function): wage =-2.10+ 0.50 educ (1), where wage is hourly wage, measured in dollars, and educ years of formal education. According to (1), a person with no education has a predicted hourly wage of [wagehat] dollars. (NOTE: Write your answer in number format, with 2 decimal places of precision level; do not write your answer as a fraction. Add a leading minus sign symbol, a leading zero and trailing...
QUESTION 8 Consider a linear model to explain monthly beer consumption: beer = Bo + Biinc + B2price + B3educ + B4female + u, E(ulinc, price, educ, female) = 0 and Var(ulinc, price, educ, female) = o inc. Which of the following transformed equation has a homoscedastic error term? a. beer = Bo + B1inc + B2price + B3educ + B4female + u b.beer/inc= Bo(1/inc) + B1(1/inc) + B2(price/inc-) + B3(educ/inc?) + B4(female/inc?) + (u/inc) OC beer/inc = Bo(1/inc) +...
1. In order to test whether the multiple linear regression model y bo +b,x1 + b2X2 is better than the average model (lazy model), which of the following null hypotheses is correct: a. Ho' b1 = b2 = 0 Но: B1 B2-0 с. We have a dataset Company with three variables: Sales, employees and stores. To build a multiple linear regression model using Sales as dependent variable, number of stores and number of employees as independent variables, which of the...
Considering multiple linear regression models, we compute the regression of Y, an n x 1 vector, on an n x (p+1) full rank matrix X. As usual, H = X(XT X)-1 XT is the hat matrix with elements hij at the ith row and jth column. The residual is e; = yi - Ýi. (a) (7 points) Let Y be an n x 1 vector with 1 as its first element and Os elsewhere. Show that the elements of the...
Considering multiple linear regression models, we compute the regression of Y, an n x 1 vector, on an n x (p+1) full rank matrix X. As usual, H = X(XT X)-1 XT is the hat matrix with elements hij at the ith row and jth column. The residual is e; = yi - Ýi. (a) (7 points) Let Y be an n x 1 vector with 1 as its first element and Os elsewhere. Show that the elements of the...
Show how to get this linear regression equation The data in the table were collected from n = 10 home sales. Property appraisers used the data to estimate the population regression model of E(Sales Price) = b0 + b1(Home Size), where Sales Price (in thousands of dollars) Home Size (in hundreds of square feet) Sales Price Home Size 160 23 132.7 11 157.7 20 145.5 17 147 15 155.3 21 164.5 24 142.6 13 154.5 19 157.5 25 What is...