Search found 1359 matches
- Mon Jan 20, 2025 10:41 am
- Forum: MLwiN user forum
- Topic: Hi all
- Replies: 1
- Views: 95614
Re: Hi all
If you are fitting the model using (R)IGLS then you could use a Wald test. If you are using MCMC then you could compare the values of the DIC diagnostic.
- Mon Jan 06, 2025 1:24 pm
- Forum: runmlwin user forum
- Topic: Fitting multi-level models to weighted data runmlwin vs mixed
- Replies: 3
- Views: 113201
Re: Fitting multi-level models to weighted data runmlwin vs mixed
The most likely reason for this is that by default MLwiN applies an adjustment to the calculated variances to take into account sampling variability. This setting can be changed via the Model>Residuals window, or via the RTYPE command, however runmlwin does not currently have a way to set this. If ...
- Mon Jan 06, 2025 12:39 pm
- Forum: MLwiN user forum
- Topic: Do I have to create a macro in the new version?
- Replies: 1
- Views: 53874
Re: Do I have to create a macro in the new version?
On the whole older macros should work with the most recent releases, so this may be a bug. I suggest updating to the most recent release of the software (available from https://www.cmm.bristol.ac.uk/clients/softwaredownload/ ), and if you still have the problem after this, providing further details ...
- Mon Nov 25, 2024 1:09 pm
- Forum: MLwiN user forum
- Topic: the residuals match the LEAs
- Replies: 2
- Views: 51915
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.
- Fri Sep 27, 2024 9:59 am
- Forum: runmlwin user forum
- Topic: How to use predict after a multinomial model
- Replies: 3
- Views: 58282
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 ...
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 ...
- 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: 50480
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.
- Wed Aug 07, 2024 12:55 pm
- Forum: runmlwin user forum
- Topic: How to fit a regression model
- Replies: 2
- Views: 52917
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 ...
- Tue Aug 06, 2024 10:43 am
- Forum: runmlwin user forum
- Topic: Error "Unable to invert xtx."
- Replies: 4
- Views: 58830
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 ...
- 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: 55563
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?
- Tue Jul 09, 2024 10:24 am
- Forum: runmlwin user forum
- Topic: CAR models at two levels?
- Replies: 1
- Views: 45209
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.