Page 1 of 1

Graph for multivariate responses

Posted: Mon Oct 19, 2015 3:19 pm
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!

Re: Graph for multivariate responses

Posted: Mon Oct 19, 2015 3:42 pm
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.