Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
stan-dev
/
math
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
218
Star
836
Code
Issues
273
Pull requests
19
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Add inverse Gaussian distribution (closes #2788)
- #3382
#3382
Open
GidonFrischkorn
wants to merge 12 commits into
stan-dev:develop
stan-dev/math:develop
from
GidonFrischkorn:feature/issue-2788-inv-gaussian
GidonFrischkorn/math-stan-dev:feature/issue-2788-inv-gaussian
Copy head branch name to clipboard
Conversation
Commits
12
(12)
Checks
Files changed
Open
Add inverse Gaussian distribution (closes #2788)
#3382
GidonFrischkorn
wants to merge 12 commits into
stan-dev:develop
stan-dev/math:develop
from
GidonFrischkorn:feature/issue-2788-inv-gaussian
GidonFrischkorn/math-stan-dev:feature/issue-2788-inv-gaussian
Copy head branch name to clipboard
Commits
Commits on Aug 22, 2026
feat: add inv_gaussian_lpdf and inv_gaussian_rng
Show description for 284747e
GidonFrischkorn
committed
284747e
View commit details
Copy full SHA for 284747e
Browse repository at this point
feat: add inv_gaussian_cdf, inv_gaussian_lcdf and inv_gaussian_lccdf
Show description for 162b63e
GidonFrischkorn
committed
162b63e
View commit details
Copy full SHA for 162b63e
Browse repository at this point
test: add test/prob fixtures and prim, rev and mix unit tests
GidonFrischkorn
committed
4b633b1
View commit details
Copy full SHA for 4b633b1
Browse repository at this point
Commits on Aug 23, 2026
fix: stabilize inv_gaussian_rng root against catastrophic cancellation
Show description for a77ebe0
GidonFrischkorn
committed
a77ebe0
View commit details
Copy full SHA for a77ebe0
Browse repository at this point
fix: return -inf from inv_gaussian_lpdf at y == inf
GidonFrischkorn
committed
7a60ee5
View commit details
Copy full SHA for 7a60ee5
Browse repository at this point
fix: handle y boundaries elementwise in inv_gaussian cdf/lcdf/lccdf
Show description for 7056868
GidonFrischkorn
committed
7056868
View commit details
Copy full SHA for 7056868
Browse repository at this point
chore: rename internal::log_phi to log_std_normal_density
GidonFrischkorn
committed
07dd10b
View commit details
Copy full SHA for 07dd10b
Browse repository at this point
test: cover vectorized cdf/lcdf gradients and std::vector inputs
GidonFrischkorn
committed
70c24ed
View commit details
Copy full SHA for 70c24ed
Browse repository at this point
Commits on Aug 24, 2026
docs: tighten inv_gaussian comments
GidonFrischkorn
committed
c082e39
View commit details
Copy full SHA for c082e39
Browse repository at this point
Commits on Aug 25, 2026
tests: drop coverage duplicated across suites
Show description for 5e6f41b
GidonFrischkorn
committed
5e6f41b
View commit details
Copy full SHA for 5e6f41b
Browse repository at this point
Commits on Sep 1, 2026
Merge branch 'develop' of https://github.com/stan-dev/math into feature/issue-2788-inv-gaussian
GidonFrischkorn
committed
dbfa52c
View commit details
Copy full SHA for dbfa52c
Browse repository at this point
Loosen platform-sensitive tolerances at extreme lambda/mu
Show description for 45f645f
GidonFrischkorn
committed
45f645f
View commit details
Copy full SHA for 45f645f
Browse repository at this point
You can’t perform that action at this time.