rem4:t-tests_and_linear_models
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rem4:t-tests_and_linear_models [2008/10/15 14:44] – thorisson | rem4:t-tests_and_linear_models [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
===Concepts=== | ===Concepts=== | ||
- | | H1 | Your hypothesis: This is what you are predicting. E.g. "there is a difference between conditions A and B on measure C. | | + | | H< |
- | | H0 | " | + | | H< |
| Probability | | Probability | ||
| Statistical test | Helps us estimate the likelihood of us being wrong. | | Statistical test | Helps us estimate the likelihood of us being wrong. | ||
| One- and Two-Tailed Tests | Scenario: You measure something under two conditions, you expect there to be a difference between the measures. If you have strong suspicions that one measure will be higher than the other, you use a one-tailed test. \\ As you know, results of any experiment could be a coincidence. A statistical test helps us figure out what the probability of this is. \\ If we have a pre-determined idea of which direction a certain difference will be, our hypothesis is **stronger** than if our hypothesis simply says "there will be a difference" | | One- and Two-Tailed Tests | Scenario: You measure something under two conditions, you expect there to be a difference between the measures. If you have strong suspicions that one measure will be higher than the other, you use a one-tailed test. \\ As you know, results of any experiment could be a coincidence. A statistical test helps us figure out what the probability of this is. \\ If we have a pre-determined idea of which direction a certain difference will be, our hypothesis is **stronger** than if our hypothesis simply says "there will be a difference" | ||
- | | | ||
- | | | ||
\\ | \\ | ||
Line 21: | Line 19: | ||
| Sample | | Sample | ||
| Variables | | Variables | ||
- | | Subject pool | N=20; random sample. | + | | Subject pool | N=20; random sample. Specify by which means/ |
| Gathering data | Repeated measures: 20 measurements for indexes of health: \\ North: | | Gathering data | Repeated measures: 20 measurements for indexes of health: \\ North: | ||
| **What we have so far** | Basically, we have a bunch of measurements which came from two different parts of the country. They will probably have a different mean, median, etc. -- it's unlikely that they will be equal. This difference, we would like to find out -- is it a true representation of the actual fish population in each of these two different locations? | | **What we have so far** | Basically, we have a bunch of measurements which came from two different parts of the country. They will probably have a different mean, median, etc. -- it's unlikely that they will be equal. This difference, we would like to find out -- is it a true representation of the actual fish population in each of these two different locations? | ||
Line 36: | Line 34: | ||
- | === T-Tests === | + | === t-tests === |
| A.k.a. | | A.k.a. | ||
Line 49: | Line 47: | ||
| One-sample and two-sample t-test | | One-sample and two-sample t-test | ||
| One-sample alternative names | Matched-sample t-test, Paired t-test, Repeated-measures t-test. | | One-sample alternative names | Matched-sample t-test, Paired t-test, Repeated-measures t-test. | ||
- | | Formula for t-test | + | | More information |
\\ | \\ | ||
Line 55: | Line 53: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | |||
+ | === Linear Models: Regression Analysis === | ||
+ | |||
+ | | Purpose of Regression Analysis | ||
+ | | Scatterplot | ||
+ | | First-order linear function | ||
+ | | Residual | ||
+ | | How do we find the line? | Least Squares Criterion: We select the linear function that will yield the smallest sum of squared residuals | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ===Linear Correlation=== | ||
+ | |||
+ | | Given a linear function | ||
+ | | Need estimate of error | We must estimate how closely real Ys (Y) follow the predicted Ys (Y' | ||
+ | | The measure most commonly used | Standard Error of Estimate | ||
+ | | Formula for Std. Err. of Est. | http:// | ||
+ | | What it tells us | How far, on average, real Ys fall from the line | | ||
+ | | The smaller the Std. Err. of Est. is ... | ... the better a predictor the line is | | ||
+ | | Main limitation of linear models | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | EOF |
/var/www/cadia.ru.is/wiki/data/attic/rem4/t-tests_and_linear_models.1224081883.txt.gz · Last modified: 2024/04/29 13:33 (external edit)