Search found 9 matches

by ddsswick
Fri Oct 20, 2017 12:12 pm
Forum: MLwiN user forum
Topic: Error in nested loops
Replies: 5
Views: 6683

Re: Error in nested loops

I tried to replicate the error with the following macros: code1.txt: SAY "inside code1" LOOP b1000 1 10000 OBEY "code2.txt" ENDLOOP code2.txt: SAY "inside code2" OBEY "code3.txt" OBEY "code4.txt" code3.txt: SAY "inside code3" code4.txt: SA...
by ddsswick
Thu Oct 19, 2017 11:08 pm
Forum: MLwiN user forum
Topic: Error in nested loops
Replies: 5
Views: 6683

Re: Error in nested loops

The shouldn't be a limitation on the number of calls to obey that you can make within a macro. If you could provide a simplified example that demonstrates the problem then I will investigate this further. Say, I have the main code as 'code1'. Inside that there is an obey command to call 'code2'. In...
by ddsswick
Thu Oct 19, 2017 3:52 pm
Forum: MLwiN user forum
Topic: Error in nested loops
Replies: 5
Views: 6683

Error in nested loops

Hi, I get the following error when I run a macro. I do not have 2 loops in that macro. But I have 2 'obey' functions. Is it why I do get this error? I am very grateful if someone can help. This only occurs after few loops in the main macro worked well. error while obeying batch file D:\****\***\Code...
by ddsswick
Tue Oct 10, 2017 8:39 am
Forum: MLwiN user forum
Topic: Multilevel data with 2 binary responses
Replies: 2
Views: 3891

Re: Multilevel data with 2 binary responses

We provide some additional datasets at http://www.bristol.ac.uk/cmm/learning/support/datasets/ , so you may find something suitable there. Alternatively you could make binary responses from continuous variable as described in section 14.5 of the MLwiN user guide (see http://www.bristol.ac.uk/cmm/me...
by ddsswick
Sun Oct 08, 2017 1:10 pm
Forum: MLwiN user forum
Topic: Multilevel data with 2 binary responses
Replies: 2
Views: 3891

Multilevel data with 2 binary responses

Hi all,

Where can I find a data set of multilevel data with 2 correlated binary responses and at least one continuous explanatory variable? I was not able to find such a data set even in the inbuilt data sets available in MLwiN.

Thanks in advance...
by ddsswick
Fri Sep 01, 2017 2:20 am
Forum: MLwiN user forum
Topic: Goodness of fit test for Multilevel logistic models
Replies: 2
Views: 4248

Re: Goodness of fit test for Multilevel logistic models

Hi ddswick, To confirm the Hosmer-Lemeshew test has not been implemented in MLwiN. In the multilevel setting there are residuals available and the diagnostics that go with testing these are available as in normal models. Hope that answers your question. Best wishes, Bill. Thank you very much
by ddsswick
Sat Aug 19, 2017 10:08 am
Forum: MLwiN user forum
Topic: Goodness of fit test for Multilevel logistic models
Replies: 2
Views: 4248

Goodness of fit test for Multilevel logistic models

Hi,

Are there any goodness of fit tests available for multilevel logistic models in MLwiN? Is it possible to do Hosmer-Lemeshew test in MLwiN?

Thank you
by ddsswick
Sat Aug 12, 2017 3:17 pm
Forum: MLwiN user forum
Topic: Error when fitting 2 level bivariate model
Replies: 2
Views: 3863

Re: Error when fitting 2 level bivariate model

Thank you very much for your helpful answer... I really appreciate it...
by ddsswick
Thu Aug 10, 2017 3:40 pm
Forum: MLwiN user forum
Topic: Error when fitting 2 level bivariate model
Replies: 2
Views: 3863

Error when fitting 2 level bivariate model

When I fit a 2 level bivariate model with both variables binary I get the following error sometimes. "Error while obeying bath file: .... line number 51: calc F~(H) = expo(H)*(1+expo(H))^(-2) 140 numeric errors in calculate command, first 20 affected entries listed. Affected entries replaced wi...