search for: preg_fyear5a

Displaying 1 result from an estimated 1 matches for "preg_fyear5a".

2007 Nov 13
1
FW: Reference category for explanatory factors
...he wrong area) I am not sure what is needed to be posted in terms of what 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,...