Search found 1246 matches

by ChrisCharlton
Wed Feb 03, 2021 11:44 am
Forum: MLwiN user forum
Topic: 'invalid stoi argument' - pasting data into MLwiN
Replies: 3
Views: 1415

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...
by ChrisCharlton
Tue Feb 02, 2021 3:09 pm
Forum: MLwiN user forum
Topic: 'invalid stoi argument' - pasting data into MLwiN
Replies: 3
Views: 1415

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?
by ChrisCharlton
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: 1862

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...
by ChrisCharlton
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: 1862

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...
by ChrisCharlton
Mon Jan 25, 2021 2:13 pm
Forum: Realcom user forum
Topic: Imputation error:
Replies: 2
Views: 1533

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...
by ChrisCharlton
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: 3605

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...
by ChrisCharlton
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: 3605

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.
by ChrisCharlton
Wed Jan 20, 2021 2:15 pm
Forum: MLwiN user forum
Topic: Error when fitting a multinomial logit regression with panel data
Replies: 16
Views: 3605

Re: Error when fitting a multinomial logit regression with panel data

Would it be possible for you to provide further details regarding the errors that you get when you attempt to run this via MCMC?
by ChrisCharlton
Tue Jan 12, 2021 12:15 pm
Forum: MLwiN user forum
Topic: Error when fitting a multinomial logit regression with panel data
Replies: 16
Views: 3605

Re: Error when fitting a multinomial logit regression with panel data

For multinomial models the base level needs to be an identifier indicating the unit number (e.g. 1..N). If you don't have such a column in your data this can be created using the GENE command or Generate Vector window. This will then be expanded when converting the response to multinomial.
by ChrisCharlton
Sat Dec 19, 2020 1:05 pm
Forum: MLwiN user forum
Topic: Strange predicted values
Replies: 1
Views: 1293

Re: Strange predicted values

It looks like each line of your graph contains predictions for both genders, in a similar way to how the line on page 57 of the MLwiN user's guide ( https://www.bristol.ac.uk/cmm/media/software/mlwin/downloads/manuals/3-05/manual-web.pdf ) contains predictions for all of the different schools. I thi...