IDEAS home Printed from
MyIDEAS: Login to save this paper or follow this series

Using Stata as a Computational Tool in a Relational Database Environment

  • Tom Mustillo


    (Indiana University-Purdue University Indianapolis)

  • Sarah Mustillo

    (Purdue University.)

Registered author(s):

    Stata can be used as a companion to relational database programs to compute and serve up statistical and non-standard functions for live public use. This session builds upon previous North America Stata Users Group meetings on “Translating Data between MySQL and Stata” (2004), “Working with ODBC Data Sources in Stata” (2004), and “Integrating Stata with Database Management Systems” (2005) by demonstrating how a Microsoft Access database of electoral data can call up Stata do files to compute and/or estimate alternative measures of political party nationalization. This database uses Stata to compute Jones and Mainwaring’s (2003) measure of “Party Nationalization” using the egen_inequal command and Morgenstern and Potthoff’s (2005) measure of the “Components of Elections” using xtmixed. More generally, where data reside live and for broad public consumption, Stata can play a valuable role operating behind the scenes for non-technical users where measures of conceptual value cannot be generated from within the database environment.

    If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

    File URL:
    Download Restriction: no

    Paper provided by Stata Users Group in its series Summer North American Stata Users' Group Meetings 2008 with number 13.

    in new window

    Date of creation: 29 Jul 2008
    Date of revision: 28 Aug 2008
    Handle: RePEc:boc:nsug08:13
    Contact details of provider: Web page:

    More information through EDIRC

    No references listed on IDEAS
    You can help add them by filling out this form.

    This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.

    When requesting a correction, please mention this item's handle: RePEc:boc:nsug08:13. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum)

    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.

    If references are entirely missing, you can add them using this form.

    If the full references list an item that is present in RePEc, but the system did not link to it, you can help with 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 profile, as there may be some citations waiting for confirmation.

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

    This information is provided to you by IDEAS at the Research Division of the Federal Reserve Bank of St. Louis using RePEc data.