Skip to content

SCPCResult summary methods - #1

Merged
DGoettlich merged 8 commits into
mainfrom
summary-methods
Apr 23, 2026
Merged

SCPCResult summary methods#1
DGoettlich merged 8 commits into
mainfrom
summary-methods

Conversation

@DGoettlich

Copy link
Copy Markdown
Collaborator

Summary

Adds R-like result helpers for SCPCResult in scpc-python>=0.1.2.

This PR makes SCPC results easier to inspect by storing coefficient names and implementing print(result), summary(), coef(), and confint(). It also adds OLS and IV examples, updates docs to prefer print(result) in examples, and keeps raw scpcstats / scpccvs available for lower-level access.

It also narrows the pyfixest IV design return type with FixestSpec, which fixes ty diagnostics without changing runtime behavior.

There are no numerical changes.

Testing

  • uv run -m pytest
  • uv run ruff check .
  • uv run ty check tests

Notes

  • The docs mention that the new R-like helpers are available from scpc-python>=0.1.2.

@DGoettlich
DGoettlich requested a review from pdavidboll April 23, 2026 12:52
@DGoettlich
DGoettlich merged commit a418ab1 into main Apr 23, 2026
3 checks passed
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