Search found 1341 matches
- Fri Nov 26, 2021 11:58 am
- Forum: runmlwin user forum
- Topic: Saving estimates from models (using MCMC) executed using runmlwin
- Replies: 4
- Views: 8010
Re: Saving estimates from models (using MCMC) executed using runmlwin
Unfortunately I don't think that there is currently a straightforward way to do this. If you look at lines 410 and 535 of ( mcmcsum.ado ) you will see that the results displayed for the summaries and detail option are stored returned in an r-class after the command is run, although as you say this i...
- Wed Nov 24, 2021 5:31 pm
- Forum: runmlwin user forum
- Topic: Saving estimates from models (using MCMC) executed using runmlwin
- Replies: 4
- Views: 8010
Re: Saving estimates from models (using MCMC) executed using runmlwin
It looks as if the estimates replay command does not carry across the display options set when running the command, however you can re-specify them when displaying the results, for example: . use http://www.bristol.ac.uk/cmm/media/runmlwin/bang, clear . logit use age, or Iteration 0: log likelihood ...
- Fri Nov 12, 2021 11:09 pm
- Forum: MLwiN user forum
- Topic: MLPowSim macro “analyse.txt” not working in MLWin
- Replies: 4
- Views: 6946
Re: MLPowSim macro “analyse.txt” not working in MLWin
The files that you provided ran successfully in both MLwiN versions 3.04 and 3.05 for me. You do not have to open a dataset prior to running the macro as all the values used are simulated. I set the current directory to the location of the macro files via Options>Directories, and opened the simu.txt...
- Sun Nov 07, 2021 8:59 pm
- Forum: MLwiN user forum
- Topic: MLPowSim macro “analyse.txt” not working in MLWin
- Replies: 4
- Views: 6946
Re: MLPowSim macro “analyse.txt” not working in MLWin
I am not sure where the dashes in that syntax are coming from. Would it be possible to post the generated script, and if possible the inputs you gave to MLPowSim to create it?
- Mon Nov 01, 2021 12:01 pm
- Forum: MLwiN user forum
- Topic: Problem with level 1 . variance
- Replies: 2
- Views: 3782
Re: Problem with level 1 . variance
If you are running a binary logit model then the variance is fixed at (π^2)/3 (≈3.29) rather than being an estimated parameter, and this is why you cannot add this to your model.
See the following FAQ for more information about variances: Partitioning variation across levels
See the following FAQ for more information about variances: Partitioning variation across levels
- Mon Nov 01, 2021 11:46 am
- Forum: runmlwin user forum
- Topic: Running margins on predictions from a runmlwin model fit
- Replies: 5
- Views: 5940
Re: Running margins on predictions from a runmlwin model fit
I showed this to George, but he wasn't able to say for sure. His advice was that unless the models ran too slowly or couldn't be fitted with mixed you should use that. If you can't do that then he suggests initially running a subsample or simplified version of your model using both mixed and your ma...
- Fri Oct 29, 2021 10:54 am
- Forum: R2MLwiN user forum
- Topic: Multi Level Modelling in R
- Replies: 1
- Views: 4779
Re: Multi Level Modelling in R
This forum is primarily for questions related to the "R2MLwiN" R package. You might get an answer if you ask about related packages, but there are often more appropriate places for these questions.
- Tue Oct 05, 2021 9:51 am
- Forum: R2MLwiN user forum
- Topic: extracting variance coefficient
- Replies: 7
- Views: 9896
Re: extracting variance coefficient
If you are running the model with MCMC ( EstM=1 ) and do not specify starting values then it runs IGLS first and uses the result from this as starting values. Otherwise it uses the values that you provide. You can see this in lines 1496-1520 of https://github.com/r-forge/r2mlwin/blob/master/R2MLwiN/...
- Mon Sep 27, 2021 4:14 pm
- Forum: R2MLwiN user forum
- Topic: variance increasing
- Replies: 1
- Views: 4704
Re: variance increasing
Bill gives some reasons why the variance can increase in his first comment in the following thread. It might be worth seeing whether that helps to explain what you are seeing too:
https://www.cmm.bristol.ac.uk/forum/vie ... f=1&t=3624
https://www.cmm.bristol.ac.uk/forum/vie ... f=1&t=3624
- Wed Sep 22, 2021 1:37 pm
- Forum: R2MLwiN user forum
- Topic: extracting variance coefficient
- Replies: 7
- Views: 9896
Re: extracting variance coefficient
You can find an example of setting starting values for parameters in section 5.5 of the MCMC manual replication materials. If you do not specify these then the model will be run with (R)IGLS (up to the specified maximum number of iterations) to generate starting values before the MCMC run begins. Fo...