625928915 发表于 2015-1-19 17:28
bysort income:gene income_g=group(3)
ientropy varlist , [ HSize(varname) HGroup(varname) THETA(real) LEVEL(real) CONF(string) DEC(int) ]
hsize Household size. For example, to compute inequality at the individual level, one will want to weight household-level observations by household size (in addition to sampling weights, best set in survey design).
hgroup Variable that captures a socio-demographic group. For example, this variable could equal 1 for rural households and 2 for urban ones. When this option is used, the associated varlist should contain only one variable. {p_e
theta The value of the parameter theta (see the users' manual for mor details). By default, this parameter is set to 1.
level To set the confidence level of the confidence interval to be produced.
conf To set the type of confidence interval desired: "ts" for two sided, "lb" for lower-bounded and "up" for upper-bounded.
dec To set the number of decimals used in the display of results.
这个是说明~~ 我还是没看明白~~