BIPOLATE: Stata module to perform bivariate interpolation and smooth surface fitting for values given at irregularly distributed points

Joe Canner · RePEc: Research Papers in Economics · 2014

This command takes data in three dimensions and uses bivariate interpolation methods to either: (1) estimate z-values for all possible combinations of the specified x-axis and y-axis values; or (2) estimate z-values for a specified list of (x, y) coordinates. The primary use for this command is to prepare data sets for use with 3D graphing commands such as surface (available from SSC) or twoway contour. Several interpolation methods are available; the default method uses quintic polynomials and was first implemented by Akima in 1975 and revised in 1984. Other available methods include thin plate spline, described by Green and Silverman in 1994, and Shepard's method, described in the Stata manual and in various locations online. As a convenience, the thin plate spline and Shepard methods included in Stata's twoway contour command are also available.

Read the paper · More papers on PaperTik