.- help for ^ineqerr^ [STB-51: sg115] .- . Bootstrap standard errors for indices of inequality --------------------------------------------------- . ^ineqerr^ varlist [weight] [^if^ exp] [^in^ range] [^, r^eps^(^#^)^ ^psu(^varname^)^ ^psuwt(^varname | expression^)^] . ^aweight^s and ^fweight^s are allowed; see help @weights@. . . Description ----------- . ^ineqerr^ computes three indices of inequality - Gini coefficient, Theil entropy measure and Variance of Logs - and bootstrap estimates of their sampling variances. The program offers three variations of the bootstrap variance estimates. . . Options ------- . ^reps(^#^)^ specifies the number of bootstrap replications to be performed. The default value is 100. . ^psu(^varname^)^ specifies the variable identifying the primary sampling unit. If no variable is specified, then the bootstrap replication is a single- stage, simple random draw on the sample. If specified, the bootstrap replication is two-stage simple random draw on the sample. . ^psuwt(^varname^)^ specifies the weight to be used for the first-stage selection process. If, for example, the population of the primary sampling unit is specified, then the bootstrap replicates a random draw with probability proportional to population. Both ^psuwt^ and the ^weight^ options accept either a variable name or an expression, where for example an expression might be the product of two variables. The psuwt option can only be used if the primary sampling unit is specified. If no weighting variable is specified for the first-stage but the psu is specified, the bootstrap replication is two stages of a simple random draw on the sample. . . Examples -------- . . ^ineqerr pcexp, reps(50)^ . . ^ineqerr pcexp, reps(50) psu(clust)^ . . ^ineqerr pcexp foodexp [fweight=hhsize] if rural==1,^ ^reps(50) psu(clust) psuwt(psupop)^ . . Authors ------- . Dean Jolliffe Center for Economic Research and Graduate Education Czech Republic dean.jolliffe@@cerge.cuni.cz Bohdan Krushelnytskyy Center for Economic Research and Graduate Education Czech Republic bohdan.krushelnytskyy@@cerge.cuni.cz . . Also see -------- . Manual: ^[R] svymean, bstrap^ STB: STB-23, STB-48 On-line: help for @svymean@, @bstrap@, @inequal@ (if installed), @inecdeco@ (if installed)