Search found 8 matches

by madk1712
Thu Sep 13, 2018 8:15 am
Forum: Stat-JR user forum
Topic: Binary covariate and run time errors using the nlevel imputation template
Replies: 15
Views: 12983

Re: Binary covariate and run time errors using the nlevel imputation template

I've checked the StatJR complete case template against the R procedure and they produce identical datasets.
by madk1712
Wed Sep 12, 2018 3:49 pm
Forum: Stat-JR user forum
Topic: Binary covariate and run time errors using the nlevel imputation template
Replies: 15
Views: 12983

Re: Binary covariate and run time errors using the nlevel imputation template

I've managed to successfully fit the MOI (with missing values removed) using the StatJR 'nlevelmod' template and both the eStat and JAGS estimation engines. I was getting poor mixing with the eStat engine on some of the variance parameters (ESS on some of these were in the hundreds rather than the t...
by madk1712
Wed Sep 12, 2018 2:03 pm
Forum: Stat-JR user forum
Topic: Binary covariate and run time errors using the nlevel imputation template
Replies: 15
Views: 12983

Re: Binary covariate and run time errors using the nlevel imputation template

Hi Chris, I've copied and pasted several chunks of code below where I can see errors. The two school-level variables I'm attempting to include are school average KS1 and KS2 scores (for 150 schools) which are normally distributed, albeit left-skewed. There are approximately 4 schools with missing KS...
by madk1712
Mon Sep 10, 2018 2:30 pm
Forum: Stat-JR user forum
Topic: Binary covariate and run time errors using the nlevel imputation template
Replies: 15
Views: 12983

Re: Binary covariate and run time errors using the nlevel imputation template

That's definitely helped thanks. I've now uninstalled, deleted all the files and reinstalled StatJR, along with the missing data templates from a fresh download. This seems to have fixed the first issue regarding the binary invalid value issue and the template now runs a four-level imputation of my ...
by madk1712
Mon Sep 10, 2018 11:47 am
Forum: Stat-JR user forum
Topic: Binary covariate and run time errors using the nlevel imputation template
Replies: 15
Views: 12983

Re: Binary covariate and run time errors using the nlevel imputation template

The code is identical, but when I select the template (1LevelMVMixedResponsecc.py) in the TREE interface, the response type for each response variable has binomial rather than the binary found on the n-level imputation template. This might not matter, but that's the only difference I can find so far.
by madk1712
Fri Sep 07, 2018 10:45 am
Forum: Stat-JR user forum
Topic: Binary covariate and run time errors using the nlevel imputation template
Replies: 15
Views: 12983

Re: Binary covariate and run time errors using the nlevel imputation template

Hi Chris,

Unfortunately, I still get the same error message.
by madk1712
Thu Sep 06, 2018 1:08 pm
Forum: Stat-JR user forum
Topic: Binary covariate and run time errors using the nlevel imputation template
Replies: 15
Views: 12983

Re: Binary covariate and run time errors using the nlevel imputation template

Hi Chris, Thanks for the very quick reply. Yes all the variables with missing data are specified as responses in the imputation model. My MOI takes a subset of these variables. Here is the command I used, and a screen shot with the error messages is attached: Command: RunStatJR(template='NLevelImput...
by madk1712
Wed Sep 05, 2018 2:00 pm
Forum: Stat-JR user forum
Topic: Binary covariate and run time errors using the nlevel imputation template
Replies: 15
Views: 12983

Binary covariate and run time errors using the nlevel imputation template

Hi, I've been trying to use the nlevel imputation template to impute missing data for a four level model with 1775 respondents and I'm running into a few problems. My data has been processed in R and saved as a STATA file and contains a mixture of user collected test score data, combined with linked...