Test Hypothesis ##\it{p}##-value and ##\sigma##

  • Context: Graduate 
  • Thread starter Thread starter ChrisVer
  • Start date Start date
  • Tags Tags
    Test
Click For Summary
SUMMARY

This discussion focuses on hypothesis testing using p-values and Z-scores to evaluate the significance of data. The user calculated two p-values, p₁ = 0.105 and p₂ = 0.0002, and seeks to relate these results to standard deviations, denoted as σ. The conversation highlights the use of the norminv function in MATLAB to derive Z-scores from p-values, specifically using the formula Z = (μ - x̄) / σ. The importance of clarifying whether σ refers to population or sample standard deviation is also emphasized.

PREREQUISITES
  • Understanding of hypothesis testing concepts, including null and alternative hypotheses (H₀ and H₁).
  • Familiarity with p-values and their interpretation in statistical analysis.
  • Knowledge of Z-scores and their calculation from standard normal distributions.
  • Experience with MATLAB, specifically the norminv function for statistical computations.
NEXT STEPS
  • Explore the implications of different p-values in hypothesis testing.
  • Learn how to calculate Z-scores from p-values using MATLAB's norminv function.
  • Investigate the differences between population and sample standard deviations in statistical analysis.
  • Study the relationship between p-values and confidence intervals in hypothesis testing.
USEFUL FOR

Statisticians, data analysts, and researchers involved in hypothesis testing and statistical analysis will benefit from this discussion, particularly those using MATLAB for data evaluation.

ChrisVer
Science Advisor
Messages
3,372
Reaction score
465
Let's say I have some data and I want to test the hypothesis H_0 (only background) vs the hypothesis H_1 (bkg +signal).

I did that using the ##p##-value and I got with a Z-score and two different approaches (taking all the data or the data within some mass window) the results:
\it{p}_1 =0.105
\it{p}_2 = 0.0002
How can I relate those results to standard deviations ##\sigma## ?

(I hope I used the right prefix)
 
Physics news on Phys.org
The p - value is based on the standard normal distribution, so (assuming a 2 tailed test) you can back it out using a norminv(p/2) function in most stats toolkits.
For example, norminv(.105/2, 0, 1) in MATLAB returns -1.6211, indicating that your sample data was 1.62 standard deviations away from your hypothesized mean.
 
so is that the Z-value?
Because I calculated p from Z's CDF.
 
Z can be defined as the number of standard deviations from the mean.
You can tell by the form: ##Z = \frac{ \mu-\overline x }{\sigma}##
*edit*
which can be rewritten as ## Z\sigma = \mu - \overline x##, which can be said "the difference between the sample mean and the hypothesized population mean is equal to Z standard deviations. "
 
ChrisVer said:
How can I relate those results to standard deviations ##\sigma## ?

You haven't stated a specific statistical question. Are you are referring to a problem you described in a different thread? What do you mean by \sigma? Is it a population standard deviation or a sample standard deviation? What do you mean by "relating" a p-value to a standard deviation?
 

Similar threads

Replies
20
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 24 ·
Replies
24
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K