Announcement

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

  • IOP inequality of opportunity

    Dear Forum Members,

    I am using data from a country-level household survey (180000 obs) and trying to assess the IOP and Shapley decomposition in windows 11 STATA 15.1 SE.

    * outcome variable is in dummy form
    * independent/(effort or circumstance) all are in dummy form.

    I am using hoi package
    Code:
     *! v 1.7   26mar2011 Por Samuel Franco, Joao Pedro Azevedo & Alejandro Hoyos
    My syntax is as follows:

    Code:
     iop y ioWlth_qtle_1 ioWlth_qtle_2 ioWlth_qtle_3 ioWlth_qtle_4 ioWlth_qtle_5 iosg_cast_1 iosg_cast_2 iosg_cast_3 iosg_cast_4 ///
    io_resi_1 io_resi_2 iosani_improve_3 iosg_religion_1 iosg_religion_2 iosg_religion_3 iochild_bord_1 iochild_bord_2 iochild_bord_3 ///
    iochild_age_1 iochild_age_2 iosex_1 iosex_2 iomomedu_cat_1 iomomedu_cat_2 iomomedu_cat_3 iomomedu_cat_4 iomothr_hight_1 ///
    iomothr_hight_2 iom_norm_1 iom_norm_2 iochild_ev_born_1 iochild_ev_born_2 iochild_ev_born_3 iomothr_age_1 iomothr_age_2 ///
    iomothr_age_3 ioage8frbrth_1 ioage8frbrth_2 ioage8frbrth_3 ioany_anim_1 ioany_anim_2 iodlvry_place_1 iodlvry_place_2 ///
    iodlvry_place_3 ioc_section_1 ioc_section_2 iov157_frq_1 iov157_frq_2 iov157_frq_3 v159_frq_1 v159_frq_2 v159_frq_3, ///
    d shapley(pdb) /* shapley decomposition*/ ///
    sgroup(ioWlth_qtle_1 ioWlth_qtle_2 ioWlth_qtle_3 ioWlth_qtle_4 ioWlth_qtle_5, ///
    iosg_cast_1 iosg_cast_2 iosg_cast_3 iosg_cast_4, ///
    io_resi_1 io_resi_2, ///
    osani_improve_1 iosani_improve_2 iosani_improve_3, ///
    iosg_religion_1 iosg_religion_2 iosg_religion_3, ///
    iochild_bord_1 iochild_bord_2 iochild_bord_3, ///
    iochild_age_1 iochild_age_2, ///
    iosex_1 iosex_2, ///
    iomomedu_cat_1 iomomedu_cat_2 iomomedu_cat_3 iomomedu_cat_4, ///
    iomothr_hight_1 iomothr_hight_2, ///
    iom_norm_1 iom_norm_2, ///
    ochild_ev_born_1 iochild_ev_born_2 iochild_ev_born_3, ///
    omothr_age_1 iomothr_age_2 iomothr_age_3, ///
    oage8frbrth_1 ioage8frbrth_2 ioage8frbrth_3, ///
    ioany_anim_1, ///
    oany_anim_2, ///
    iodlvry_place_1 iodlvry_place_2 iodlvry_place_3, ///
    ioc_section_1 ioc_section_2, ///
    iov157_frq_1 iov157_frq_2 iov157_frq_3 v159_frq_1 v159_frq_2 v159_frq_3 )
    in the above code each line after sgroup presents a group indicated by comma at the end.


    My query is:-

    It takes only up to 11 groups only,

    Is it happening because the STATA IOP program is written in a way that only allows 11 groups, or is there any possible issue with my STATA or machine?
    Best regards,
    Mukesh

    (Stata 15.1 SE)
Working...
X