Graph for multivariate responses

Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Remember to check out our extensive software FAQs which may answer your question: http://www.bristol.ac.uk/cmm/software/s ... port-faqs/
Post Reply
francescomolteni
Posts: 7
Joined: Mon Oct 19, 2015 3:11 pm

Graph for multivariate responses

Post by francescomolteni »

dear all,
I'm building a 3+1 model with multivariate responses (3 binary outcomes with logit link). I want to plot the predictions grouped by countries (higher level). When I try MlWin give me "Input columns have unequal leghts". Of course my prediction column (Y) has 406935 cases (135656 * 3 responses, 2/3 empty) whereas the cohort colum (X) has only the original 135656. How can I solve?

Thanks you!
ChrisCharlton
Posts: 1384
Joined: Mon Oct 19, 2009 10:34 am

Re: Graph for multivariate responses

Post by ChrisCharlton »

In your data there should be generated columns of the form X.response, which are expanded to the longer length. These contain the value for their associated response or a zero for rows corresponding to the other responses. You can therefore use these columns instead when plotting your predictions.
Post Reply