statistics

posted by .

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:

  • statistics -

    42.38

    0.0035 - 0.045

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. statistics

    a sales manager used linear regression to find the positive linear relationship between advertising expenditures and sales. The amount of advertising expenditures used to generate the regression equation ranged from $8,000 to $45,000. …
  2. Stats.

    An obstetrician maintains that preterm babies (gestation less than 37 weeks) have a higher variability of birth weight than do full-term babies (gestation 37-41 weeks). According to the National Vital Statistics Report, Vol. 48, No. …
  3. statistics

    An obstetrician maintains that preterm babies (gestation less than 37 weeks) have a higher variability of birth weight than do full-term babies (gestation 37-41 weeks). According to the National Vital Statistics Report, Vol. 48, No. …
  4. Statistics

    The following linear equation, y = b0 + b1x, is a regression line with y-intercept b0 and slope b1. Define These Terms 1) correlation coefficient 2) Linear regression equation
  5. statistics

    • Two-sample Non-parametric Test Now, we examine the relationship between cry time and group among infants at Northbay. 1. Suppose we wish to perform a two-sample test, but we do not want to make any normality (or other strong parametric) …
  6. statistics

    • 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: …
  7. Biostatistics

    Hi, I have answered some questions for some homework and I've got one of them wrong. I cannot modify my answer but I would really love to know why my answer is wrong. This is the statement of the problem: n this series of questions, …
  8. maths

    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.
  9. statistics

    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
  10. statistics

    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. My question: What …

More Similar Questions