Skip to content

Clarify how to request semi-partial correlations - #411

Open
M-Colley wants to merge 1 commit into
easystats:mainfrom
M-Colley:issue-355-explain-semi-partial
Open

M-Colley wants to merge 1 commit into
easystats:mainfrom
M-Colley:issue-355-explain-semi-partial

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 5, 2026 •

Copy link
Copy Markdown

Summary

Document the logical partial argument and direct users requesting partial = "semi" to cor_to_spcor() with a covariance matrix. The published option currently reaches a generic type error in both public entry points.

Fixes #355.

Validation

  • The regression reproduced the type error on main and verified the new guidance in both entry points. The covariance-based result matched correlations computed from manually residualized iris columns.
  • The two focused files passed 73 assertions with one optional skip. The source package built, installed, and passed the package check.
  • A local combination with Clarify factor handling in multilevel correlations #409 passed the same focused tests, and fresh help generation matched the combined documentation.
  • The broader local comparison passed 1,081 assertions with two failures that reproduced on the base revision, both in the existing Spearman partial-rank test. The two Monte Carlo bootstrap files are still running.

I used Codex to prepare and test this patch.

This branch has not been deployed

No deployments
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.

partial = "semi" returns invalid argument type error

1 participant