**Statistical Inference Quiz Answer. In this post you will get Quiz & Assignment Answer Of Statistical Inference**

## Statistical Inference Quiz

## Offered By ”Johns Hopkins University”

**Quiz 1**

1.

Question 1

Consider influenza epidemics for two parent heterosexual families. Suppose that the probability is 17% that at least one of the parents has contracted the disease. The probability that the father has contracted influenza is 12% while the probability that both the mother and father have contracted the disease is 6%. What is the probability that the mother has contracted influenza?

(Hints look at lecture 2 around 5:30 and chapter 4 problem 4).

1 point

- 6%
- 17%
- 5%
**11%**

2.

Question 2

A random variable, XX is uniform, a box from 0 to 1 of height 1. (So that its density is f(x) = 1f(x)=1 for 0\leq x \leq 10≤x≤1.) What is its 75th percentile?

(Hints, look at lecture 2 around 21:30 and Chapter 5 Problem 5. Also, look up the help function for the qunif command in R.)

1 point

- 0.10
**0.75**- 0.50
- 0.25

3.

Question 3

You are playing a game with a friend where you flip a coin and if it comes up heads you give her XX dollars and if it comes up tails she gives you YY dollars. The probability that the coin is heads is pp (some number between 00 and 11.) What has to be true about XX and YY to make so that both of your expected total earnings is 00. The game would then be called “fair”.

(Hints, look at Lecture 4 from 0 to 6:50 and Chapter 5 Problem 6. Also, for further reading on fair games and gambling, start with the Dutch Book problem ).

1 point

- X = Y X=Y
- \frac{p}{1-p} = \frac{X}{Y}1−pp=YX
- p = \frac{X}{Y} p=YX

**\frac{p}{1-p} = \frac{Y}{X}1−pp=XY**

4.

Question 4

A density that looks like a normal density (but may or may not be exactly normal) is exactly symmetric about zero. (Symmetric means if you flip it around zero it looks the same.) What is its median?

(Hints, look at quantiles from Lecture 2 around 21:30 and Chapter 2 Problem 7.

1 point

- The median must be different from the mean.
**The median must be 0.**- We can’t conclude anything about the median.
- The median must be 1.

5.

Question 5

Consider the following PMF shown below in R

12345

x <- 1:4

p <- x/sum(x)

temp <- rbind(x, p)

rownames(temp) <- c(“X”, “Prob”)

temp

123

## [,1] [,2] [,3] [,4]

## X 1.0 2.0 3.0 4.0

## Prob 0.1 0.2 0.3 0.4

What is the mean?

(Hint, watch Lecture 4 on expectations of PMFs.)

1 point

- 1
- 4
- 2
**3**

6.

Question 6

A web site (www.medicine.ox.ac.uk/bandolier/band64/b64-7.html) for home pregnancy tests cites the following: “When the subjects using the test were women who collected and tested their own samples, the overall sensitivity was 75%. Specificity was also low, in the range 52% to 75%.” Assume the lower value for the specificity. Suppose a subject has a positive test and that 30% of women taking pregnancy tests are actually pregnant. What number is closest to the probability of pregnancy given the positive test?

(Hints, watch Lecture 3 at around 7 minutes for a similar example. Also, there’s a lot of Bayes’ rule problems and descriptions out there, for example here’s one for HIV testing. Note, discussions of Bayes’ rule can get pretty heady. So if it’s new to you, stick to basic treatments of the problem. Also see Chapter 3 Question 5.)

1 point

- 10%
- 30%
- 20%
**40%**

**Week- 2**

**Quiz 2**

1.

Question 1

What is the variance of the distribution of the average an IID draw of nn observations from a population with mean \muμ and variance \sigma^2σ

2

.

1 point

**\frac{\sigma^2}{n}nσ2**

2 \sigma / \sqrt{n} 2σ/n

\sigma^2 σ2\sigma /

n σ/n

2.

Question 2

Suppose that diastolic blood pressures (DBPs) for men aged 35-44 are normally distributed with a mean of 80 (mm Hg) and a standard deviation of 10. About what is the probability that a random 35-44 year old has a DBP less than 70?

1 point

16%

22%

**32%**

8%

3.

Question 3

Brain volume for adult women is normally distributed with a mean of about 1,100 cc for women with a standard deviation of 75 cc. What brain volume represents the 95th percentile?

1 point

**approximately 1223**

approximately 1175

approximately 977

approximately 1247

4.

Question 4

Refer to the previous question. Brain volume for adult women is about 1,100 cc for women with a standard deviation of 75 cc. Consider the sample mean of 100 random adult women from this population. What is the 95th percentile of the distribution of that sample mean?

1 point

approximately 1088 cc

**approximately 1112 cc**

approximately 1110 cc

approximately 1115 cc

5.

Question 5

You flip a fair coin 5 times, about what’s the probability of getting 4 or 5 heads?

1 point

12%

3%

6%

**19%**

6.

Question 6

The respiratory disturbance index (RDI), a measure of sleep disturbance, for a specific population has a mean of 15 (sleep events per hour) and a standard deviation of 10. They are not normally distributed. Give your best estimate of the probability that a sample mean RDI of 100 people is between 14 and 16 events per hour?

1 point

47.5%

**68%**

95%

34%

7.

Question 7

Consider a standard uniform density. The mean for this density is .5 and the variance is 1 / 12. You sample 1,000 observations from this distribution and take the sample mean, what value would you expect it to be near?

1 point

0.75

0.25

0.10

**0.5**

8.

Question 8

The number of people showing up at a bus stop is assumed to be

Poisson with a mean of 5 5 people per hour. You watch the bus

stop for 3 hours. About what’s the probability of viewing 10 or fewer people?

1 point

0.06

0.03

0.08

**0.12**

**Week- 3**

**Quiz 3**

1.

Question 1

In a population of interest, a sample of 9 men yielded a sample average brain volume of 1,100cc and a standard deviation of 30cc. What is a 95% Student’s T confidence interval for the mean brain volume in this new population?

1 point

[1031, 1169]

**[1077,1123]**

[1080, 1120]

[1092, 1108]

2.

Question 2

A diet pill is given to 9 subjects over six weeks. The average difference in weight (follow up – baseline) is -2 pounds. What would the standard deviation of the difference in weight have to be for the upper endpoint of the 95% T confidence interval to touch 0?

1 point

2.10

0.30

1.50

**2.60**

3.

Question 3

In an effort to improve running performance, 5 runners were either given a protein supplement or placebo. Then, after a suitable washout period, they were given the opposite treatment. Their mile times were recorded under both the treatment and placebo, yielding 10 measurements with 2 per subject. The researchers intend to use a T test and interval to investigate the treatment. Should they use a paired or independent group T test and interval?

1 point

**It’s necessary to use both**

A paired interval

You could use either

Independent groups, since all subjects were seen under both systems

4.

Question 4

In a study of emergency room waiting times, investigators consider a new and the standard triage systems. To test the systems, administrators selected 20 nights and randomly assigned the new triage system to be used on 10 nights and the standard system on the remaining 10 nights. They calculated the nightly median waiting time (MWT) to see a physician. The average MWT for the new system was 3 hours with a variance of 0.60 while the average MWT for the old system was 5 hours with a variance of 0.68. Consider the 95% confidence interval estimate for the differences of the mean MWT associated with the new system. Assume a constant variance. What is the interval? Subtract in this order (New System – Old System).

1 point

**[-2.75, -1.25]**

[-2,70, -1.29]

[1.25, 2.75]

[1.29, 2.70]

5.

Question 5

Suppose that you create a 95% T confidence interval. You then create a 90% interval using the same data. What can be said about the 90% interval with respect to the 95% interval?

1 point

It is impossible to tell.

**The interval will be narrower.**

The interval will be wider

The interval will be the same width, but shifted.

6.

Question 6

To further test the hospital triage system, administrators selected 200 nights and randomly assigned a new triage system to be used on 100 nights and a standard system on the remaining 100 nights. They calculated the nightly median waiting time (MWT) to see a physician. The average MWT for the new system was 4 hours with a standard deviation of 0.5 hours while the average MWT for the old system was 6 hours with a standard deviation of 2 hours. Consider the hypothesis of a decrease in the mean MWT associated with the new treatment.

What does the 95% independent group confidence interval with unequal variances suggest vis a vis this hypothesis? (Because there’s so many observations per group, just use the Z quantile instead of the T.)

1 point

When subtracting (old – new) the interval contains 0. The new system appears to be effective.

**When subtracting (old – new) the interval is entirely above zero. The new system appears to be effective**.

When subtracting (old – new) the interval contains 0. There is not evidence suggesting that the new system is effective.

When subtracting (old – new) the interval is entirely above zero. The new system does not appear to be effective.

7.

Question 7

Suppose that 18 obese subjects were randomized, 9 each, to a new diet pill and a placebo. Subjects’ body mass indices (BMIs) were measured at a baseline and again after having received the treatment or placebo for four weeks. The average difference from follow-up to the baseline (followup – baseline) was −3 kg/m2 for the treated group and 1 kg/m2 for the placebo group. The corresponding standard deviations of the differences was 1.5 kg/m2 for the treatment group and 1.8 kg/m2 for the placebo group. Does the change in BMI over the four week period appear to differ between the treated and placebo groups? Assuming normality of the underlying data and a common population variance, calculate the relevant *90%* t confidence interval. Subtract in the order of (Treated – Placebo) with the smaller (more negative) number first.

1 point

[2.636, 5.364]

[2.469, 5.531]

**[-5.364, -2.636]**

[-5.531, -2.469]

**Week- 4**

**Quiz 4**

1.

Question 1

A pharmaceutical company is interested in testing a potential blood pressure lowering medication. Their first examination considers only subjects that received the medication at baseline then two weeks later. The data are as follows (SBP in mmHg)

Subject Baseline Week 2

1 140 132

2 138 135

3 150 151

4 148 146

5 135 130

Consider testing the hypothesis that there was a mean reduction in blood pressure? Give the P-value for the associated two sided T test.

(Hint, consider that the observations are paired.)

1 point

0.043

**0.087**

0.05

0.10

2.

Question 2

A sample of 9 men yielded a sample average brain volume of 1,100cc and a standard deviation of 30cc. What is the complete set of values of \mu_0 μ

0

that a test of H_0: \mu = \mu_0 H

0

:μ=μ

0

would fail to reject the null hypothesis in a two sided 5% Students t-test?

1 point

1080 to 1120

**1077 to 1123**

1081 to 1119

1031 to 1169

3.

Question 3

Researchers conducted a blind taste test of Coke versus Pepsi. Each of four people was asked which of two blinded drinks given in random order that they preferred. The data was such that 3 of the 4 people chose Coke. Assuming that this sample is representative, report a P-value for a test of the hypothesis that Coke is preferred to Pepsi using a one sided exact test.

1 point

0.005

**0.31**

0.62

0.10

4.

Question 4

Infection rates at a hospital above 1 infection per 100 person days at risk are believed to be too high and are used as a benchmark. A hospital that had previously been above the benchmark recently had 10 infections over the last 1,787 person days at risk. About what is the one sided P-value for the relevant test of whether the hospital is *below* the standard?

1 point

0.11

0.52

0.22

**0.03**

5.

Question 5

Suppose that 18 obese subjects were randomized, 9 each, to a new diet pill and a placebo. Subjects’ body mass indices (BMIs) were measured at a baseline and again after having received the treatment or placebo for four weeks. The average difference from follow-up to the baseline (followup – baseline) was −3 kg/m2 for the treated group and 1 kg/m2 for the placebo group. The corresponding standard deviations of the differences was 1.5 kg/m2 for the treatment group and 1.8 kg/m2 for the placebo group. Does the change in BMI appear to differ between the treated and placebo groups? Assuming normality of the underlying data and a common population variance, give a pvalue for a two sided t test.

1 point

Less than 0.10 but larger than 0.05

Larger than 0.10

**Less than 0.01**

Less than 0.05, but larger than 0.01

6.

Question 6

Brain volumes for 9 men yielded a 90% confidence interval of 1,077 cc to 1,123 cc. Would you reject in a two sided 5% hypothesis test of

H_0 : \mu = 1,078 H

0

:μ=1,078?

1 point

It’s impossible to tell.

Yes you would reject.

Where does Brian come up with these questions?

**No you wouldn’t reject.**

7.

Question 7

Researchers would like to conduct a study of 100 100 healthy adults to detect a four year mean brain volume loss of .01~mm^3 .01 mm

3

. Assume that the standard deviation of four year volume loss in this population is .04~mm^3 .04 mm

3

. About what would be the power of the study for a 5\% 5% one sided test versus a null hypothesis of no volume loss?

1 point

0.50

0.70

**0.80**

0.60

8.

Question 8

Researchers would like to conduct a study of n n healthy adults to detect a four year mean brain volume loss of .01~mm^3 .01 mm

3

. Assume that the standard deviation of four year volume loss in this population is .04~mm^3 .04 mm

3

. About what would be the value of n n needed for 90\% 90% power of type one error rate of 5\% 5% one sided test versus a null hypothesis of no volume loss?

1 point

160

120

180

**140**

9.

Question 9

As you increase the type one error rate, \alpha α, what happens to power?

1 point

No, for real, where does Brian come up with these problems?

It’s impossible to tell given the information in the problem.

**You will get larger power.**

You will get smaller power.

**Peer-graded Assignment: Statistical Inference Course Project**