-
Notifications
You must be signed in to change notification settings - Fork 0
Ch15: Add item–total tables and alpha variants to reliability analysis #70
Copy link
Copy link
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Summary
No response
Details
Summary
Extend the Chapter 15 reliability analysis (scripts/ch15_reliability_analysis.py)
with richer psychometrics output:
- An item–total correlation table for the survey items.
- One or two alpha variants (e.g., standardized alpha, alpha if item dropped).
Goals
- Use
pingouinorpandasto compute item–total correlations for each item. - Save an item–total table to
outputs/ch15/ch15_item_total.csv, including:- item name (e.g.,
q1,q2, …), - item–total correlation,
- (optionally) “alpha if item dropped”.
- item name (e.g.,
- Report at least one alpha variant in the JSON summary
(ch15_reliability_summary.json), e.g.:-
alpha_standardized -
alpha_if_item_dropped(as a dict keyed by item)
-
- Keep existing outputs (Cronbach’s alpha, ICC, Bland–Altman plot) unchanged.
Hints
pingouinhas helpers likecronbach_alpha; its documentation also
discusses item-level diagnostics.- An item–total correlation is typically the correlation of each item with
the sum of the remaining items. - Follow the existing JSON structure so downstream code and docs remain simple.
Difficulty
Low/medium: good first issue for someone comfortable with pandas and basic stats.
Files to Touch
No response
Contributor Checklist
- I have read
CONTRIBUTING.md. - I can run
make lintlocally. - I can run
make testlocally. - I have checked for existing issues/PRs that might overlap.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed