Changes between Version 3 and Version 4 of SOPs/anova


Ignore:
Timestamp:
05/24/13 14:09:14 (12 years ago)
Author:
gbell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SOPs/anova

    v3 v4  
     1Note that ANOVA and post-hoc tests can be performed in Prism too.
     2
    13== One-way ANOVA ==
    24
    35See the [http://www.graphpad.com/support/faqid/1745/ Prism help page] for some general considerations.
    4 
    5 Note that ANOVA and post-hoc tests can be performed in Prism too.
    6 
    76
    87==== Reading in Data ====
     
    6665== Two-way ANOVA ==
    6766
    68 Two-way ANOVA should be used for experiments where to different factors are being varied (such as comparing different treatments of different genotypes of mice).
     67Two-way ANOVA should be used for experiments where two different factors are being studied (such as comparing different treatments of different genotypes of mice).
    6968
    7069==== Reading in Data ====
     
    8584==== Creating an ANOVA Table ====
    8685  * Use the command //anova// or //aov// with summary.  The first argument is the dependent variable, followed by ~, and then by independent variable(s).
    87   * So if we want to set up a model where weight is a function of the group (e.g., the weight potentially depends on the group)
     86  * So if we want to set up a model where weight is a function of the group and/or the genotype, with a potential interaction (e.g., the difference between groups depends on the genotype), the typical analysis would look like
    8887
    8988{{{
     
    9796}}}
    9897
     98Note that the p-value for each factor depends on the order of the factors in the above formulas.
     99
    99100== Post-Test: Comparing All Pairs of Means ==
     101
     102As before, with 1-way ANOVA,
     103{{{
     104TukeyHSD( aov (weight ~ group * genotype, data=strains) )
     105}}}
     106
     107If the experimental design is unbalanced (e.g., some groups are more replicated than others), we need a more complex model.
     108