Stata notes and programs
Using the quantiles command instead of cut
quantiles
f1
, gen (
assets_quartiles
) nquant(4)
Instead of
egen
assets_quartiles
=cut(
f1
), group(4)
*The quantiles seems to provide a more precise cut than the command cut
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment