Use pd.cut instead of pd.qcut for step function in Ch07 (#81)

Equal-width bins match the cutpoints of Figure 7.2. The pd.qcut fit is
kept further down, where it is compared with the degree-0 B-spline fit
whose knots are at the age quartiles. Supersedes #42.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jonathan TaylorandClaude Opus 5.5 authored and GitHub committed 2026-10-19 20:21:13 -07:00
1 parent 452410232a
commit df3af44447
1 file changed
+377 -302
+377 -302
View File
File diff suppressed because it is too large. Load diff