Displaying 1 result from an estimated 1 matches for "xptds".
Did you mean:
xpds
2005 May 26
1
PAN: Need Help for Multiple Imputation Package
...imported SAS dataset ‘sim’ which includes a
response variable ‘MIY1’, a time-varying covariate
‘TCOV1’, TIME, GROUP (0 or 1), and ID. 200
participants were included and measurement occurred
six times. Approximately 25% of participants dropped
out at end.
> sim <- read.xport('c:\\xptds.dat')
>
> int <- rep(1,1200)
> y <- cbind(sim$MIY1,sim$TCOV1)
> subj <- sim$ID
> pred <- cbind(int, sim$TIME, sim$GROUP)
>
> xcol <- 1:3
> zcol <- 1
> prior <- list(a=2,Binv=4,c=2,Dinv=4)
> result <-
pan(y,subj,pred,xcol,zcol,prior,see...