Search found 1366 matches

by ChrisCharlton
Mon Nov 25, 2024 1:09 pm
Forum: MLwiN user forum
Topic: the residuals match the LEAs
Replies: 2
Views: 133828

Re: the residuals match the LEAs

For cross-classified models the ordering of the residuals should match the sorted ID variable for the chosen classification. See the topic Residuals - matching for an MLwiN command to generate a new column that matches this.
by ChrisCharlton
Fri Sep 27, 2024 9:59 am
Forum: runmlwin user forum
Topic: How to use predict after a multinomial model
Replies: 3
Views: 146816

Re: How to use predict after a multinomial model

Unfortunately we do not offer an automatic way to calculate these predictions. I think that your options are :


Remove the nopause option from the command and the once the model is estimated use Model>Customised predictions within MLwiN. You can then copy/paste these results back into Stata ...
by ChrisCharlton
Mon Aug 19, 2024 10:30 am
Forum: MLwiN user forum
Topic: The best way to show that a predictor is categorical?
Replies: 1
Views: 126160

Re: The best way to show that a predictor is categorical?

There is some discussion of this in the MLPowSim manual. Multiple category predictors for MLwiN are covered in section 5.2, and for R in 5.4. You may in particular want to look at section 5.4.2 for an explanation.
by ChrisCharlton
Wed Aug 07, 2024 12:55 pm
Forum: runmlwin user forum
Topic: How to fit a regression model
Replies: 2
Views: 132167

Re: How to fit a regression model

The MISR command is used in conjunction with post-estimation calculation of the residuals and are not normally used in model estimation except with PQL1 or PQL2, or in MCMC where they are used for starting values. The runmlwin equivalent of this setting for post-estimation residuals is the norecode ...
by ChrisCharlton
Tue Aug 06, 2024 10:43 am
Forum: runmlwin user forum
Topic: Error "Unable to invert xtx."
Replies: 4
Views: 141038

Re: Error "Unable to invert xtx."

If you run the model without the nopause option then MLwiN will pause at various points to allow you to inspect the model/data. You can can then resume it by clicking "Resume macro" on the toolbar. Once you have got through all the points that it pauses the results will be sent to Stata. When you ...
by ChrisCharlton
Tue Jul 09, 2024 11:13 am
Forum: Stat-JR user forum
Topic: How to evaluate the inclusion probability of the patients
Replies: 2
Views: 136539

Re: How to evaluate the inclusion probability of the patients

As this section of the forum is for questions related to the Stat-JR software package are you able to provide any more detail on how you are using it for this analysis, e.g. which templates and underlying statistics package you are using/planning to use?
by ChrisCharlton
Tue Jul 09, 2024 10:24 am
Forum: runmlwin user forum
Topic: CAR models at two levels?
Replies: 1
Views: 121402

Re: CAR models at two levels?

You appear to have omitted your code, however if you want to specify CAR at more than one level you have to specify the carcentre option.
by ChrisCharlton
Tue Jul 09, 2024 10:22 am
Forum: runmlwin user forum
Topic: lr-test
Replies: 1
Views: 113728

Re: lr-test

You could try a Wald test, an example of which is given in the MLwiN manual replication examples for runmlwin:

Chapter 9: Logistic Models for Binary and Binomial Responses

A more detailed explanation for these examples can be found in the corresponding chapter of the MLwiN User Guide
by ChrisCharlton
Tue Jul 09, 2024 10:13 am
Forum: runmlwin user forum
Topic: Issues Running runMLwiN on macOS with Virtual Machine
Replies: 2
Views: 124235

Re: Issues Running runMLwiN on macOS with Virtual Machine

Unfortunately I have not had much success with running the MLwiN trial under Wine on MacOS versions later than 10.14, as later versions removed support for 32-bit applications and then moved from the Intel to ARM platform. This might change in the future as Wine is developed and experimental support ...
by ChrisCharlton
Thu Jun 27, 2024 3:31 pm
Forum: runmlwin user forum
Topic: Error "Unable to invert xtx."
Replies: 4
Views: 141038

Re: Error "Unable to invert xtx."

It's hard to say what exactly is causing this error without seeing the data. It could be something like there being colinear variables in the model, or you might have categorical variables where no data is present for a particular category value.

In order to work out what might be going on I would ...