Code
from pathlib import Path
import sys
sys.path.append(str(Path('..').resolve() / 'python'))
from data import ros_path
source_dir = ros_path('AgePeriodCohort')
print(source_dir)/Users/alal/tmp/ROS-Examples/AgePeriodCohort
Source: AgePeriodCohort/births_letter.Rmd
Original HTML: AgePeriodCohort/births_letter.html if present.
Status: queued for full Python port.
R chunks detected: 54.
Stan relevance: no.
../ROS-Examples/AgePeriodCohort.This page is generated from the inventory pass and is intentionally explicit about remaining work.
# AgePeriodCohort / births letter
Source: `AgePeriodCohort/births_letter.Rmd`
Original HTML: `AgePeriodCohort/births_letter.html` if present.
Status: **queued for full Python port**.
R chunks detected: **54**.
Stan relevance: **no**.
## Python replication plan
1. Load the original data from `../ROS-Examples/AgePeriodCohort`.
2. Reproduce the core plot/table/model in pandas/statsmodels.
3. Add CmdStanPy when the example is Bayesian or Stan-backed.
4. Add BlackJAX/Oryx only when it clarifies a log-density, hierarchical prior, custom likelihood, or simulation exercise.
## Starter cell
```{python}
from pathlib import Path
import sys
sys.path.append(str(Path('..').resolve() / 'python'))
from data import ros_path
source_dir = ros_path('AgePeriodCohort')
print(source_dir)
```
## Notes
This page is generated from the inventory pass and is intentionally explicit about remaining work.