Giter Site home page Giter Site logo

ghost's Introduction

Code for model summary and projections paper

"Model interpretation through lower-dimensional posterior summarization"
by Spencer Woody, Carlos M. Carvalho, and Jared S. Murray

Contents

  • toy-sigmoid-example.R contains code for the toy example in Section XX which illustrates how our summarization approach can approximate the partial effects in nonparametric regression models.
  • sim-itx-search.R contains code for the simulation example in Section XX which demonstrates our method for discovering the most significant interactions present in nonparametric regression models. This script creates 20 simulations, while sim-itx-search-big.R contains 1000 simulations.
  • crime-example.R contains code for the linear summary of linear regression model used the crime example regression analysis in Section XX.
  • CA-example-[xxx].R these scripts replicate the extensive case study of Section 4, summarizing a nonparametric regression model for housing prices in California at the census tract level.
    • CA-example-01dataprep.R reads in and transforms the data.
    • CA-example-02GPfit.R fits a Gaussian process regression model to the data.
    • CA-example-03GPposterior.R computes MCMC draws from the posterior of the GP regression model and the error variance parameter.
    • CA-example-04globalsummaries.R computes global summaries (linear, additive, additive with bivariate interaction), and the interaction search mentioned in Section 4.1.
    • CA-example-05localsummaries.R computes local linear summaries for the GP regression model, at various resolutions of locality (metropolitan area, county, city, and neighborhood).
  • R/ contains R functions for the rest of the analysis.
  • src/ contains source C++ functions used in R scripts.
  • data/ contains the California housing price data.

Details for these analyses can be found in the original paper.

Contact

Spencer Woody
Statistics PhD Candidate, UT-Austin
Email: [email protected]

ghost's People

Contributors

spencerwoody 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.