*! version v0.0.0.9000 25jun2018

Title

postbfm -- Postestimation tools for bfmcorr

Syntax

postbfm subcommand [, options]

Available subcommands

commands

postbfm biasplot display the plot of the shape of the bias and the merging point; see biasplot for details

postbfm lorenz display the Lorenz curves before and after the correction; see lorenz for details

postbfm summarize generate summary statistics of the distribution before and after the adjustment; see summarize for details

postbfm factors generate summary statistics on the calibration factors; see factors for details

Subcommand postbfm biasplot

The subcommand biasplot displays a plot with the shape of the bias and the corresponding choice of merging point.
By default, four curves are displayed on the same graph. You can hide any of them with the following options:

nosmalltheta do not display the estimated theta (ratio of survey to tax data probability distribution function (PDF)) for each tax data bracket

nobigtheta do not display the ratio of the survey cumulative distribution function (CDF) to the tax data CDF

noantitheta do not display the antitonic estimate of theta which is used to determine the merging point

nomatheta do not display the moving average estimate of theta;
this moving average is not used in the correction, but provides a less noisy estimate of theta without any constraints
on its shape, making easier to spot potential irregularities

The moving average estimate of theta can be adjusted with the option window(real), which controls the number of points
to be used in the average on each side of the current bracket. The default is 4, meaning that the command computes an average
over 9 values (current bracket plus 4 brackets on each side). Larger values give more smoothing, lower values give less smoothing.

Subcommand postbfm lorenz

The subcommand lorenz displays the Lorenz curves of the raw and the adjusted survey on the same graph.

Subcommand postbfm summarize

The subcommand summarize displays a set of summary statistics on the distribution before and after correction.
By default, the results are simply displayed in the Stata output. You can specify the option replace to
save the results in memory (thus erasing the current data). You can specify the option export(filename) to
export the results as an Excel file.

Subcommand postbfm factors

The subcommand factors displays summary statistics on the calibration factors, i.e. the ratio of calibrated
weights to original weights.

Reference

Blanchet, T., Flores, I. and Morgan, M. (2018). The Weight of the Rich: Improving Surveys Using Tax Data. WID.world Working Paper Series No. 2018/12.

Contact

If you have comments, suggestions, or experience any problem with this command, please contact
Thomas Blanchet (thomas.blanchet@wid.world),
Ignacio Flores (i.floresbeale@gmail.com) and
Marc Morgan (marc.morgan@psemail.eu).