Hi everyone,
I have two questions:
1/ I am using the command
. The result I got containing the missing value. That is because the variable used for the [egen] has missing value. However, I would like to get the result that the missing values replace by zero value. So how can I get the result whereas the missing value replaced by 0 value when using the command
2/ What is the correct for percentile command to calculate the variables: say average income of 20% of the lowest income people, 20% of the lower-middle income people, 20% of the middle income people; 20% of high-middle income people and 20% of highest income people?
Thank you a lot
Regards
Linh
I have two questions:
1/ I am using the command
Code:
bysort $id: egen
Code:
bysort $id: egen
Thank you a lot
Regards
Linh
Comment