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 [2012/08/30 17:13] – hYHyCFUljqn 108.170.86.114 | rem4:t-tests_and_linear_models [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | RAPZ7C | + | ====== T-Tests & Linear Models ====== |
+ | |||
+ | ===Concepts=== | ||
+ | |||
+ | | H< | ||
+ | | H< | ||
+ | | Probability | ||
+ | | 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" | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | === Gathering Data === | ||
+ | |||
+ | | Example hypothesis | ||
+ | | Sample | ||
+ | | Variables | ||
+ | | Subject pool | N=20; random sample. Specify by which means/ | ||
+ | | 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? | ||
+ | | Sampling distribution | ||
+ | | Population distribution | ||
+ | | Standard Deviation (SD) | If the population is normally distributed, | ||
+ | | **What we want to know** | ||
+ | |||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ | === t-tests === | ||
+ | |||
+ | | A.k.a. | ||
+ | | When to use | To test the difference between two means, when the standard deviation of the population is unknown. | ||
+ | | Input | Data from two populations. | ||
+ | | NB: Underlying assumption | ||
+ | | Standard deviation of sample | ||
+ | | Output | ||
+ | | t-value | ||
+ | | p-value | ||
+ | | Typical thresholds for p | p<0.05 and p<0.01 \\ ...that is, the difference between two (sample) populations is " | ||
+ | | One-sample and two-sample t-test | ||
+ | | One-sample alternative names | Matched-sample t-test, Paired t-test, Repeated-measures t-test. | ||
+ | | More information | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | === 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://cs.gmu.edu/cne/ | ||
+ | | 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.1346346813.txt.gz · Last modified: 2024/04/29 13:33 (external edit)