Git Product home page Git Product logo

skillmodels_usage's Introduction

skillmodels usage

This repository illustrates the use of skillmodels - a python package for the estimation of non-linear skill formation models and other non-linear dynamic latent factor models.

The code is structured according to the Project Templates by Hans-Martin von Gaudecker that can be found here. To run the code you need Conda. If you use Anaconda or Miniconda you already have it. Else, see here for installation instructions.

After cloning the repository, open a shell in its main directory. You can then type:

  • source set-env.sh (on Mac or Linux) or set-env.bat (on Windows). This will install the necessary Python packages (including skillmodels and its dependencies) in a conda environment.
  • python waf.py configure to configure waf.
  • python waf.py to run the project

The last step will take a minute or two because it runs one model with each estimator:

  • An example model from the replication files of the CHS paper is estimated with the chs estimator. (In order to save computation time the maximization of the likelihood function is started with the correct values; with worse start values it takes more than an hour to fit the models but the results are the same).
  • A model with simulated data is estimated with the WA estimator. (In order to save computation timpe, the number of bootstrap replications for the standard error was set to a very low number.)

After it has completed you will find plots of a comparison of skillmodels results and the fortran results from the CHS replication files in the bld directory. In the same place you can find csv files with the estimated parameters of both models.

skillmodels_usage's People

Contributors

hmgaudecker avatar janosg avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.