Question

In: Statistics and Probability

A study is conducted to assess whether residents in City A spent a different out-of-pocket amount...

A study is conducted to assess whether residents in City A spent a different out-of-pocket amount on prescription medications from residents in City B last year. The study is restricted to residents who are 50 years of age or older. Residents are selected at random. For each resident, the total amount of dollars spent on prescription medications over the last year is recorded. The summary statistics of the sample data are given in the table below.

Let μ1 be the mean out-of-pocket amount that residents in City A spent, and μ2 be the mean out-of-pocket amount that residents in City B spent. Run a two-sample t-test assuming equal variances. Use a significance level of 0.05.

City Sample size Sample mean Sample standard deviation

A 40 381 39 B 52 422 45

  1. Write down the null hypothesis. (5 points)

  2. Write down the alternative hypothesis. (5 points)

  3. Calculate the point estimate for μ1 − μ2. (5 points)

  4. Calculate the pooled sample variance. (10 points)

  5. Calculate the standard error of the point estimate in c. (10 points)

  6. Calculate the test statistic. (10 points)

  7. Find out the critical value. (5 points)

  8. Is there a statistically significant difference in the out-of-pocket amount spent on prescription medications between City A and City B? (5 points)

Solutions

Expert Solution

Write down the null hypothesis.

Nul hypothesis:

Ho:μ1=μ2

Alternative hypothesis

Ha::μ1 μ2

Calculate the point estimate for μ1 − μ2. (5 points)

point estimate for μ1 − μ2=sample mean of A -sample mean of B

=381 -422

= -41

Calculate the pooled sample variance

Sp^2=(n1-1)*s1^2+(n2-1)*s2^2/n1+n2-2

=((40-1)*39 ^2+(52-1)*45^2)/((40+52-2))

=1806.6

Calculate the standard error of the point estimate in c.

S(m1-m2)=sqrt(Sp^2/n1+Sp^2/n2)

=sqrt((1806.6/40)+(1806.6/52))

=8.939089

Calculate the test statistic.

t=x1-x2/Sp*sqrt(1/n1+1/n2)

Sp=sqrt(1806.6)=42.50412

t=(381 -422)/(42.50412*sqrt((1/40)+(1/52)))

t=-4.586597

Find out the critical value

df=n1+n2-2

df=40+52-2=90

=T.INV.2T(0.05,90)

=1.986674541

critical t values are:

-1.986674541 and +1.986674541

Is there a statistically significant difference in the out-of-pocket amount spent on prescription medications between City A and City B?

test statistic,t<-1.9867

Reject Ho.

There is sufficient statistical evdience at 5% level of significance to conclude that there a statistically significant difference in the out-of-pocket amount spent on prescription medications between City A and City B


Related Solutions

A study is conducted to assess whether residents in City A spent a different out-of-pocket amount...
A study is conducted to assess whether residents in City A spent a different out-of-pocket amount on prescription medications from residents in City B last year. The study is restricted to residents who are 50 years of age or older. Residents are selected at random. For each resident, the total amount of dollars spent on prescription medications over the last year is recorded. The summary statistics of the sample data are given in the table below. Let µ1 be the...
A study was conducted to compare males and females and the amount of money spent on...
A study was conducted to compare males and females and the amount of money spent on a particular mobile phone app. Data for a large random sample of males (n>1000) and a large random sample of females (n>1000) were extracted. What type of analysis will best allow us to determine if the average amount of money spent on the particular mobile phone app is greater for males than for females? options: An independent samples comparison of population means. A paired...
A research study was conducted to assess whether there is an association between stress disorders in...
A research study was conducted to assess whether there is an association between stress disorders in pregnancy and autism spectrum disorders (ASD) in their children born out of these pregnancies. Forty children with ASD and fifty without ASD were selected for investigation. Mothers were asked about whether they suffered from stress disorders during their pregnancy. This study is an example of a:3 a. Prospective cohort study b. Retrospective cohort study c. Case control study d. Randomized controlled trial
A study is performed in a large southern town to determine whether the average amount spent...
A study is performed in a large southern town to determine whether the average amount spent on fod per four person family in the town is significantly different from the national average. Assume the national average amount spent on food for a four- person family is $150. A what is the null and alternative hypothesis? b. Is the sample evidence significant? significance level? Family Weekly food expense 1 $198.23 2 $143.53 3 $207.48 4 $134.55 5 $182.01 6 $189.84 7...
In New York City, a study was conducted to evaluate whether any information that is available...
In New York City, a study was conducted to evaluate whether any information that is available at the time of birth can be used to identify children with special educational needs. In a random sample of 45 third-graders enrolled in the special education program of the public school system, 4 have mothers who have had more than 12 years of schooling. A) Construct a 90% CI for the population proportion of children with special educational needs whose mothers have had...
1. An experiment is to be conducted to assess effect of temperature on the amount of...
1. An experiment is to be conducted to assess effect of temperature on the amount of impurities removed by using water samples contaminated with the same level of impurity. Six samples are to be tested at each of 5 temperatures and the amount of impurities removed in each sample recorded. (a) What is the response variable? (b) What is the factor of interest? (c) What are the levels of this factor? (d) What experimental design is suitable? (e) Describe how...
In 2017, a study on the salary distribution of Paris residents was conducted. Assume that the...
In 2017, a study on the salary distribution of Paris residents was conducted. Assume that the salaries were normally distributed. A random sample of 10 salaries was selected and the data are listed below: 3200 3500 3000 2100 2950 2050 2440 3100 3500 2500 In another study conducted in the same year (2015), the average monthly salary of residents in Bordeaux was found to be about €2353. And the standard deviation of the monthly salaries was €420. a. Assume that...
In 2017, a study on the salary distribution of Paris residents was conducted. Assume that the...
In 2017, a study on the salary distribution of Paris residents was conducted. Assume that the salaries were normally distributed. A random sample of 10 salaries was selected and the data are listed below: 3200 3500 3000 2100 2950 2050 2440 3100 3500 2500 Question 8: Assume that the standard deviation of the salaries was still the same as in 2015. Estimate the average salary (in 2017) with 95% confidence. Question 9: The assumption made in Question 8 was certainly...
In a study to estimate the proportion of residents in a certain city and its suburbs...
In a study to estimate the proportion of residents in a certain city and its suburbs who favor the construction of a nuclear power plant, it is found that 210 of 300 urban residents favor the construction while only 180 of 200 suburban residents are in favor. (a) Is there a significant difference between the proportion of urban and suburban residents who favor construction of the nuclear power plant? α=0.05. (b) Construct a 95% confidence interval for the difference of...
A study conducted by the MLC on campus found the number of hours spent at the...
A study conducted by the MLC on campus found the number of hours spent at the MLC during a week. The distribution of times spent at the MLC is normally distributed with an average of 75 minutes and a standard deviation of 18 minutes. (a) If a single student that uses the MLC is selected at random, what is the probability that this student spent between 80 and 100 minutes at the MLC that week? (b) Now if a sample...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT