In: Statistics and Probability
How do you construct a confidence interval for a t test and a z test?
Answer:-
For a t test:-
Actually there are 4 steps involved to construct a confidence interval
Step 1:-Calculate the sample mean which is denoted as
Step 2:-Calculate the critical value of t at a given confidence interval
Step 3:-Calculate the standard deviation denoted as ()
Step 4:-Identify the sample size (n)
Formula to find Confidence interval for a t test is
For a z test:-
Step 1:-Calculate the sample mean which is denoted as
Step 2:-Calculate the critical value of z at a given confidence interval
Step 3:-Calculate the standard deviation denoted as ()
Step 4:-Identify the sample size (n)
Formula to find Confidence interval for a z test is