Code Monkey home page Code Monkey logo

yaic's Introduction

Yet Another Information Criterion

This package implements methods from the papers Post-selection inference: estimation of leverage and squared error optimism via flows and Degrees of freedom for piecewise Lipschitz estimators by Frederik Vissing (formerly Riis) Mikkelsen and Niels Richard Hansen.

These papers develop valid estimates of covariance penalties after model selection, which quantify leverage of individual observations as well as the total optimism of the training squared error. The resulting information criterion (YAIC) is an approximately unbiased estimate of mean squared error. This should be contrasted to AIC, Mallows's Cp and SURE that do not correctly account for model selection and are thus overly optimistic, just as classical leverage quantities underestimate the influence of individual observations when model selection is used.

YAIC is based on properties of the model selection algorithm as a function of one or more tuning parameters that allow for direct estimation of covariance penalties. Alternatives for estimating covariance penalties include bootstrapping and leave-one-out cross-validation. Compared to these methods, YAIC has a small computational overhead on top of the computation of the regularization path of estimates parametrized by the tuning parameter.

The package supports tuning parameter selection and model averaging (under development) using YAIC for Gaussian linear regression models. Extensions to generalized linear models is under development.

Installation

TODO

Using the package

The package requires a model matrix and a vector of responses. Using one of the supported variable selection algorithms it returns an object with regression parameter estimates parametrized by the tuning parameter(s).

yaic's People

Contributors

nielsrhansen avatar

Watchers

James Cloos 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.