Function to estimate the coverage of the overall change impact coefficient.
pval.coverage.null.Rd
Function to estimate the coverage of the overall change impact coefficient.
Usage
pval.coverage.null(
newdat.ind,
newdat.corr = NULL,
model,
nsim,
powercoefid,
empdistnull = NULL
)
Arguments
- newdat.ind
simulated independent response data
- newdat.corr
(default= NULL). simulated correlated response data (if available).
- model
glm or gamMRSea model object
- nsim
number of simulations in newdat.ind
- powercoefid
coefficient id that relates to the eventchange term
- empdistnull
if known, provide the empirical distribution for the runs test.