Search found 1341 matches

by ChrisCharlton
Wed Feb 09, 2022 3:48 pm
Forum: MLwiN user forum
Topic: mlnscript for Rocky Linux/OpenBLAS
Replies: 5
Views: 4516

Re: mlnscript for Rocky Linux/OpenBLAS

Thank you for the update, it's useful to know that this method works in this situation.
by ChrisCharlton
Mon Feb 07, 2022 10:43 am
Forum: runmlwin user forum
Topic: MCMC: calculating estimates, CrIs for combinations of terms/interactions
Replies: 7
Views: 6546

Re: MCMC: calculating estimates, CrIs for combinations of terms/interactions

I think that you should be able to do this with the normal variable manipulation commands such as generate and egen . Once you have the new variable representing the result of the calculation you should be able to get the credible intervals using the summarize command, or the mcmcsum provided with r...
by ChrisCharlton
Tue Feb 01, 2022 4:32 pm
Forum: MLwiN user forum
Topic: mlnscript for Rocky Linux/OpenBLAS
Replies: 5
Views: 4516

Re: mlnscript for Rocky Linux/OpenBLAS

You could try using LD_PRELOAD to switch to OpenBLAS as described in Is it possible to switch between BLAS libraries without recompiling program?, i.e.

Code: Select all

LD_PRELOAD=/usr/lib64/libopenblas.so.0 mlnscript --run script.mac
I have not tested how well this works however.
by ChrisCharlton
Tue Feb 01, 2022 1:06 pm
Forum: MLwiN user forum
Topic: mlnscript for Rocky Linux/OpenBLAS
Replies: 5
Views: 4516

Re: mlnscript for Rocky Linux/OpenBLAS

I have added a package version for Rocky Linux 8, which can be requested from https://www.cmm.bristol.ac.uk/clients/softwaredownload/ . Note however that this will still need the libblas.so.3 and liblapack.so.3 files to be present in order to run: ldd /usr/bin/mlnscript linux-vdso.so.1 (0x00007ffdc9...
by ChrisCharlton
Mon Jan 17, 2022 12:17 pm
Forum: runmlwin user forum
Topic: Calculating statistical significance of correlations in multivariate models
Replies: 2
Views: 6115

Re: Calculating statistical significance of correlations in multivariate models

I asked George about this and his response was that you can use the nlcom command for this, i.e.:

Code: Select all

nlcom [RP2]cov(cons_1\cons_2)/sqrt([RP2]var(cons_1)*[RP2]var(cons_2)
by ChrisCharlton
Fri Jan 07, 2022 12:15 pm
Forum: Realcom user forum
Topic: Start Analysis error in MLwiN after retrieving REALCOM impute
Replies: 4
Views: 14082

Re: Start Analysis error in MLwiN after retrieving REALCOM impute

When you click "Start Analysis" what should happen is that messages related to reading in the various data files will be displayed in the status bar at the bottom of the window. If these files are small or reading is complete before the status bar updates then you may not see these however...
by ChrisCharlton
Thu Jan 06, 2022 1:02 pm
Forum: R2MLwiN user forum
Topic: multivariate ESS w/ multiESS
Replies: 1
Views: 4001

Re: multivariate ESS w/ multiESS

I am not familiar with the multiESS function, however it appears to require a matrix or data.frame instead of the mcmc.list object return from R2MLwiN. If you convert it as follows it should work: # for runMLwiN function library(R2MLwiN) # for multiESS function library(mcmcse) # load the data data(t...
by ChrisCharlton
Thu Jan 06, 2022 12:49 pm
Forum: MLwiN user forum
Topic: Import imputation Start Analysis error
Replies: 2
Views: 11925

Re: Import imputation Start Analysis error

The number of cases reported here are for the initially loaded data, rather than each of the imputed datasets (which would all have complete data). This is because these are only loaded temporarily while the imputation analysis is being run, and the original data is restored once this is complete.
by ChrisCharlton
Thu Jan 06, 2022 12:47 pm
Forum: Realcom user forum
Topic: Start Analysis error in MLwiN after retrieving REALCOM impute
Replies: 4
Views: 14082

Re: Start Analysis error in MLwiN after retrieving REALCOM impute

The "Cases in use" numbers reported in the equations window reflect the missing data in the currently loaded data. While the imputation analysis is run this is temporarily replaced with each of the imputed dataset from Realcom, however once the analysis is complete and the model results ar...
by ChrisCharlton
Mon Dec 20, 2021 8:09 pm
Forum: R2MLwiN user forum
Topic: gelman-rubin
Replies: 5
Views: 4051

Re: gelman-rubin

You can find the MCMC chains in the chains slot of the mlwinfitMCMC object returned from the runMLwiN function. An example of this would be as follows: # for runMLwiN function library(R2MLwiN) # for gelman.diag function library(coda) # load the data data(tutorial, package = "R2MLwiN") # ru...