Wednesday
September 2, 2015

Homework Help: statistics

Posted by Anonymous on Monday, January 14, 2013 at 6:26pm.

Linear Regression

In the babies.dta full dataset, generate a covariate called painind defined as 1 if the infant experienced severe pain upon receiving the shot (pain0 = 7) and as 0 otherwise. In Stata, you can use the commands:

generate painind = 0
replace painind = 1 if pain0 == 7

Fit a linear regression model with total cry time as the outcome; and with group and painind (the severe pain indicator) as covariates. The regression model is:


where .

1. Using the notation from the model above, what are your estimates of the regression coefficients and residual standard deviation?


2. Using the fitted regression model, estimate the average change in cry time for infants with severe pain versus those without severe pain, holding group constant. Provide a 95% confidence interval for this estimate.

Estimate:

unanswered


95% Confidence interval Lower Bound:

unanswered


95% Confidence interval Upper Bound:

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Members