Search found 1239 matches
- Fri Mar 12, 2021 11:39 am
- Forum: runmlwin user forum
- Topic: Using Stata commands lroc and lstat after runmlwin
- Replies: 6
- Views: 5661
Re: Using Stata commands lroc and lstat after runmlwin
I suspect that your problem is that you have forgotten to multiple the fixed-part parameters by their associated data, so you'll want something more like: generate prediction = [FP1]cons*cons + [FP1]male*male + [FP1]agegroup2*agegroup2 + [FP1]agegroup3*agegroup3 + [FP1]agegroup4*agegroup4 + [FP1]age...
- Thu Mar 11, 2021 6:21 pm
- Forum: runmlwin user forum
- Topic: Using Stata commands lroc and lstat after runmlwin
- Replies: 6
- Views: 5661
Re: Using Stata commands lroc and lstat after runmlwin
As you have found, running predict after runmlwin will only give you the fixed-part prediction. If you want a prediction with both fixed and random effects then you will need to manually request that the higher-level residuals are returned via the residuals() option and then use these to extend the ...
- Thu Mar 11, 2021 1:38 pm
- Forum: MLwiN user forum
- Topic: Zero-Inflated Negative Binomial?
- Replies: 1
- Views: 328
Re: Zero-Inflated Negative Binomial?
You may find the following post of interest, as it explains the negative-binomial options within MLwiN:
Negative binomial multilevel model
Negative binomial multilevel model
- Wed Feb 03, 2021 11:44 am
- Forum: MLwiN user forum
- Topic: 'invalid stoi argument' - pasting data into MLwiN
- Replies: 3
- Views: 499
Re: 'invalid stoi argument' - pasting data into MLwiN
It's hard to say the exact cause without seeing the data however from the error message it may be that it is interpreting some of the lines of data as MLwiN commands. If this was the case then it might be seeing the first column as the command with subsequent columns as command arguments and the fal...
- Tue Feb 02, 2021 3:09 pm
- Forum: MLwiN user forum
- Topic: 'invalid stoi argument' - pasting data into MLwiN
- Replies: 3
- Views: 499
Re: 'invalid stoi argument' - pasting data into MLwiN
Are you pasting via the Edit->Paste menu, or the Paste button in the Names window?
Do you have column names in Excel, and if so what are they set to?
What are the possible category values that you data can take?
Do you have column names in Excel, and if so what are they set to?
What are the possible category values that you data can take?
- Tue Feb 02, 2021 12:38 pm
- Forum: runmlwin user forum
- Topic: Is it possible to constrain the residual variance in MLwiN?
- Replies: 5
- Views: 680
Re: Is it possible to constrain the residual variance in MLwiN?
Sorry, I misunderstood that you wanted to constrain the residual error variance rather than the residual variances themselves. I had a brief discussion with George about this and he thinks that it might be possible through adding a pseudo level-1 for your s.e. measurements with a variance constraine...
- Mon Feb 01, 2021 11:04 pm
- Forum: runmlwin user forum
- Topic: Is it possible to constrain the residual variance in MLwiN?
- Replies: 5
- Views: 680
Re: Is it possible to constrain the residual variance in MLwiN?
runmlwin follows the Stata syntax for defining constraints. See this previous post from George for some details: https://www.cmm.bristol.ac.uk/forum/viewtopic.php?t=773 For another example using runmlwin and R2MLwiN see Chapter 18 of the MLwiN User Guide replication examples: runmlwin: https://www.b...
- Mon Jan 25, 2021 2:13 pm
- Forum: Realcom user forum
- Topic: Imputation error:
- Replies: 2
- Views: 512
Re: Imputation error:
I'm not sure what might be causing this, although as this happens after some successful iterations have occurred it suggests that something may be going wrong with the fitting. Are you able to provide more information regarding the model specification? You could try reducing the iterations to be low...
- Thu Jan 21, 2021 10:35 am
- Forum: MLwiN user forum
- Topic: Error when fitting a multinomial logit regression with panel data
- Replies: 16
- Views: 1497
Re: Error when fitting a multinomial logit regression with panel data
It looks like the model in the equation screenshot has failed to run (likely due to numeric issues) as it is showing no cases in use and a covariance matrix consisting only of zeros. Were you starting MCMC after the MQL1 or PQL2 model estimation? The new MCMC error message is indicating that the pri...
- Thu Jan 21, 2021 9:39 am
- Forum: MLwiN user forum
- Topic: Error when fitting a multinomial logit regression with panel data
- Replies: 16
- Views: 1497
Re: Error when fitting a multinomial logit regression with panel data
Thanks for this. It looks like MLwiN has been confused by the language settings on your machine (notice the 5,8 rather than 5.8). If you temporarily change the decimal separator to a . it may start working.