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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
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