Hi all. Please help on the following error.
I run the following commands to generate variables x1_q to create 5 equal quintiles of x1.
sort x1
xtile x1_q=x1, nq(5)
It should create 5 quantiles based on the variable x1, however, when I browse the data I only firnd 1 2 3 and 5 quintiles. Quintile 4 is missing. Please help. Thanks.
I run the following commands to generate variables x1_q to create 5 equal quintiles of x1.
sort x1
xtile x1_q=x1, nq(5)
It should create 5 quantiles based on the variable x1, however, when I browse the data I only firnd 1 2 3 and 5 quintiles. Quintile 4 is missing. Please help. Thanks.
Comment