Hypothesis Testing Stats: Making a Test w/ Unknown SD & Tables

AI Thread Summary
The discussion focuses on conducting hypothesis tests when the population standard deviation is unknown, emphasizing the use of t-distribution and tables. The user outlines the process of determining the test statistic and p-value for one-tailed and two-tailed tests, while seeking clarification on the correct application of alternative hypotheses based on specific contexts. It is noted that the choice between one-tailed and two-tailed tests affects the acceptance region in hypothesis testing. The conversation also highlights that hypothesis testing is a decision-making procedure rather than a definitive proof of correctness. Ultimately, the user expresses satisfaction with understanding the general procedure for hypothesis testing as taught in introductory statistics courses.
Klungo
Messages
135
Reaction score
1
Statistics doesn't come to me as naturally as math.

I'm curious as to how to make a hypothesis test under the assumptions that the population standard deviation is unknown and using tables only.

Here is my understanding.

Given
Suppose:
H_0: \mu = \mu_0.
Suppose also that:
\bar{x}, s is the mean and standard deviation of a sample of size n.
Suppose a significance level of \alpha.

Question: If \bar{x} < \mu_0, do we use H_A: \mu < \mu_0?
When do we use <,>,\neq?

Test Statistic
Since the population standard deviation is unknown, we "standardize" to a random variable T with a t distribution with n-1 degrees of freedom.

T_{test} = \displaystyle\frac{\bar{x} - \mu_0}{s/\sqrt{n}}.

Determining P-value
Assuming H_A: \mu < \mu_0, we have a left-tail test
So, p-value = P(T < T_{test}) = P(-T > -T_{test}) by symmetry. (My tables only show the right tail.)

So, now we look at the table.
Question I'm not sure if I know how to read and apply the values of the table. Is my work below correct?

Suppose df = 10, T_{test} = 2.
Here is a t-table: http://3.bp.blogspot.com/_5u1UHojRiJk/TEdJJc6of2I/AAAAAAAAAIE/Ai0MW5VgIhg/s1600/t-table.jpg.

We have T_{0.05}=1.812 < T_{test}= 2 < T_{0.025} = 2.228
Thus, 0.025 < p-value < 0.05.

Decision
Finally, if p-value < \alpha, then we reject H_0. Otherwise, we do not reject H_0.

The not equal case
If H_A : \mu \neq \mu_0, then we have
p-value = 2 P(|T| > T_{test}) = 2 P(-T < -T_{test}) + 2 P(T > T_{test}).

Question What now? And is the equality above correct?Thanks.
 
Physics news on Phys.org
Klungo said:
Question: If \bar{x} < \mu_0, do we use H_A: \mu < \mu_0?
When do we use <,>,\neq?

The alternative hypothesis is determined by the context of the particular problem. For example if \mu_0 were the mean weight of a type of candy bar and you are a consumer then your concern might be that you are not "short changed" by getting a batch of candy bars whose mean weight is less than \mu_0. if you are a candy bar producer then your concern might be that the factory is not making candy bars that too heavy or too light, so your alternative hypothesis would be that the mean is not equal to \mu_0.

The effect of alternative hypothesis on the mechanics of the problem is that it determines what kind of "acceptance region" you use in the hypothesis test. The typical decision about acceptance regions is whether to do a "one tailed" or "two tailed" test.

You must realize that hypothesis testing is simply a procedure for making a decision. It is not a proof that the decision is correct. It doesn't even tell you the probability that the decision is correct. There is no mathematical proof that it is an optimal procedure. So if you are seeking a mathematical understanding of why hypothesis testing should be done a certain way, you won't find any mathematical justifications based on those goals. If you want a procedure that aims for those goals, you have to study Bayesian statistics.
 
You must realize that hypothesis testing is simply a procedure for making a decision. It is not a proof that the decision is correct. It doesn't even tell you the probability that the decision is correct. There is no mathematical proof that it is an optimal procedure. So if you are seeking a mathematical understanding of why hypothesis testing should be done a certain way, you won't find any mathematical justifications based on those goals.

I just want to know how it's done as it is in a stats 101 course. I know that it is not a proof, but rather an "educated" guess that could be wrong.

[Edit:] That is, the general procedure for solving problems given those assumptions.
 
I declare this thread over. I now understand the procedure.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...

Similar threads

Replies
21
Views
2K
Replies
5
Views
2K
Replies
20
Views
2K
Replies
20
Views
3K
Replies
1
Views
1K
Replies
10
Views
2K
Replies
10
Views
3K
Replies
5
Views
3K
Back
Top