Instead, you should be using the t distribution with 39 degrees of freedom.

  • Thread starter Thread starter joemama69
  • Start date Start date
  • Tags Tags
    P-value Variance
Click For Summary
SUMMARY

The discussion centers on the application of the t-distribution for calculating confidence intervals and hypothesis testing when dealing with a sample size of 40 and unknown variance. The user initially attempted to compute a 95% confidence interval using the normal distribution, which is incorrect in this context. The correct approach requires the use of the t-distribution with 39 degrees of freedom due to the estimation of both mean and variance from the sample data. The user also miscalculated the p-value, leading to confusion regarding the hypothesis test.

PREREQUISITES
  • Understanding of t-distribution and its application in statistics
  • Knowledge of confidence intervals and hypothesis testing
  • Familiarity with calculating sample mean and variance
  • Ability to interpret p-values in statistical tests
NEXT STEPS
  • Learn how to calculate confidence intervals using the t-distribution
  • Study the differences between normal and t-distributions in hypothesis testing
  • Explore the concept of degrees of freedom in statistical analysis
  • Practice calculating p-values using both Z-tables and T-tables
USEFUL FOR

Statisticians, data analysts, students studying inferential statistics, and anyone involved in hypothesis testing and confidence interval estimation.

joemama69
Messages
390
Reaction score
0

Homework Statement



Measure of Contaminatino has a normal distribution w/ unknown mean and unknown variance. Random sample of n=40 provides sample mean = 28.30 and sample variance = 17.38

1)Find Upper 95% Confidence Interval

2)Test Null Hyp = 25.5 vs Alt Hyp = 28.30... Upper Tailed

Homework Equations





The Attempt at a Solution



1)...95% CI... therefore z(1.645) = 95%

(xbar)+z sqrt(sigma^2 / n) = 28.30 + 1.645 sqrt(17.38 / 40) = 28.30 + 1.0843=29.38

(0 < u < 29.38)


2) Test Null Hyp = 25.5 vs Alt Hyp = 28.30... Upper Tailed

Since n = 40 we do not to use T-Tables and can just compute the P-Value from Z-Table.

Z=(x-u)/sqrt(sigma^2/n) = (28.30 - 25.50)/sqrt(17.38 / 40) = z(4.25) = 1.00 ?

Since it us upper tailed P-Value = 1-z(4.25) = 1-1 = 0 ?


Where did I go wrong... Based on my 95% CI, Shouldnt I get a little less than 95% for a value lessthan 29.38?
 
Physics news on Phys.org
joemama69 said:

Homework Statement



Measure of Contaminatino has a normal distribution w/ unknown mean and unknown variance. Random sample of n=40 provides sample mean = 28.30 and sample variance = 17.38

1)Find Upper 95% Confidence Interval

2)Test Null Hyp = 25.5 vs Alt Hyp = 28.30... Upper Tailed

Homework Equations





The Attempt at a Solution



1)...95% CI... therefore z(1.645) = 95%

(xbar)+z sqrt(sigma^2 / n) = 28.30 + 1.645 sqrt(17.38 / 40) = 28.30 + 1.0843=29.38

(0 < u < 29.38)


2) Test Null Hyp = 25.5 vs Alt Hyp = 28.30... Upper Tailed

Since n = 40 we do not to use T-Tables and can just compute the P-Value from Z-Table.

Z=(x-u)/sqrt(sigma^2/n) = (28.30 - 25.50)/sqrt(17.38 / 40) = z(4.25) = 1.00 ?

Since it us upper tailed P-Value = 1-z(4.25) = 1-1 = 0 ?


Where did I go wrong... Based on my 95% CI, Shouldnt I get a little less than 95% for a value lessthan 29.38?

The questions make no sense: 95% confidence interval of WHAT? The mean? The variance? The actual level of contamination?

If you do want a confidence interval for the mean, you are using the wrong distribution: when you have to estimate both the mean and the variance from the data, the normal distribution does not apply. (It would apply if you knew the variance exactly and only had to estimate the mean from the data.)
 

Similar threads

Replies
4
Views
3K
Replies
5
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K