SOLUTIONS TO BIOSTATISTICS PRACTICE PROBLEMS, Assignments of Biostatistics

The chi-squared is the correct statistical test for comparing two population proportions based on information from two (large) samples – both the sample meet ...

Typology: Assignments

2021/2022

Uploaded on 08/01/2022

fioh_ji
fioh_ji 🇰🇼

4.5

(70)

814 documents

1 / 17

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
SOLUTIONS TO
BIOSTATISTICS
PRACTICE
PROBLEMS
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download SOLUTIONS TO BIOSTATISTICS PRACTICE PROBLEMS and more Assignments Biostatistics in PDF only on Docsity!

SOLUTIONS TO

BIOSTATISTICS

PRACTICE

PROBLEMS

BIOSTATISTICS

DESCRIBING DATA, THE NORMAL DISTRIBUTION

SOLUTIONS

a. To calculate the mean, we just add up all 7 values, and divide by 7. In

fancy statistical notation, 7

X

X

7

i 1

∑ i

years.

b. To calculate the sample median, first rank the values from lowest to highest:

6.3 7.2 9.5 10.5 12.0 12.5 13.

Since there are 7 values, an odd number, we can simply select the middle value, 10.5, to calculate the sample median.

b. It’s a good thing we have calculated the sample mean- we ned this to calculate the sample standard deviation! Recall the formula for SD:

(X X)

SD

2 2 2

7

i 1

2 i (^) − + − + − = −

=

= 2.71 years

d. 1. sample mean – Would decrease, as the lowest value gets lower, pulling down the mean.

  1. sample median – Would remain the same since the middle value is still 10.5 By replacing the 6.3 with 1.5, the rank of the 7 values is not affected.
  2. sample standard deviation – Would increase. Because our minimum value has now gotten smaller, while the rest of the data points remain unchanged, the spread or variability in our data has increased; since SD is a measure of spread, it too will increase (prove it to yourself!).

e. While the sample mean and sample standard deviations of the 14

These questions refer to the table relating normal scores to area (percent population) under the density curve.

a. If individuals considered “abnormal” have glucose levels outside of 1 standard deviation of the mean (above or below) , then approximately 32% (31.73 to be exact) of the individuals will need to be retested. The “normal range” of glucose level would range from (90 – 38) mg/dL to (90 + 38) mg/dL, or from 52 mg/dL to 128 mg/dL.

b. If individuals considered “abnormal” have glucose levels outside of 2 standard deviations of the mean (above or below) , then approximately 5% (4.55 to be exact of the individuals will need to be retested. The “normal range” of glucose levels would range from (90 – 238) mg/dL to (90 + 238) mg/dL, or from 14 mg/dL to 166 mg/dL.

  1. A is the correct answer. Remember, in order to calculate the median, you must first order the values in the sample from lowest to highest. Doing so yields:

110 116 124 132 168

This sample is of size 5, and odd number, so the middle value of 124 is the sample median.

  1. C is the correct answer. Here the sample mean, X = 64 inches, and the SD = 5 inches. Since we are given that the distribution of heights in 12 year old boys is normal, we know that 2 SDs above or below the sample mean will give us an interval containing approximately 95% of the heights in the sample. This interval would run from 64 – 2* to 64 + 2*5, or 54 inches to 74 inches.

Within Z SDs

of the mean

More than Z

SDs above

the mean

More than Z

SDs above or

below the mean

Z

Within Z SDs

of the mean

More than Z

SDs above

the mean

More than Z

SDs above or

below the mean

Z

  1. D is the correct answer. Remember, whether we calculate sample SD from a sample of 1,000 or a sample of 3,000, both are estimating the same quantity- the population standard deviation. These two estimates should be about the same, and we cannot predict which will be larger.

b. If a second study yielded the same sample statistic values, but were done with 100 women, what would happen to the width of the 95% confidence interval? Well, we know since this sample is smaller than the previous example, the SEM will be larger, leading to a wider confidence interval. In non-mathematical terms, our sample contains less information than a sample of 200 women, and therefore will yield a less precise (more uncertain) estimate of the population mean. The proof is as follows: X ±2*(SEM), where SEM = n

SD

= 2.5 mm Hg

Plugging in our sample values gives us:

140 ±2*(2.5) Æ(135 mm Hg, 145 mm Hg)

  1. A is the correct answer. Here the sample is of size n = 500, which is large enough to ensure that the Central Limit Theorem kicks in. By the Central Limit theorem, the sampling distribution the of the sample mean from a sample of 500 will be normally distributed.
  2. D is the correct answer. No general statement can be made as we do not know whether or not the sample of 200 women who agreed to participate from the original random sample of 300 was still representative of all 18 year old females. If these 200 women are inherently different from the other 100 non-participants, the results shown are biased.
  3. B is the correct answer. The more confident we want to be, the wider our confidence interval. Ninety-nine percent confidence is higher than ninety-five percent confidence; therefore the 95% confidence interval is not so wide as the 99% confidence interval.
  4. C is the correct answer. The sample is random, i.e. representative – therefore, the sample distribution should mimic the larger population distribtion, which is right-skewed.
  5. B is the correct answer. We would expect the two samples to have SD values that are similar. but, recall that the standard error (SE) is the standard deviation divided by the square-root of the sample size. Because Sample B is much larger (N=2000) than Sample A (N=100), we would then expect the SE of Sample B to be smaller than the SE of Sample A.
  6. A is the correct answer. This question is asking about the shape of the sampling distribution of the sample mean, based on samples of size 100: As the sample size is large (n=100) the Central Limit Theorem applies and the sampling distribution should be normal: hence a histogram based on the sample means of 3,000 random samples should be approximately normal : note it is not the number of samples that determines whether the Central Limit Theorem “kicks in “ but the size of each of the samples.
  1. B is the correct answer. A very straightforward application of the formula x ± 2 SE ( x )- you are given sample s.d. of 25 ounces, and know that the sample size is

100 – the estimated standard error of the sample mean is 2. 5. 10

=^25 = =

n

s (^) all

you need do is plug in: x ± 2 SE(x )= 120±2(2.5) = 120±5 = (115, 125).

  1. The correct answer is C. In this sample, pˆ^ , the estimated proportion of Baltimoreans

with health insurance, is. 65 1000

= , or 59%. As 1000.65(1-.65)≈228, we can use the

normal approximation for the 95% CI for a population proportion, given info from a

random sample. The standard error of this estimate is. 015 1000

Applying

the formula pˆ^ ± 2 SE(pˆ), yields as 95% confidence interval of (.62,.68), or 62% to 68%

for the proportions of Baltimoreans with health insurance.

“However, because women were not randomized to take the vitamin supplements but were self-selected into the vitamin exposure groups, it is not possible to attribute the higher scores to Vitamin E. It is possible that the women taking Vitamin E differed on multiple factors when compared to the women who were not taking the supplement. The difference in test scores could be attributable, at least partially, to some of these other factors.”

  1. The correct answer is C. Because the 95% confidence interval does not include zero, we would reject null hypothesis of a true mean difference of zero at the α = .05 level. Testing

Ho: μ 2 -^ μ 1 = 0

is equivalent to testing Ho: μ 2 = μ 1 , the equality of the two means.

  1. The correct answer is A. The data collected in this example is paired data, and a p- value would be obtained from the paired t-test. The test statistics would be:

tan _ _ _ _ ( )

_ _

diff

diff se X

X

s dard error of mean difference

observed mean difference t = =

where X = 15, and se( X ) = 10

So Z = 15/4 = 3.75. Since t > 2, we know p <.

  1. The correct answer is B. The standard error of a statistic is a measure of the variability of that statistic across different sample sizes – the variability of the sampling distribution. Therefore, the standard error of a statistic is the standard deviation of the sampling distribution.
  2. B is the correct answer. Despite the fact that we are computing before/after differences we ultimately are comparing these differences between two independent groups: those randomized to the diet program, and those randomized to exercise. Since we are making a comparison of mean changes between two independent groups, the appropriate test is the 2 sample unpaired t-test.
  1. The correct answer is E. This is a hard, but important question : choice a is just flat- out incorrect, based on the definition of the p-value, and choices b-c are impossible to ascertain from just a p-value, as it imparts no information about the direction/magnitude and clinical or scientific significance of the results of a study.
  2. A is the correct answer. As the 95% confidence interval for the mean difference does not include, the resulting p-value would be less than .05.
  3. C is the correct answer. The chi-squared is the correct statistical test for comparing two population proportions based on information from two (large) samples – both the sample meet the “large sample” criteria.

influenza vaccine and occurrence of AOM in children. The alternative hypothesis is the underlying true proportions of children experiencing at least one episode of AOM in the follow-up period are different for the vaccinated and non-vaccinated children : in other words, there is a relationship between the influenza vaccine and occurrence of AOM in children.

The p-value for testing this is greater than 0.05. We know this because the 95% CI for the difference in proportions between the two groups includes 0.

(d) This is a randomized study (it says so right in the question!): because randomization helps to equalize the two groups of children in terms of other characteristics (age, health, etc…) it makes it “easier” to attribute any differences found in AOM episodes to the vaccine, or attribute non-difference to the lack of vaccine efficacy in affecting AOM (as is this case with these study results). In other words, the randomized study design indicates that the lack of association found between the flu vaccine and episodes of AOM is not because the vaccine is really associated with AOM and this association is being “hidden” by other characteristics of the children that differ between the treatment and placebo group.

  1. (a) Using the same approach as in question 1, the large sample approximation for the 95% confidence intervals for the proportions in the two groups are (0.58, 0.86) in the pet group and (0.88, 1.01) in the non-pet group. But, we see a problem here! One of these confidence intervals overlaps 1! This is impossible because proportions must take values between 0 and 1. So, in thinking about the large sample approximation again, perhaps it isn’t such a good idea: the sample sizes in the two groups are only 39 and 53. An ‘exact’ approach is needed in this case.

(c) Most likely, it was not possible for the researchers to randomize these 92 patients to a pet ownership group (for practical reasons, and ethical issues for both the patients and the animal!). Ergo, it is not possible to attribute the increase survival in the pet-ownership group to owning a pet. The pet ownership-survival relationship may be fueled by other differences existing between the pet owners and those without pet: for example, differences in level and depression status. Further analysis would be necessary to help control for some of these potential difference when estimating the pet ownership/survival relationship.

  1. The best answer is E. Statistically speaking, the question of interest reduces to testing for a difference in the proportion of individuals who quit smoking on program A as compared to program B. This limits our possible choices to (b) and (e). Because of the small sample sizes (the best answer is (e), Fisher’s Exact Test.
  1. The correct answer is C. In order to complete the story you would also need to have estimates of the standard deviations of the birth weight measurements in each of the two groups of infants being compared.

2.90), or $0.90 to $2.90 per hour_._

  1. (a) Two possible phrasings:
    • a 1 year increase on age is associated with an .02 liter increase in FEV, on average
    • In two groups of men who differ by one year of age, the older groups will have average FEV of .02 liters higher than the younger group

(b) Since we have a sample of 200 men, we need not fuss with pesky t- corrections, and can just employ the general formula b ˆ 1 (^) ± 2 SE ( b ˆ 1 ), which gives a 95% CI of 0.02±2*(.005), giving a 95% CI of (.01, .03). So based on this sample of 200 men, the true increase associated with an 1 year increase in age is between .01 liters and .03 liters. (with 95% confidence, etc..)

(c) The strength of the linear association can not be assessed without viewing a scatterplot and seeing an estimated correlation coefficient.

(d) To find the difference between 60 and 50 year old men, we simply multiply the coefficient for age (representing a 1 year difference) by 10: 0.02*10 = 0.2.

(e) No – these results are based on information from a sample of men aged 20 – 60: The results are not necessarily applicable to men outside this age range.

BIOSTATISTICS

SURVIVAL ANALYSIS

SOLUTIONS

  1. Survival analysis would be used. The outcome variable is “time to AIDS”, where some of the times are censored. When we have time to event data, the best choice is to use survival, and we could more specifically use the Kaplan-Meier approach to estimate the survival curve and the median time to AIDS.
  2. The correct answer is D. The median time (i.e. the time at which S(t) = 0.50) is not shown on the plot. We see that S(t) only ranges from 0.90 to 1.00, meaning that the median time is not within the 180 days.
  3. The correct answer is B. At 100 days, the height of the survival curve, S(t), is approximately 0.94.
  4. C is the correct answer. By taking the average, we are treating the censored times as observed times of death. But, when an observation is censored, we know that the true time of death must be after the censored time of death. So, the censored times are underestimates of the true survival times. As a result, taking the mean of both the observed time of death and censored times of death, we get an underestimate of the true mean survival time.