Announcement

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

  • Predicted Probability quantile plot


    Hi all,

    After running a simple logistic regression, I would like a quantile plot for the predicted probability. To be more specific, I have run a logit model to explain access to schooling(S) against independent variables (mostly binary and/or categorical) such as gender(G), Household wealth(W), age(A), Distance(D) and Region(R). I would like show on the X-axis the percentile groups of kids after ranking them based on the predicted probability having access to school. On the Y-axis I want to show the predicted probability of access to school for each percentile group.

    Thanks for support.



  • #2
    Basically like so:

    Code:
    logit depvar indepvars
    predict prob
    and then either scatter them directly like

    Code:
    scatter access prob
    or transform these two variables to the kind of percentiles you like using xtile.
    Best wishes

    Comment


    • #3
      Thanks Felix Bittman...very helpful

      Comment

      Working...
      X