power_cont | R Documentation |
find power of gof tests for continuous data
power_cont(
pnull,
rnull,
qnull,
ralt,
param_alt,
phat,
TS,
nbins = as.integer(c(100, 10)),
rate = 0,
Range = as.numeric(c(-99999, 99999)),
B = as.integer(c(1000, 1000)),
alpha = 0.05,
minexpcount = 2
)
pnull |
R function (cdf) |
rnull |
R function (generate data under null hypothesis) |
qnull |
R function (quantiles under null hypothesis) |
ralt |
R function to generate data under alternative |
param_alt |
parameters of ralt |
phat |
function to estimate parameters from the data |
TS |
function to calculate test statistics |
nbins |
=c(100,10) number of bins to use |
rate |
rate of Poisson if sample size is random |
Range |
=(-99999, 99999) limits of possible observations, if any |
B |
=c(1000, 1000) Number of simulation runs for power and null distribution |
alpha |
=0.05, type I error of test |
minexpcount |
=2 minimal expected bin count required |
A matrix of powers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.