This function is intended to verify the operating characteristics of the approximate conditional inferential approach of kz19;textualPHInfiniteEstimates to proportional hazards regression. An exponential regression model, corresponding to the proportional hazards regression model, is fit to the data, and new data sets are simulated from this model. P-values are calculated for these new data sets, and their empirical distribution is compared to the theoretical uniform distribution.
heinzeschemper(
nobs = 50,
k = 5,
B = 1,
c = 0,
nsamp = 1000,
beta = NULL,
add = NULL,
half = NULL,
verbose = FALSE,
smoothfirst = FALSE
)
a list with components
out matrix with columns corresponding to p-values.
number of observations in simulated data set.
number of covariates in simulated data set. Each covariate is dochotomous.
odds of 1 vs. 0 in dichotomous variables.
censoring proportion.
number of samples.
regression parameters, all zeros if null, and all the same value if a scalar.
partial simulation results to be added to, or NULL if de novo.
does nothing; provided for compatabilitity with simcode.
Triggers verbose messages.
Triggers normal rather than dichotomous interest covariate.