Displaying 2 results from an estimated 2 matches for "exacttim".
Did you mean:
exactfit
2007 Nov 13
1
FW: Reference category for explanatory factors
...I have done
but will explain nonetheless.
I am using the msm.package and trying to specify my reference category
for an outcome covariate. The following command line works:
## age of respondent - using year5a: categorical
preg_fyear5a.msm<-msm(outcome~ipi, subject=id, data, qmatrix=crudemat,
exacttimes=TRUE, covariates=~factor(year5a))
However, in the dataset (data) the reference category 0 is a moderately
small cell, so I would like to change it to 1 which is much large.
There are 5 categories in the covariates year5a (0,1,2,3,4).
I have tried all sorts of approaches with 'ordered' a...
2004 Nov 05
0
R check passes code and docs that don't match
...omstate, #
tostate, # data required if fromto is TRUE
timelag, #
death = FALSE, # 'death' states, ie, entry time known
exactly, but unknown transient state at previous instant
tunit = 1.0, # no longer used
exacttimes = FALSE,
fixedpars = NULL, # specify which parameters to fix
stepnumerator = 1, # maximum step size in discrete
approximation
stepdenominator = 1, # rational number; use integers
do.what = 1, # 1 for likelihood, 0 for counts...