GithubHelp home page GithubHelp logo

mvpy's Introduction

mvpy

Currently includes rough implementations of

  • Cumulative link models for ordinal regression.
  • Factor analytic methods.
    • Confirmatory factor analysis via the CFA class, fit through EM
    • Exploratory factor analysis via the EFA class, fit through EM or Lawleys ML algorithm
    • Both via the FactorAnalysis class, fit through constrained Newtons method using a parameterization more robust to small unique variances
    • Factor rotation
  • Linear mixed models capable of handling multivariate models. Note that the p-values presented in the results table should not be taken seriously, as they are computed under the assumption of (n-p) degrees of freedom (n observations minus p features).
  • Generalized linear mixed models via the penalized quasi-likelihood method.
  • Latent variable correlations for handling polychorric, polytomous and tetrachoric correlation
  • Partial least squares (soft modeling) techniques
    • Partial least squares covariance
    • Partial least squares regression
      • SIMPLS
      • NIPALS
      • Wolds two block mode A (W2A)
    • Partial least squares structural equation modeling
    • Canonical correlation
    • Sparse Canonical Correlation
  • Structural equation modeling using ML, and GLS with normal, wishart, and adf weight matrices
  • Linear models that implement a variety of univariate and multivariate hypothesis tests, and can implement MANOVA.
  • Robust linear regression with Hubers T, Tukeys Bisquare (Biweight), and Hampels function.
  • Generalized Linear Models
    • Supports Gaussian, Binomial, Gamma, Gaussian, Inverse Gaussian, Poisson and Negative Binomial distributions
    • Supports Cloglog, Logit, Log, Log Complement, Probit, Negative Binomial and Reciprocal links.
  • Negative Binomial Models
    • Currently only supports NB2, although plans exist to implement other overdispersed count models
  • Random correlation matrix generation via the vine method, onion method, or factor method
  • Multivariate non-normal data with the ability to specify (standardized) third and fourth order moments.

Speed

For most models, internal optimization is done using scipy's trust-constr, which is robust but fairly slow. All models have an option to pass to another choice to the optimizer; a safe and quick alternative to use is trust-ncg.

Testing and Validity

Although all of these have been tested against results published in the literature, or those obtained in R(in some cases transitively via statsmodels), they have not been tested systematically, and some of the code is very rough.

mvpy's People

Contributors

lukepinkel avatar

Watchers

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