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

Splitting spells in very large or daily datasets

Author

Listed:
  • Klaudia Erhardt

    (DIW Berlin)

  • Ralf Künster

    (WZB Berlin, Germany)

Abstract

We have written two Stata programs (do-files) dealing with spell data. The first program, splitspells, splits spell data in such a way that every split spell within the same case is either parallel or unique (in respect to the time period covered by the spells). This could be done by splitting each spell in single time-unit splits, a method that is not recommended—or even feasible—for large datasets or daily data, because it produces a maximum of additional records. In contrast, splitspells does the job by producing the least possible number of additional records and is a useful tool in the process of transforming multiple spell-type datasets into “unidimensional” sequence data. The second program, combispells, is used with episode data that are already split. Using existing spell-type variables and user-defined short labels, combispells produces a (labeled) numeric variable and a string variable that show the spell-type combinations occurring within parallel splits of a case. Thus it provides a user-friendly and easy-to-handle tool for the editing, revision, and exploration of spell data.

Suggested Citation

  • Klaudia Erhardt & Ralf Künster, 2014. "Splitting spells in very large or daily datasets," German Stata Users' Group Meetings 2014 05, Stata Users Group.
  • Handle: RePEc:boc:dsug14:05
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/RePEc/dsug2014/de14_erhardt_kuenster.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:dsug14:05. 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.