Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multilevel nested hierarchical data: Plot conditional associations with mlabels (as in as in avplot)

    Dear All,

    I have data for 50000 individuals across 50 countries. The outcome is dichotomous and the predictor is continuous and I am conditioning on a number of controls.

    I would like to plot the conditional association between outcome and predictor, where each country is plotted as a dot with the associated mlabel.

    For a normal OLS regression, avplot would do the trick. In the context of nested data, I am less sure what I could use. (SSC) binscatter / binslogit come to mind but are not really designed for this and hence don't offer the mlabel option. I would also rather refrain from averaging the individual level at the country level which would be the easy option that's however not consistent with the estimated model.

    Do you have any suggestions for plotting conditional associations in a multilevel context with mlabel?

    Many thanks in advance!
Working...
X