Hi,
I am trying to use the following model: UTPr,s = Pr (Yt > s+r | Yo < s) to calculate upward transition probability (UTP).
UTP: Child's income percentile (Yt) exceeds a given percentile s in the child's income distribution by an amount r, conditional on the parent's income percentile (Yo) being at or below s in the parent's income distribution. However, at the same time, I want to calculate it differently for two religious groups Hindus and Muslims. These two groups are in the form of a dummy variable taking value 1 if Hindu and 0 if Muslim.
How should I introduce the non-overlapping percentile intervals of the parent income distribution (for example, s ˂ 10th percentile,
10th percentile > s ˂ 20th percentile ... 40th percentile > s ˂ 50th percentile)?
Related Posts with How to calculate transition probabilties?
Merging two datasets based on a date rangeHi, I am a STATA newbie and got somehow stuck merging two datasets. One dataset (A) contains, amo…
Create and export spatial matrix: spmatrix does not find the matrix created in MataI have a code that partially works to create a spatial matrix: egen id = group(IOCode),label lname(…
How can I use Stata to generate 50 consecutive strings like star1 star2 star3 star4 star5........star50?As the title suggested, I know how to use R to generate them. However, I don't know how to do that i…
import all excel sheets from a specified folder, and save as STATA filesHello - I am attempting to import all excel sheets from a specified folder, and save as STATA files.…
Creation of a bar grap/ histogram with 4 variables.I am having a problem with creating a bar graph/ histogram with 4 different variables. The variables…
Subscribe to:
Post Comments (Atom)
0 Response to How to calculate transition probabilties?
Post a Comment