GLM.jl is a Julia package for fitting linear and generalized linear models (GLMs) with a syntax and functionality familiar to users of R or other statistical environments. It is part of the JuliaStats ecosystem and is tightly integrated with StatsModels.jl for formula handling, and Distributions.jl for specifying error families. The package supports modeling through both formula-based (e.g. @formula) and matrix-based interfaces, allowing both high-level convenience and low-level control. Under the hood, GLM.jl separates the linear predictor and response objects, allowing flexible combinations of link functions, variance structures, and fitting methods.

Features

  • Implements fitting for generalized linear models using formula or matrix inputs
  • Supports specification of statistical families and link functions (e.g., negative binomial, logistic)
  • Offers specialized methods like negative binomial model with θ estimation
  • Part of the JuliaStats ecosystem, interoperating with StatsModels, Tables, and data frames
  • Actively maintained with regular releases (latest v1.9.0, Sep 14 2023)
  • Efficient with Julia’s performance and expressiveness for statistical tasks

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow GLM.jl

GLM.jl Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GLM.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Libraries

Registered

2025-09-08