Search found 1138 matches

by ChrisCharlton
Thu Mar 26, 2020 1:11 pm
Forum: R2MLwiN user forum
Topic: presenting MCMC visuals on rmarkdown
Replies: 3
Views: 21

Re: presenting MCMC visuals on rmarkdown

It looks like setting the background to white instead of the dev.new() makes it work in both cases, so I'll make this change in the new version of the package.
by ChrisCharlton
Thu Mar 26, 2020 12:37 pm
Forum: R2MLwiN user forum
Topic: presenting MCMC visuals on rmarkdown
Replies: 3
Views: 21

Re: presenting MCMC visuals on rmarkdown

It seems that rmarkdown is not working happily with our use of dev.new() in the sixway function (line 119 at https://github.com/rforge/r2mlwin/blob/master/R2MLwiN/R/sixway.R ). Removing this line seems to make the plots appear correctly for me. Unfortunately doing this also means that the previous g...
by ChrisCharlton
Tue Mar 24, 2020 3:31 pm
Forum: R2MLwiN user forum
Topic: R2MLwiN and multilevel multiple imputation
Replies: 3
Views: 31

Re: R2MLwiN and multilevel multiple imputation

Could you please try running the following example to check that this works for you? If not then I can provide a development version package. Of course you could substitute your own preferred packages for the imputation and/or model of interest analysis. library(R2MLwiN) library(mitools) library(mic...
by ChrisCharlton
Mon Mar 23, 2020 11:37 am
Forum: R2MLwiN user forum
Topic: R2MLwiN and multilevel multiple imputation
Replies: 3
Views: 31

Re: R2MLwiN and multilevel multiple imputation

The Realcom-Impute software is free to download, however converting the data to the right formats is easiest if you have MLwiN or Stata. R2MLwiN has worked in the past with mice (see https://www.cmm.bristol.ac.uk/forum/viewtopic.php?t=2404 ), however I believe that recent versions rely on the broom ...
by ChrisCharlton
Tue Mar 17, 2020 10:12 am
Forum: runmlwin user forum
Topic: Keeping loaded data in mlwin and running several models with runmlwin
Replies: 2
Views: 25

Re: Keeping loaded data in mlwin and running several models with runmlwin

Unfortunately there is no automatic way to do this, although I am surprised at quite how long loading is taking for you. Two possible workarounds would be: Open more than one instance of Stata and run a separate model in each. MLwiN is single-processor so there should be spare CPU capacity for this....
by ChrisCharlton
Fri Jan 31, 2020 11:16 am
Forum: MLwiN user forum
Topic: MlWin on Mac
Replies: 1
Views: 215

Re: MlWin on Mac

The native Mac version of MLwiN (mlnscript) is a script only version, so you will probably want to run it either via R with R2MLwiN ( http://www.bristol.ac.uk/cmm/software/r2mlwin/ ) or Stata with runmlwin ( http://www.bristol.ac.uk/cmm/software/runmlwin/ ). One thing to watch out for is that you ne...
by ChrisCharlton
Thu Jan 30, 2020 12:17 pm
Forum: runmlwin user forum
Topic: using runmlwin in batch mode on Unix
Replies: 19
Views: 1292

Re: using runmlwin in batch mode on Unix

Could you please try replacing your version of the file "runmlwin.ado" with the development version from:

https://bitbucket.org/cmm_stata/runmlwin/src/master/

and let me know if that fixes the problem?
by ChrisCharlton
Wed Jan 08, 2020 10:14 am
Forum: MLwiN user forum
Topic: Basic question about Multilevel Analysis and MlWiN: Group vs. grand mean centering
Replies: 1
Views: 141

Re: Basic question about Multilevel Analysis and MlWiN: Group vs. grand mean centering

You may find the following explanation from Kelvyn Jones, one of our colleagues, useful as it provide an overview along with some links for further reading:

https://www.researchgate.net/post/MLM_A ... _centering
by ChrisCharlton
Tue Jan 07, 2020 10:58 am
Forum: runmlwin user forum
Topic: VPC in a three level random slopes model
Replies: 1
Views: 104

Re: VPC in a three level random slopes model

See viewtopic.php?f=3&t=815 for a previous discussion on this topic.
by ChrisCharlton
Tue Jan 07, 2020 10:39 am
Forum: runmlwin user forum
Topic: Error: "last estimates not found"
Replies: 1
Views: 104

Re: Error: "last estimates not found"

The lroc command requires estimates from the logistic, logit, probit and ivprobit command, as described in the help for this command (https://www.stata.com/help.cgi?lroc). Unfortunately this means that it cannot use the estimates from the runmlwin command.