IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s457666.html
 

SURVEYBIAS: Stata module to compute the B and B_w multinomial accuracy measures for polling bias

Author

Listed:
  • Kai Arzheimer

    (Institut für Politikwissenschaft, University of Mainz)

Programming Language

Stata

Abstract

This module estimates by Maximum Likelihood methods various polling accuracy measures for multi-party elections based on a generalisation of Martin, Traugott and Kennedy's two-party predictive accuracy index A. For detailed information on the measures A', B and B_w, see Arzheimer, Kai and Jocelyn Evans: A New Multinomial Accuracy Measure for Polling Bias. Forthcoming in Political Analysis(21) 2013, http://dx.doi.org/10.1093/pan/mpt012 The module consists of three ados: surveybias.ado is for use with a single survey (raw data). surveybiasseries.ado facilitates the comparison of surveys. It calculates accuracy measures from a dataset, where each row contains margins from a single survey. surveybiasi.ado is an immediate command that makes it easy to calculate accuracy measures from published survey results. Two example data sets illustrate the use of surveybias and surveybiasseries. More replication data and scripts are available from my dataverse at http://hdl.handle.net/1902.1/21603

Suggested Citation

  • Kai Arzheimer, 2013. "SURVEYBIAS: Stata module to compute the B and B_w multinomial accuracy measures for polling bias," Statistical Software Components S457666, Boston College Department of Economics, revised 30 Sep 2015.
  • Handle: RePEc:boc:bocode:s457666
    Note: This module should be installed from within Stata by typing "ssc install surveybias". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/s/surveybias.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/surveybias.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/surveybiasi.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/surveybiasi.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/surveybiasseries.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/surveybiasseries.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/a/all-german-surveys.dta
    File Function: sample data file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/g/german-pre-election-polls.dta
    File Function: sample data file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/g/gles-preelection.dta
    File Function: sample data file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/onefrenchsurvey.dta
    File Function: sample data file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_all-examples.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-1.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-1b.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-1c.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-2.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-2b.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-3.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-3b.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-4.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-5.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-5b.do
    File Function: sample do file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sb_example-6.do
    File Function: sample do file
    Download Restriction: no
    ---><---

    Citations

    Blog mentions

    As found by EconAcademics.org, the blog aggregator for Economics research:
    1. Polling accuracy: a Q&A with Kai Arzheimer and Jocelyn Evans
      by ? in OUPblog on 2013-11-24 17:30:00

    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:bocode:s457666. 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/debocus.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.