Find the power of various gof tests for continuous data.
power_cont_R(
pnull,
rnull,
ralt,
param_alt,
phat = function(x) -99,
TS,
typeTS,
TSextra,
alpha = 0.05,
B = 1000,
maxProcessor
)
A numeric matrix of power values
function to find cdf under null hypothesis
function to generate data under null hypothesis
function to generate data under alternative hypothesis
vector of parameter values for distribution under alternative hypothesis
=function(x) -99, function to estimate parameters from the data, or -99 if no parameters are estimated
user supplied function to find test statistics, if any
format of TS routine
list provided to TS
=0.05, the level of the hypothesis test
=1000 number of simulation runs
maximum of number of processors to use, 1 if no parallel processing is needed or number of cores-1 if missing