Biostatistics 2-Homework 2
Biostatistics 2-Homework 2
chi2
Pr = 0.422
Question 2: What type of statistical test is most appropriate for this data and why?
The most appropriate statistical test is the Logistic
regression (Logit Regression) test which evaluates a
relationship between a continuous parametric variable as
independent variable and a dichotomous/dummy dependent
variable.
Question 3: What are your null and alternative hypotheses?
H0: There is no relationship between d1co and Emphysema.
H1: There is a relationship between d1co and Emphysema.
Question 4: Perform the test with Stata. Be sure to include your output.
Part 2 (for Questions 6-10): A company has developed an approved drug that they
believe has the unintended side-effect of improving hemoglobin levels in anemic women.
They identify 20 women (non-pregnant) who have anemia. The measure hemoglobin
levels at baseline and again after taking the pill for three weeks.
The data are contained in anemiapill.dta.
Question 6: Are the data independent or dependent?
Part 4 (for Questions 16-19): We are now interested in developing a linear model to
help predict the relationship between the birth weight of the child and the weight gain of
the mother. These questions will rely on the same data in part 1, including the new
variable change.
Question 16: What would be the equation for the true population regression line for the
relationship between birth weight and weight gain?
Question 17: Use Stata to fit find the least squares regression line. a) What is the least
squares estimate of the true population intercept ( )? Interpret this value in words. b)
What is the least squares estimate of the true population slope ( )? Interpret this value
in words.
Question 18: Test if there is a significant linear relationship between the birth weight and
mothers weight gain. State the null and alternative hypotheses, calculate the test statistic,
state the distribution of your test statistic, state the p-value, draw a conclusion.
Question 19: What is the expected birth weight of the baby if the mothers weight gain
was 20kg?