19.9k views
5 votes
How to calculate pvalue

User Tanius
by
5.1k points

2 Answers

2 votes

Answer:

The p-value is calculated using the sampling distribution of the test statistic under the null hypothesis, the sample data, and the type of test being done (lower-tailed test, upper-tailed test, or two-sided test). The p-value for: a lower-tailed test is specified by: p-value = P(TS ts | H 0 is true) = cdf(ts)

Explanation:

May this answer is helpful for you

User Deepakmodak
by
4.8k points
3 votes

Answer:

If your test statistic is positive, first find the probability that Z is greater than your test statistic (look up your test statistic on the Z-table, find its corresponding probability, and subtract it from one). Then double this result to get the p-value.

User Hezbullah Shah
by
4.6k points