Skip to content

fix: make dvars selector default to std_dvars#69

Open
2593803287-hue wants to merge 3 commits into
bbuchsbaum:masterfrom
2593803287-hue:fix/issue-67-dvars-selectors
Open

fix: make dvars selector default to std_dvars#69
2593803287-hue wants to merge 3 commits into
bbuchsbaum:masterfrom
2593803287-hue:fix/issue-67-dvars-selectors

Conversation

@2593803287-hue
Copy link
Copy Markdown

Summary

  • make confound_set("dvars") return only std_dvars by default
  • add confound_set("dvars_family") to preserve the prior full DVARS-family behavior
  • add confound_set("raw_dvars") for raw dvars only
  • add focused tests covering the new default and explicit selectors
  • document the behavior change in NEWS.md

Why

confound_set("dvars") previously selected both raw and standardized DVARS variants, which can introduce collinear nuisance regressors downstream. This change makes the default selector safer while preserving the previous behavior behind an explicit name.

Testing

  • Added focused testthat coverage in tests/testthat/test_confounds.R
  • Local runtime verification was blocked in this environment because R / Rscript are not installed in the provided WSL session

Closes #67

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.

confound_set("dvars") selects both dvars and std_dvars, yielding collinear nuisance regressors

1 participant