Thanks to Kit Baum, a new package called
dstat is available from the SSC Archive.
dstat unites a variety of methods to describe (univariate) statistical distributions. Covered are
- density estimation
- histograms
- cumulative distribution functions
- probability distributions
- quantile functions
- Lorenz curves
- percentile shares
and a large collection of summary statistics such as
- classical and robust measures of location, scale, skewness, and kurtosis
- inequality and poverty measures
Particular features of the command are
- consistent standard errors supporting complex sample designs for all covered statistics
- simultaneous analysis of multiple variables across multiple subpopulations
- covariate balancing based on reweighting techniques (inverse probability weighting and entropy balancing), including appropriate correction of standard errors
- generating influence functions (or recentered influence functions) for further analysis, e.g. in a RIF regression
To install the package, type
Code:
. ssc install dstat
Since the latest update of
moremata is required, you may also want to type
Code:
. ssc install moremata, replace
Furthermore,
dstat calls
coefplot when drawing graphs. To install or update
coefplot, type
Code:
. ssc install coefplot, replace
Writing
dstat was low hanging fruit after having developed
reldist (see
https://ideas.repec.org/p/bss/wpaper/37.html). However, consider this as a beta release. The code is complex and long (a bit more than 6000 lines) and I certainly did not catch all bugs in my tests. If you encounter any issues, please let me know (either via email or by posting an issue at
https://github.com/benjann/dstat).
ben
0 Response to New -dstat- package available from SSC
Post a Comment