I am using a relative index of inequality to assess health inequalities yin unmet need in family planning. Whereas I understand the steps to calculate this I am finding trouble with commands.
Steps include
1. Ranking individuals in each socio-economic position indicator (age, wealth index, education level and geographical location) while accounting for group size using weighted ridit scores.
2. Running a logistic regression w to regress obtained relative ranks in each socio-economic position indicator on the binary outcomes (yes/no for unmet need for spacing, unmet need for limiting and total unmet need)