# You wish to compare the prices of apartments in two neighboring towns. You take a simple random sample of 12 apartments in town A and calculate the average price of these apartments. You repeat this for 15 apartments in town B. Let \mu_1μ 1 represent the true average price of apartments in town A and \mu_2μ 2 the average price in town B.Suppose we were to use the two-sample t test and found that the t statistic for comparing the mean prices is 2.1. What can we say about the value of the p-value?

**Answer:**

**The value of P-value is 0.0472.**

**Step-by-step explanation:**

We are given that you take a simple random sample of 12 apartments in town A and calculate the average price of these apartments. You repeat this for 15 apartments in town B.

Let = *true average price of apartments in town A*

= *true average price of apartments in town B*

So, **Null Hypothesis**, :

**Alternate Hypothesis,** :

The test statistics that have been used here is __ two-sample t-test statistics__, i.e;

The test statistics given to us is 2.1

Now, the P-value of the test statistics is given by the following formula;

P-value = P( > 2.1)

= P( > 2.1) = 0.0236

In two-tailed test, P-value is calculated as = 2 0.0236 = **0.0472**

**Hence, the value of the p-value is 0.0472.**

If your question is not fully disclosed, then try using the search on the site and find other answers on the subject Mathematics.

Find another answersMathematics, published 11.05.2023

Mathematics, published 23.03.2023

Use the equation to identify the center and radius of the circle (X+3)^2+(y-7^2=11

Mathematics, published 27.05.2023