Chloe's question via email about a p-value

  • Context:
  • Thread starter Thread starter Prove It
  • Start date Start date
  • Tags Tags
    Email P-value
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 10K views
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:
Reply
  • Like
Likes   Reactions: bhobba
Physics news on Phys.org