Respuesta :
Answer:
Yes, there is enough evidence to support the claim that dog owners in the country spend more time walking their dogs than do dog owners in the city (P-value=0.0000263).
Step-by-step explanation:
This is a hypothesis test for the difference between populations means.
The claim is that dog owners in the country (sample 2) spend more time walking their dogs than do dog owners in the city (sample 1).
Then, the null and alternative hypothesis are:
[tex]H_0: \mu_1-\mu_2=0\\\\H_a:\mu_1-\mu_2< 0[/tex]
The significance level is 0.05.
The sample 1, of size n1=20 has a mean of 10 and a standard deviation of 3.
The sample 2, of size n2=21 has a mean of 15 and a standard deviation of 4.
The difference between sample means is Md=-5.
[tex]M_d=M_1-M_2=10-15=-5[/tex]
The estimated standard error of the difference between means is computed using the formula:
[tex]s_{M_d}=\sqrt{\dfrac{\sigma_1^2}{n_1}+\dfrac{\sigma_2^2}{n_2}}=\sqrt{\dfrac{3^2}{20}+\dfrac{4^2}{21}}\\\\\\s_{M_d}=\sqrt{0.45+0.762}=\sqrt{1.212}=1.101[/tex]
Then, we can calculate the t-statistic as:
[tex]t=\dfrac{M_d-(\mu_1-\mu_2)}{s_{M_d}}=\dfrac{-5-0}{1.101}=\dfrac{-5}{1.101}=-4.54[/tex]
The degrees of freedom for this test are:
[tex]df=n_1+n_2-1=20+21-2=39[/tex]
This test is a left-tailed test, with 39 degrees of freedom and t=-4.54, so the P-value for this test is calculated as (using a t-table):
[tex]\text{P-value}=P(t<-4.54)=0.0000263[/tex]
As the P-value (0.0000263) is smaller than the significance level (0.05), the effect is significant.
The null hypothesis is rejected.
There is enough evidence to support the claim that dog owners in the country spend more time walking their dogs than do dog owners in the city.
Using the t-distribution, it is found that since the test statistic is t = 4.54 > 2.32, it can be concluded that dog owners in the country spend more time walking their dogs than do dog owners in the city.
At the null hypothesis, we test if dog owners in the country and in the city spend the same amount of time walking their dogs, that is:
[tex]H_0: \mu_{Co} - \mu_{Ci} = 0[/tex]
At the alternative hypothesis, we test if dog owners in the country spend more time, that is:
[tex]H_1: \mu_{Co} - \mu_{Ci} > 0[/tex]
The standard errors are:
[tex]s_{Co} = \frac{4}{\sqrt{21}} = 0.8729[/tex]
[tex]s_{Ci} = \frac{3}{\sqrt{20}} = 0.6708[/tex]
The distribution of the differences has:
[tex]\overline{x} = \mu_{Co} - \mu_{Ci} = 15 - 10 = 5[/tex]
[tex]s = \sqrt{s_{Co}^2 + s_{Ci}^2} = \sqrt{0.8729^2 + 0.6708^2} = 1.1009[/tex]
We have the standard deviation for the samples, hence, the t-distribution is used. The test statistic is given by:
[tex]t = \frac{\overline{x} - \mu}{s}[/tex]
In which [tex]\mu[/tex] is the value tested at the null hypothesis, for this problem [tex]\mu = 0[/tex], hence:
[tex]t = \frac{\overline{x} - \mu}{s}[/tex]
[tex]t = \frac{5 - 0}{1.1009}[/tex]
[tex]t = 4.54[/tex]
Since the test statistic is t = 4.54 > 2.32, it can be concluded that dog owners in the country spend more time walking their dogs than do dog owners in the city.
A similar problem is given at https://brainly.com/question/17192140