Skip to content

Improve memory usage in bootstrapping and some other small fixes#149

Merged
remlapmot merged 14 commits intomainfrom
devel-2026-04-02
Apr 15, 2026
Merged

Improve memory usage in bootstrapping and some other small fixes#149
remlapmot merged 14 commits intomainfrom
devel-2026-04-02

Conversation

@remlapmot
Copy link
Copy Markdown
Collaborator

@remlapmot remlapmot commented Apr 13, 2026

The main thing this does is,

  • Improve memory usage in the bootstrapping.

Other small amends and fixes,

  • Remove mention of units from time in docs.

  • Fix off-by-one labeling in survival output so that followup = k correctly represents survival after k intervals, adding a row at followup = survival.max + 1 for the final interval's estimate.

  • Fix expansion bug where subjects experiencing the outcome early were incorrectly carried forward with outcome=0 rows from subsequent periods by truncating each trial at the first event row

  • Fix a tiny formatting issue on https://causalinference.github.io/SEQTaRget/news/index.html - will now render as @outcome.model

    CleanShot 2026-04-13 at 10 38 14@2x

remlapmot added 14 commits April 2, 2026 10:12
…on to prevent accumulation of large matrices (x, y, residuals, qr, etc.) across all iterations simultaneously
…presents survival after k intervals with the final estimate at followup=survival.max+1
…represents survival after k intervals and output extends to survival.max+1
…incorrectly carried forward with outcome=0 rows from subsequent periods by truncating each trial at the first event row
@remlapmot remlapmot requested a review from ryan-odea April 13, 2026 09:39
Copy link
Copy Markdown
Collaborator

@ryan-odea ryan-odea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks very good! Great work!

@remlapmot remlapmot merged commit 83b50ef into main Apr 15, 2026
7 checks passed
@remlapmot remlapmot deleted the devel-2026-04-02 branch April 15, 2026 08:05
@remlapmot
Copy link
Copy Markdown
Collaborator Author

thanks Ryan (and post merge I have remembered to delete my branches 😄)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants