# statistics

posted by on .

• 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?

unanswered

unanswered

unanswered

unanswered

You have used 0 of 2 submissions
• 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:

unanswered

You have used 0 of 2 submissions
• 3. Again, use the notation above for the regression model. The correct interpretation for is:
Infants in the intervention group have times the risk of experiencing an increase in cry time compared to infants in the control group Infants in the intervention group have times the risk of experiencing an increase in cry time compared to infants in the control group after controlling for pain experienced by the infant Infants in the intervention group on average have change in cry time compared to the control group. Infants in the intervention group on average have change in cry time compared to the control group, after controlling for severity of pain experienced by the infant upon receiving the shot.
You have used 0 of 1 submissions
• 4. Using the regression model, estimate the average cry time in the following groups:
Control group infants with severe pain upon receiving the shot

unanswered

Control group infants without severe pain upon receiving the shot

unanswered

Intervention group infants with severe pain upon receiving the shot

unanswered

Intervention group infants without severe pain upon receiving the shot

unanswered

You have used 0 of 2 submissions
• 5. Without using the regression model, estimate the mean cry time in the following groups:
Control group infants with severe pain upon receiving the shot

unanswered

Control group infants without severe pain upon receiving the shot

unanswered

Intervention group infants with severe pain upon receiving the shot

unanswered

Intervention group infants without severe pain upon receiving the shot

unanswered

We refer to these as 'non-parametric' estimates, because they do not rely on modeling assumptions (whereas the estimates in question 4 are based on the linear regression model).
You have used 0 of 2 submissions
• 6. Compare your estimates of the group-specific means from the regression model to the "non-parametric" estimates above. In large sample sizes, would you expect the "non-parametric" estimates or the regression based estimates to have less bias (e.g. be closer to the true group-specific means in the population)?
non-parametric regression
You have used 1 of 1 submissions
• 7. With continuous covariates, we cannot estimate the means using the non-parametric method as above due to the "curse of dimensionality." This is because:
some continuous variables have skewed distributions there is typically only one observation per continuous variable hence the mean cannot be estimated well
You have used 1 of 1 submissions
• 8. Suppose that sex is an effect modifier of the association between group and cry time. Which of the following is a correct way to analyze the data?
Construct a linear regression model with sex as a covariate. Construct two separate linear regression models: one among male infants and one among female infants. Construct a linear regression model, but do not control for sex as a covariate because this is a randomized clinical trial.
You have used 1 of 1 submissions

• statistics - ,

1. 29.7833
-7.679168
12.61215
21.766

2. 12.612
5.236
19.989
please help me with cohort study

• statistics - ,

Thanks a ton for your reply. Can you answer 3,4 and 5 please

### Answer This Question

 First Name: School Subject: Answer:

### Related Questions

More Related Questions

Post a New Question