Code Monkey home page Code Monkey logo

m-clark / models-by-example Goto Github PK

View Code? Open in Web Editor NEW
67.0 3.0 17.0 26.82 MB

By-hand code for models and algorithms. An update to the 'Miscellaneous-R-Code' repo.

Home Page: https://m-clark.github.io/models-by-example/

R 100.00%
algorithms bayesian maximum-likelihood-estimation linear-regression logistic-regression neural-network zero-inflated mixed-models hamiltonian-monte-carlo lasso ridge-regression penalized-regression gradient-descent splines rkhs pca cox-model expectation-maximization machine-learning gaussian-processes

models-by-example's Introduction

Model Estimation by Example

Lifecycle Status

This is the repo for the document found here, based on the raw code repo- Miscellaneous R Code. The document code has been tidied and may have other improvements relative to the original repo, but remains a conceptual/tutorial endeavor to various modeling techniques and algorithms. It provides 'by-hand' demonstrations of various models and algorithms. The goal is to take away some of the mystery of them by providing clean code examples that are easy to run and compare with other tools. The primary functions are usually just a few lines of code, and in almost all cases, comparisons are made to an R package result. A few Python and other language demos as well.

At present the topics covered are:

* Python ** Stan

Models
  • Linear Regression *
  • Logistic Regression *
  • One-factor Mixed Model
  • Two-factor Mixed Model
  • Mixed Model via ML
  • Probit & Bivariate Probit
  • Heckman Selection
  • Marginal Structural Model
  • Tobit Regression
  • Cox Survival
  • Hurdle Model
  • Zero-Inflated Model
  • Naive Bayes
  • Multinomial Regression
  • Ordinal Regression
  • Markov Model
  • Hidden Markov Model *
  • Quantile Regression *
  • Cubic Spline Model
  • Gaussian Processes
  • Neural Network *
  • Extreme Learning Machine
  • Reproducing Kernel Hilbert Space Regression
  • Confirmatory Factor Analysis
Bayesian
  • Introduction to Bayesian Methods
  • Basics
  • Bayesian t-test **
  • Bayesian Linear Regression **
  • Bayesian Beta Regression **
  • Bayesian Mixed Model **
  • Bayesian Multilevel Mediation **
  • Bayesian IRT **
  • Bayesian CFA **
  • Bayesian Nonparametric Models **
  • Bayesian Stochastic Volatility Model **
  • Bayesian Multinomial Models **
  • Variational Bayes Regression
  • Topic Model
Estimation
  • Maximum Likelihood
  • Penalized Maximum Likelihood
  • L1 (lasso) regularization
  • L2 (ridge) regularization
  • Newton and IRLS
  • Nelder-Mead *
  • Expectation-Maximization
  • Gradient Descent
  • Stochastic Gradient Descent *
  • Metropolis Hastings
  • Hamiltonian Monte Carlo

* Python ** Stan

models-by-example's People

Contributors

imgbotapp avatar m-clark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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