Apply simplified 'PheNorm' algorithm on longitudinal data with bootstrap and noise.
phenorm_longit_fit(
x_matrix,
y_sur,
ID,
size = 10^5,
seed = 1,
p.noise = 0.3,
do_sampling = TRUE,
do_noise = TRUE,
prob = NULL,
calc.prob = TRUE,
nAGQ = 0,
glmer.control = glmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 2e+05))
)A list with the fixed effects, the predicted responses and the model used (mixed effect or logistic regression)
x matrix to sample, noise and predict on
surrogate with 3 values (0 and 1 the extremes and 3 middle patients)
Vector of patient ID
size of sampling. default is 10^5
seed. default is 1.
noise probability parameter. default is .3.
should algorithm do sampling. default is TRUE.
should algorithm do noise. default is TRUE.
sampling probability during noising denoising step
should the `prob` argument be calculated
glmer parameter
glmer parameter