Search found 16 matches

by erikruzek
Mon Nov 01, 2021 2:20 pm
Forum: runmlwin user forum
Topic: Running margins on predictions from a runmlwin model fit
Replies: 5
Views: 5726

Re: Running margins on predictions from a runmlwin model fit

Much appreciated, Chris and George. I hope you both are doing well!
by erikruzek
Thu Oct 28, 2021 2:07 pm
Forum: runmlwin user forum
Topic: Running margins on predictions from a runmlwin model fit
Replies: 5
Views: 5726

Running margins on predictions from a runmlwin model fit

Hi all, I have been trying to figure out how to use runmlwin and Stata's margins command in combination. I know, based on reading other posts in the forum, that I can do something similar to margins by setting variables in the model to certain values and then running predict after runmlwin. This see...
by erikruzek
Wed Jul 14, 2021 4:47 pm
Forum: runmlwin user forum
Topic: Keep data in MLwiN after model estimation to speed up subsequent modeling?
Replies: 2
Views: 5580

Re: Keep data in MLwiN after model estimation to speed up subsequent modeling?

Thanks for the quick response, Chris! I figured it was a longshot, but your proposed workaround is a good option.
by erikruzek
Tue Jul 13, 2021 9:41 pm
Forum: runmlwin user forum
Topic: Keep data in MLwiN after model estimation to speed up subsequent modeling?
Replies: 2
Views: 5580

Keep data in MLwiN after model estimation to speed up subsequent modeling?

Hi all, I have been working with large data files (1+ GB) and it would be helpful for me to be able to keep the data in MLwiN to prevent the Stata to MLwiN data transfer that happens each time I fire off a model using runmlwin. Is it possible to avoid the data transfer step and keep my data in MLwiN...
by erikruzek
Tue Feb 02, 2021 8:04 pm
Forum: runmlwin user forum
Topic: Is it possible to constrain the residual variance in MLwiN?
Replies: 5
Views: 11280

Re: Is it possible to constrain the residual variance in MLwiN?

Thanks, Chris and George. George, I am having trouble locating a web example from HLM. My colleague said that that it involves the fixsigma2 command (setting it to 1) and then specifying a "varianceknown" variable. Below is a snippet of code from a HLM syntax file. It looks like something ...
by erikruzek
Tue Feb 02, 2021 12:01 am
Forum: runmlwin user forum
Topic: Is it possible to constrain the residual variance in MLwiN?
Replies: 5
Views: 11280

Re: Is it possible to constrain the residual variance in MLwiN?

Hi George, Thanks so much. In the example you linked, the residual variance was set at a single value (scalar). constraint define 1 [RP1]var(cons) = 0.5 I would like to set the residual variance to a variable in the dataset given that the SEM is unique to each observation in the data. constraint def...
by erikruzek
Mon Feb 01, 2021 10:45 pm
Forum: runmlwin user forum
Topic: Is it possible to constrain the residual variance in MLwiN?
Replies: 5
Views: 11280

Is it possible to constrain the residual variance in MLwiN?

Hi all, I am running a longitudinal model on an outcome that was measured and scored using a 1-PL IRT model (Rasch). For each observation of the outcome, there is an associated standard error of measurement (SEM). Is it possible to fix or constrain the residual variance in a MLwiN model (via runmlwi...
by erikruzek
Thu Dec 03, 2020 2:58 pm
Forum: runmlwin user forum
Topic: Order of Predicted Residuals with Multiple Random Slopes
Replies: 2
Views: 8667

Re: Order of Predicted Residuals with Multiple Random Slopes

Thanks, Chris. That makes sense. I can see why I was confused - I did not mean to exclude the intercept from the fixed part of the model! Had I included it there, then uc0 would have been the random intercept.
by erikruzek
Wed Dec 02, 2020 8:30 pm
Forum: runmlwin user forum
Topic: Order of Predicted Residuals with Multiple Random Slopes
Replies: 2
Views: 8667

Order of Predicted Residuals with Multiple Random Slopes

Hi Chris, George, and everyone, When running a model with multiple random slopes and getting the Empirical Bayes predictions, is there a way to tell how the newly produced residual variables map onto the intercept and slopes? I am running the following model: runmlwin RIT time time2, level3(first_sc...
by erikruzek
Fri Apr 03, 2020 12:33 am
Forum: runmlwin user forum
Topic: Setting up an AR(1) model
Replies: 3
Views: 4276

Re: Setting up an AR(1) model

Got it, Chris. Is it possible to setup a similar model as the Rats example in Chapter 19 with two outcomes like I have here?