GithubHelp home page GithubHelp logo

stata-support's Introduction

stata-support

This repository contains code files to facilitate use of the Fragile Families Challenge data files in Stata.

Credit to Jeremy Freese for providing these, which we have adapted slightly. Thanks to Steve McKay for a helpful suggestion to clarify the README.

Please direct questions to [email protected].

Repository contents:

  1. combine_ffc_data_files.do --> takes the FFC data and makes Stata .dta files that are easier to work with, for example handling the missing values. ALSO, circumvents the 2048 limit of Stata/IC by chopping the data file into smaller files that can then be recombined using -ffadd-

[Note quoted directly from challenge participant Steve McKay for Stata/SE users: With Stata/SE, you can simply ‘set maxvar 14000’ (up to a limit of 32,767). To confirm run ‘help limits’ in Stata]

  1. ffadd.ado --> add-on Stata command that allows users to add variables to a base dataset. This solves the 2048 variable problem because users start with a short base dataset and then add variables of interest to it.

  2. simple_worked_example.do --> easy example of actually constructing variables

  3. predbundle.ado --> add-on Stata comamnd that makes it easy to generate the prediction bundle needed to upload for the competition

  4. prediction_bundle_example.do --> example of actually fitting a model, generating predictions, and uploading it to the site. These predictions are the current predictions for "soc383" on the leaderboard.

For all this, we strongly recommend working from having all the files, including data and do files, in one directory. Experienced coders may prefer separate directories, but only those comfortable modifying the code to get it to work should consider using separate directories.

stata-support's People

Watchers

 avatar  avatar  avatar

Forkers

amack315

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.