STA2101/442 Fall 2012
Data Sets
R code
    -  WaldTest: Wald and Wald-like tests
    
-  fpow2: Sample size needed for a
    given power in a regression model. Takes effect size and desired power
    as input.
    
-  matpow1.R: Defines the
    function matpow1 (as well as fpow2 above). The
    function matpow1 is specific to a single categorical
    explanatory variable, using regression with cell means coding. So it
    applies to any fixed effects factorial ANOVA without covariates. You
    give it a contrast matrix and an "effect" vector of L β - h
    in SD units. It calculates the effect size and then
    calls fpow2.
    
-  matpow2.R: Like matpow1,
    except that the user gives β in standard sdeviation units
    instead of L β - h.
    
-  powerfun.R: Defines the
    functions fpow2, matpow1 and matpow2.