Differences between revisions 6 and 7
Revision 6 as of 2011-09-03 14:33:25
Size: 1659
Editor: cpe-69-207-82-159
Comment:
Revision 7 as of 2011-09-03 14:40:19
Size: 1782
Editor: cpe-69-207-82-159
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Line 10: Line 11:
Line 11: Line 13:
<<Anchor(t-test)>>
Line 12: Line 15:
<<Anchor(t-test)>>
Line 14: Line 16:
The single-sample t-test is often more commonly used as we as experimenters rarely know the true standard deviation of the target population. The only available information has to come from the sample data collected in the experiment. For example, Smokin' Joe wants to know whether marijuana can increase appetite and conducted an experiment:
Line 15: Line 18:
The single-sample t-test is often more commonly used as we as experimenters rarely know the true standard deviation of the target population.  . '''The Problem'''
 . Smokin’ Joe hypothesizes that marijuana can be used to mitigate some of the negative side effects of common AIDS drugs, such as loss of appetite. He wants to test the hypothesis that marijuana increases the appetites of AIDS patients who are taking common AIDS drugs. He measures the difference in calories eaten by patients the day after taking a THC pill and the day before taking the pill. Here are the measurements he obtains for 10 subjects – [101, 75, -82, 32, -50, 203, 165, 145, 303, 23]
Line 17: Line 21:
In the following example, Smokin' Joe wants to know whether marijuana can increase appetite:

{{{
Smokin’ Joe hypothesizes that marijuana can be used to mitigate some of the negative side effects of common AIDS drugs, such as loss of appetite. He wants to test the hypothesis that marijuana increases the appetites of AIDS patients who are taking common AIDS drugs. He measures the difference in calories eaten by patients the day after taking a THC pill and the day before taking the pill. Here are the measurements he obtains for 10 subjects – [101, 75, -82, 32, -50, 203, 165, 145, 303, 23]
}}}

Statistical Tests for Experiments with Single Samples

Sometimes, the research question is as simple as investigating whether the value of a certain property of a group differs from a hypothetical value (specified by the null hypothesis). Depending on what information is available, one can choose between the following types of tests:

In this section, we are going to review these two tests by working through a few toy problems.

Z-test

Single-sample t-test

The single-sample t-test is often more commonly used as we as experimenters rarely know the true standard deviation of the target population. The only available information has to come from the sample data collected in the experiment. For example, Smokin' Joe wants to know whether marijuana can increase appetite and conducted an experiment:

  • The Problem

  • Smokin’ Joe hypothesizes that marijuana can be used to mitigate some of the negative side effects of common AIDS drugs, such as loss of appetite. He wants to test the hypothesis that marijuana increases the appetites of AIDS patients who are taking common AIDS drugs. He measures the difference in calories eaten by patients the day after taking a THC pill and the day before taking the pill. Here are the measurements he obtains for 10 subjects – [101, 75, -82, 32, -50, 203, 165, 145, 303, 23]

In other words, Smokin' Joe wants to test whether the difference in calories eaten by AIDS patients (i.e. the property of a group) is different from 0 (i.e. a hypothetical value). If it is significantly different from 0, we can reject the null hypothesis that marijuana has no effect on appetite.

OneSampleOneVariable (last edited 2012-01-23 18:14:22 by cpe-69-207-83-233)

MoinMoin Appliance - Powered by TurnKey Linux