Announcement

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

  • How to use alorenz to test the second order stochastic dominance?

    Hi

    I am a very new user to STATA and trying to look for a way to test second order stochastic dominance. I found alorenz package which have this functionality but i am unable to understand the format of input to this method. My query is as follows,

    Q1. In which format should I arrange my data, e.g, Simple two columns, one for group and second for the values?


    I would be very thankful if someone could give an example for the usage of this method. I am attaching here an example of the format of my data for your reference.

    Kind regards,
    Zoraze Ali
    Attached Files

  • #2
    using World penn 9 data

    . alorenz rgdpe if year==2007 [aw=pop], view gl ge gp

    Result: Total

    ----------------------------------------------------------------------
    percentil | Result: Total
    e | ac_prop_rgdpe maxrgdpe ac_prop_pop ac_mean_rgdpe
    ----------+-----------------------------------------------------------
    1 | 3.91 65163.54 9.60 4816.33
    2 | 11.05 277777.00 19.97 6550.76
    3 | 21.49 567576.44 28.90 8808.99
    4 | 30.65 1012720.88 38.13 9519.99
    5 | 44.34 2004713.25 49.31 10646.55
    6 | 60.86 3192188.00 55.51 12981.37
    8 | 70.89 4513596.00 75.37 11138.81
    10 | 100.00 100.00 11842.16
    ----------------------------------------------------------------------

    Comment

    Working...
    X