Search found 2 matches

by PhilJaehn
Sun May 23, 2021 12:09 pm
Forum: R2MLwiN user forum
Topic: Issues when storing residual chains
Replies: 2
Views: 12876

Re: Issues when storing residual chains

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 overlo...
by PhilJaehn
Tue May 18, 2021 9:36 am
Forum: R2MLwiN user forum
Topic: Issues when storing residual chains
Replies: 2
Views: 12876

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(residata[...