update_dev_cox {SuRF.vs} | R Documentation |
update_dev_cox
Description
For COX proportional model ONLY. This function is to derive the deviance distribution based on the permutation method;This function is not to be used independently but will be called by the function selectnew()
Usage
update_dev_cox(data, vslist, C, ncores, weights)
Arguments
data |
the variable 'data' within seqcutoff() |
vslist |
a vector of selected variables |
C |
the number of permutation times |
weights |
=TRUE: if weighted version is desired, =FALSE, otherwise (binomial model); weights: =vector of weights of the same size as the sample size N: if weighted version is desired, =FALSE, otherwise (other generalized model) |
ncores |
the number of cores to use for parallel computation |
Value
dev: a vector of deviance after C permutations (length OF this vector is C)
[Package SuRF.vs version 1.1.0.1 Index]