The -egen, xtile- command/function from the egenmore package by Nick Cox is exhibiting some concerning behaviour: it works under Stata 11,12,13, but it generates the following error message under Stata 15:
Code:
. webuse nlswork, clear (National Longitudinal Survey. Young Women 14-26 years of age in 1968) . . keep idcode year ln_wage hours . egen xtiles = xtile(ln_wage), by(idcode) too many values r(134); .
Code:
. levels idcode too many values r(134); . levelsof idcode ******** output omitted, but it works
0 Response to -egen, xtile- works in Stata 11, 12, 13, but generates an error message in Stata 15... Is this situation supposed to not occur?
Post a Comment