Skip to content

The pygformula implements the parametric g-formula in Python. The parametric g-formula (Robins, 1986) uses longitudinal data with time-varying treatments and confounders to estimate the risk or mean of an outcome under hypothetical treatment strategies specified by the user.

active 2024-04-182026-02-25 (UTC)

Complete coverage26,361 / 26,361 hourly files (100%) · 2 absent upstream2023-08-152026-08-17 (UTC)
Events
170
Pushes
94
Pull requests
19
Issues
6
Stars
24
Forks
5

Activity over time

Daily event counts in the loaded window

Line chart, 679 days from 2024-04-18 to 2026-02-25. Pushes: 94 total, peak 12 in a day. Pull requests: 19 total, peak 7 in a day. Issues: 6 total, peak 1 in a day. Comments: 12 total, peak 2 in a day. Stars: 24 total, peak 3 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

ContributorContributionsPushesPRsComments
LilJing11892179
sagarsimha5002
ryan-odea4220
jgonzhijon2001
saeedmehrang1000
chungkham1000

Recent activity

Latest issues, pull requests and releases

  • Issue comment#22LilJing2025-09-16 03:28
    Issue with simulating categorical variables
  • Issue comment#22LilJing2025-09-07 05:15
    Issue with simulating categorical variables
  • Issue#22sagarsimha2025-08-24 07:35
    Issue with simulating categorical variables
  • Issue comment#21LilJing2025-07-10 01:40
    Issue with multinomial model in pygformula when using categorical covariates with more than 6 levels
  • Issue comment#21jgonzhijon2025-05-19 06:45
    Issue with multinomial model in pygformula when using categorical covariates with more than 6 levels
  • Issue comment#21LilJing2025-05-18 05:16
    Issue with multinomial model in pygformula when using categorical covariates with more than 6 levels
  • Issue#21jgonzhijon2025-05-15 11:36
    Issue with multinomial model in pygformula when using categorical covariates with more than 6 levels
  • Issue#20sagarsimha2025-04-06 16:11
    Competing event only allowed for 'survival' and not for 'end of follow-up'
  • Issue comment#19LilJing2025-03-16 03:51
    Dependencies are missing in your pypi package release
  • Issue#19saeedmehrang2025-03-13 13:26
    Dependencies are missing in your pypi package release
  • Issue comment#18LilJing2025-01-04 02:21
    Got error all the time
  • Issue#18chungkham2024-12-24 08:55
    Got error all the time
  • Issue comment#17LilJing2024-11-15 20:10
    Distribution to sample from when simulating from custom predict
  • Issue comment#17sagarsimha2024-11-15 14:51
    Distribution to sample from when simulating from custom predict
  • Issue comment#17LilJing2024-11-01 03:11
    Distribution to sample from when simulating from custom predict
  • Issue comment#17sagarsimha2024-10-31 10:43
    Distribution to sample from when simulating from custom predict
  • Issue comment#17LilJing2024-10-23 02:33
    Distribution to sample from when simulating from custom predict
  • Issue#17sagarsimha2024-10-21 11:21
    Distribution to sample from when simulating from custom predict
  • Pull request#16LilJing2024-09-11 18:57
  • Pull request#16LilJing2024-09-11 18:48
  • ReleaseLilJing2024-08-01 00:02
    v1.1.3
  • Pull request#15ryan-odea2024-07-31 23:53
  • Pull request#15ryan-odea2024-07-31 23:32
  • Pull request#14LilJing2024-05-11 02:11
  • Pull request#14LilJing2024-05-11 02:11

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 24 stars here means stars gained during the window, not the repo's star count.