Programs and Data Sets from Lecture
Data files
R code
(Use this if you like)
-
rmvn: Simulate from a multivariate normal
-
Wtest: Large sample (Wald or Wald-like) test of
H0:Lθ=h
-
ftest: General linear test of
H0:Lβ=h based on the univariate
normal linear model.
-
fpow3: Input effect size to get sample size for a desired
power in a linear regression model.
-
matpow1: Input matrix and effect to get sample size for
desired power in a linear regression model.
-
samprsq1: Sample variation method for selecting sample size in
a linear regression model.
-
HTest: Hotelling's T2 test of
H0:Lμ=h for multivariate normal data.