Search found 31 matches

by tjsduq64
Wed Apr 22, 2020 6:07 am
Forum: R2MLwiN user forum
Topic: R2MLwiN and multilevel multiple imputation
Replies: 10
Views: 3359

Re: R2MLwiN and multilevel multiple imputation

I changed the paths for the R2MLwiN file and the package library so that it doesn't have to go through "My Name" folder that includes a space. But as you can see in the Fatal error below, it still tries to open file "C:\Users\My"... > install.packages("C:/Program Files/R/R2MLwiN_0.8-7.tar.gz", repos...
by tjsduq64
Wed Apr 22, 2020 5:26 am
Forum: R2MLwiN user forum
Topic: V gone -ve definite for block 0 iteration aborted
Replies: 6
Views: 1393

Re: V gone -ve definite for block 0 iteration aborted

That did not fix the problem. I also tried the same model in other mulitply imputed dataset to see if it only works in some datasets, but it did not work in any.
by tjsduq64
Tue Apr 21, 2020 2:20 am
Forum: R2MLwiN user forum
Topic: MCMC adding iterations and specifying diagonal matrix
Replies: 2
Views: 733

Re: MCMC adding iterations and specifying diagonal matrix

That is a good alternative, thanks!
by tjsduq64
Tue Apr 21, 2020 2:18 am
Forum: R2MLwiN user forum
Topic: V gone -ve definite for block 0 iteration aborted
Replies: 6
Views: 1393

Re: V gone -ve definite for block 0 iteration aborted

I don't have missing values for gdp_c, and also gdp_c is constant within my level 2 units. It is a level 2 variable so each level 2 unit has a single value for all level 1 units within. This is analogous to modeling complex level 1 variation (i.e., modeling level 1 variance as a function of level 1 ...
by tjsduq64
Sun Apr 19, 2020 4:39 pm
Forum: MLwiN user forum
Topic: variance function and its uncertainty
Replies: 3
Views: 1120

Re: variance function and its uncertainty

Any advice on IGLS? To get confidence intervals on the variance functions, perhaps using standard error, or other methods.
by tjsduq64
Sun Apr 19, 2020 3:36 pm
Forum: R2MLwiN user forum
Topic: MCMC adding iterations and specifying diagonal matrix
Replies: 2
Views: 733

MCMC adding iterations and specifying diagonal matrix

Hi, 1) I know in MLwiN, I can run additional interations after running some. For example, I run 500 burnins and 5000 iterations. But, if I find that for some parameters, I need to run more, I can just add more iterations. Can I do this in R using R2MLwiN? I see that in R examples for MCMC manual, in...
by tjsduq64
Sun Apr 19, 2020 2:41 pm
Forum: R2MLwiN user forum
Topic: V gone -ve definite for block 0 iteration aborted
Replies: 6
Views: 1393

Re: V gone -ve definite for block 0 iteration aborted

By the way, I thought the idea of using "starval" to set starting values was similar to clicking "More" after manipulate the model so I tried it but it doesn't help.
by tjsduq64
Sun Apr 19, 2020 2:06 pm
Forum: R2MLwiN user forum
Topic: V gone -ve definite for block 0 iteration aborted
Replies: 6
Views: 1393

V gone -ve definite for block 0 iteration aborted

I have a two-level random slope model shown below. If I run it in R with runMLwiN, I get an error saying "V gone -ve definite for block 0 iteration aborted(fixed pass)" after about 10 minutes. If I use "debugmode=T" in the estoptions, I get MLwiN window without anything on it, and the software crash...
by tjsduq64
Sun Apr 19, 2020 11:05 am
Forum: R2MLwiN user forum
Topic: R2MLwiN and multilevel multiple imputation
Replies: 10
Views: 3359

Re: R2MLwiN and multilevel multiple imputation

EDIT: for the multiply imputed datasets, I confirmed that there is nothing wrong with each dataset. I ran the model in each dataset and it works fine. I think running it through a loop is causing an issue..? This is related to my new post, it's the same error, one that opens MLwiN and shows nothing ...
by tjsduq64
Thu Apr 02, 2020 6:26 am
Forum: MLwiN user forum
Topic: variance function and its uncertainty
Replies: 3
Views: 1120

variance function and its uncertainty

Hello, I am running a complex level 2 variation model (variance at level 2 as a function of predictors). I know how to get the level 2 variance from this model and graph it. Is there a way to get confidence (or credible, if using MCMC) intervals around the variance function? I can't find any manual ...