IDEAS home Printed from https://ideas.repec.org/p/boc/usug17/16.html
   My bibliography  Save this paper

piecewise_ginireg - A Stata package to run piecewise Gini regressions

Author

Listed:
  • Jan Ditzen

    (Heriot-Watt University)

  • Shlomo Yitzhaki

    (Hebrew University)

Abstract

This presentation introduces piecewise_ginireg, an extension to Mark Schaffer’s – ginireg - command. Gini regressions are based on the Gini’s Mean Difference as a measure of dispersion and the estimator can be interpreted as a weighted average of slopes. (See for example Olkin and Yitzhaki, “Gini Regression Analysis”, International Statistical Review 60 (1992): 185-196.) In comparison to a simple OLS regression, the covariance is replaced by the Gini covariance. piecewise_ginireg splits the dataset into subsets and allows an estimation for each of these subsets, giving the possibility to gain estimated coefficients for each of the subsets and to test if the linearity assumption is held by the data. In comparison to a regular Gini regression, piecewise_ginireg runs several Gini regressions on subsets of the data. As a first step piecewise_ginireg runs a normal Gini regression on the entire dataset (Iteration 0). The estimated coefficients are saved, the residuals computed and the LMA curve calculated. The LMA allows an interpretation how the Gini covariance is composed. In the next iterations the dataset is split into separate parts defined by a rule. piecewise_ginireg allows different rules such as the min or max of the LMA or were the LMA crosses the origin. On each of the sections a Gini regression is performed, where the dependent variable is the error term of the preceding iteration. After each iteration the coefficients are saved, residuals and the LMA calculated. piecewise_ginireg allows the user to specify the maximum number of iterations is several ways. It is possible to set a fixed number or until the normality conditions of the error terms holds.

Suggested Citation

  • Jan Ditzen & Shlomo Yitzhaki, 2017. "piecewise_ginireg - A Stata package to run piecewise Gini regressions," United Kingdom Stata Users' Group Meetings 2017 16, Stata Users Group.
  • Handle: RePEc:boc:usug17:16
    as

    Download full text from publisher

    File URL: http://repec.org/usug2017/ditzen-uksug17.pdf
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:usug17:16. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.