| normsquare {Davies} | R Documentation |
A suite of functions to analyze random variables (eg X^2, exp(X) with X~Norm(0,1); and GLD) in terms of the Davies distribution
normsquare(n) do.normsquare(n,m) do.many.normsquare(vector,times) lognorm(n) do.lognorm(n,m) do.many.lognorm(vector,times) gld.ozturk(n) do.gld.ozturk(n,m) do.many.gld.ozturk(vector,times)
n |
size of random sample |
m |
How often to carry out the resampling process |
vector |
vector of "n"s |
times |
how many resamplings to do |
lognorm gives p-values by parametrically resampling from a
lognormal distribution
normsquare gives p-values by parametrically resampling from a
square normal distribution
gld.ozturk gives p-values by parametrically resampling from a
gld distribution
do.lognorm is a wrapper for lognorm
do.normsquare is a wrapper for normsquare
do.gld.ozturk is a wrapper for gld.ozturk
do.many.lognorm is a wrapper for do.lognorm used for table N
do.many.normsquare is a wrapper for do.normsquare used for
table N
do.manygld.ozturk is a wrapper for do.gld.ozturk used for
table N.
do.many.normsquare is very slow for large values of n.
Robin K. S. Hankin
do.many.normsquare(c(20,30),4) #carries out resampling on a #square-normal random dataset of size 20 and 30, four times. #Takes a long time.