Dear Chris,
thank you for the quick answer. Yes, the code you posted works with the example data.
I tried to work with MLwiN and figured out that I need a data frame without missing values. When I delete missings before running runMLwiN in R, I can store and view the residual chains. Sorry, I ...
Search found 2 matches
- Sun May 23, 2021 12:09 pm
- Forum: R2MLwiN user forum
- Topic: Issues when storing residual chains
- Replies: 2
- Views: 67417
- Tue May 18, 2021 9:36 am
- Forum: R2MLwiN user forum
- Topic: Issues when storing residual chains
- Replies: 2
- Views: 67417
Issues when storing residual chains
Dear all,
I am having trouble storing the residual chains from MCMC estimation in a two-level logistic regression model. I want to do further calculations with the level 2 residual chains. However, when specifying resi.store.levs=2, I get the following error:
Error in matrix(stats::na.omit ...
I am having trouble storing the residual chains from MCMC estimation in a two-level logistic regression model. I want to do further calculations with the level 2 residual chains. However, when specifying resi.store.levs=2, I get the following error:
Error in matrix(stats::na.omit ...