Search found 1176 matches

by ChrisCharlton
Mon Aug 03, 2020 10:13 am
Forum: runmlwin user forum
Topic: Input columns have unequal lengths
Replies: 3
Views: 106

Re: Input columns have unequal lengths

Thanks for the update. This is a bit strange as, unless the model is multivariate, MLwiN should be essentially listwise deleting the rows with missing data anyway. If at some point you could provide me an example that exhibits this problem I will investigate further.
by ChrisCharlton
Mon Jul 27, 2020 2:15 pm
Forum: MLwiN user forum
Topic: Constraining multilevel logistic regression model
Replies: 5
Views: 98

Re: Constraining multilevel logistic regression model

Are you be able to provide some more details regarding what you are trying to do and the problem that you are seeing, as the question isn't clear to us currently?
by ChrisCharlton
Mon Jul 20, 2020 2:11 pm
Forum: runmlwin user forum
Topic: Input columns have unequal lengths
Replies: 3
Views: 106

Re: Input columns have unequal lengths

I'm not sure why this is happening. Can you confirm whether the examples provided with runmlwin work correctly (i.e. those under help runmlwin and on https://www.bristol.ac.uk/cmm/software/runmlwin/examples/ ? If they do could you provide examples of the syntax this is not working correctly for you?...
by ChrisCharlton
Fri Jul 10, 2020 4:17 pm
Forum: MLwiN user forum
Topic: What operating system does the software work on?
Replies: 1
Views: 100

Re: What operating system does the software work on?

MLwiN is primarily developed and tested on Windows, however you may have success with running under Wine ( https://www.winehq.org/ ) on other platforms (see http://www.bristol.ac.uk/cmm/software/mlwin/features/sysreq.html#unix ). If you plan to call the software from R with R2MLwiN ( http://www.bris...
by ChrisCharlton
Thu Jul 09, 2020 2:04 pm
Forum: R2MLwiN user forum
Topic: Multivariate Models: mixture y1: Normal and y2: Poisson
Replies: 1
Views: 81

Re: Multivariate Models: mixture y1: Normal and y2: Poisson

This appears to be a bug in R2MLwiN. If you remove or comment out lines 1469-1475 in https://github.com/rforge/r2mlwin/blob/master/R2MLwiN/R/write.IGLS.R , i.e.: if (level == 2 & D[[1]][1] == "Mixed") { for (i in 2:length(D)) { if (D[[i]][1] == "Binomial" | D[[i]][1] == "Poisson") { len.rpx <- len.r...
by ChrisCharlton
Tue Jul 07, 2020 2:19 pm
Forum: runmlwin user forum
Topic: Issues running 2-level nominal response model
Replies: 8
Views: 243

Re: Issues running 2-level nominal response model

Although you specified a maximum of 100 iterations it may be doing a lot fewer, you would need to check the model output to see whether this is the case. I don't think that taking more than the default maximum number of iterations is necessarily problematic, although you should probably think about ...
by ChrisCharlton
Mon Jul 06, 2020 1:43 pm
Forum: runmlwin user forum
Topic: Issues running 2-level nominal response model
Replies: 8
Views: 243

Re: Issues running 2-level nominal response model

A couple of things you could try are: When MLwiN opens click Abort Macro , then try running the model within MLwiN via the Start button to see if it works or you get any more informative error messages. Try changing the base category for the model, as this can sometimes make a difference to whether ...
by ChrisCharlton
Mon Jul 06, 2020 11:35 am
Forum: runmlwin user forum
Topic: Issues running 2-level nominal response model
Replies: 8
Views: 243

Re: Issues running 2-level nominal response model

Could you try removing the nopause option from your command and then checking the ID structure within MLwiN when it opens? You can look at the data via the Data Manipulation->View or edit data menu. You can see what MLwiN believes the data structure to be either by looking at Model->Hierarchy Viewer...
by ChrisCharlton
Fri Jul 03, 2020 2:05 pm
Forum: runmlwin user forum
Topic: Issues running 2-level nominal response model
Replies: 8
Views: 243

Re: Issues running 2-level nominal response model

I think that the error is caused by the way you have generated the idnew variable, where it restarts numbering within each higher-level unit. Normally this doesn't matter as MLwiN doesn't actually use the lowest level ID variables for anything, however in multinomial models the data is expanded and ...
by ChrisCharlton
Mon Jun 29, 2020 10:10 am
Forum: R2MLwiN user forum
Topic: syntax necessary to constrain a random parameter to zero
Replies: 1
Views: 148

Re: syntax necessary to constrain a random parameter to zero

If you were using the MLwiN GUI you could constrain the parameter value to zero by removing the term from the model (clicking it in the equations window and choosing "Yes" to the remove from model question). The equivalent of this in R2MLwiN is to use the clre option, you can find examples of this i...