MHB Chloe's question via email about a p-value

  • Thread starter Thread starter Prove It
  • Start date Start date
  • Tags Tags
    Email P-value
Click For Summary
The discussion centers on calculating the p-value for a hypothesis test with null hypothesis H0: μ = 13 and alternative hypothesis Ha: μ < 13, using provided data. The test statistic is calculated as approximately -0.253, leading to an initial p-value estimate of about 0.401. A more precise p-value obtained through technology is approximately 0.399948, confirming the accuracy of the initial approximation. The conversation highlights the importance of using both manual calculations and technology for statistical analysis. Overall, the calculations demonstrate a solid understanding of hypothesis testing and p-value determination.
Prove It
Gold Member
MHB
Messages
1,434
Reaction score
20
pvalue.png

I'm assuming the hypothesis test is

$\displaystyle H_0 : \mu = 13 \quad \quad H_a : \mu < 13 $

We are given $\displaystyle \mu = 13, \quad \sigma = 2.47, \quad \bar{x} = 12.86 , \quad n = 20 $.

The test statistic is

$\displaystyle \begin{align*} z &= \frac{\bar{x} - \mu}{\frac{\sigma}{\sqrt{n}}} \\
&= \frac{12.86 - 13}{\frac{2.47}{\sqrt{20}}} \\
&\approx -0.253\,481 \end{align*} $

Thus the p value is

$\displaystyle \begin{align*} p &= \textrm{Pr}\left( Z < -0.253\,481 \right) \\
&\approx \Phi \left( -0.25 \right) \textrm{ from the Z distribution table}\\
&= 0.401\,29 \end{align*} $

However, a CAS (or Linear Interpolation) could be used to get a more accurate value. Using technology, I find the p value to be $\displaystyle 0.399\,948 $, which our approximation is very close to.
 
Last edited by a moderator:
Mathematics news on Phys.org
Thread 'Erroneously  finding discrepancy in transpose rule'
Obviously, there is something elementary I am missing here. To form the transpose of a matrix, one exchanges rows and columns, so the transpose of a scalar, considered as (or isomorphic to) a one-entry matrix, should stay the same, including if the scalar is a complex number. On the other hand, in the isomorphism between the complex plane and the real plane, a complex number a+bi corresponds to a matrix in the real plane; taking the transpose we get which then corresponds to a-bi...

Similar threads

  • · Replies 4 ·
Replies
4
Views
11K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 2 ·
Replies
2
Views
10K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
5K