Hi everyone,
I am using Italian Time use data, I will post a fake example of it:
where "individua"l is the identifier of individual "j", "play_mother" and "sport_mother" are variables indicating the amount of time spent with mother in playing and doing sport.
I would like to analyze the distribution of time spent in playing and doing sports by the child with the mother, in particular I would like to compute the Gini Index and the ratio between the 90th and 10th percentiles! Is there a way to compute them in Stata and, eventually, to export them (for example using something like "estout" "outreg")?
Thank you in advance
Andrea
I am using Italian Time use data, I will post a fake example of it:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str6 individual double(play_mother sport_mother) "1" 30 20 "2" 0 0 "3" 40 30 "4" 0 10 "5" 70 0 "6" 0 0 "7" 100 0 "8" 0 0 "9" 0 20 "10" 150 90 end
I would like to analyze the distribution of time spent in playing and doing sports by the child with the mother, in particular I would like to compute the Gini Index and the ratio between the 90th and 10th percentiles! Is there a way to compute them in Stata and, eventually, to export them (for example using something like "estout" "outreg")?
Thank you in advance
Andrea
Comment