uno1lab/stata-stah: v1.1.0 – Custom stratum weights
Abstract
Highlights New weights() option for two-sample stratified analysis. Users can now supply custom stratum weights for direct standardization (e.g. stah trt, strata(s) tau(5) reference(2) weights(1 2)). Weights are normalized internally; default behavior (proportional to stratum size) is unchanged when weights() is omitted. Output formatting cleaned up across single-arm, two-sample, and stratified result tables (consistent column widths, headers, and Estimate / Std. Err. / CI labels). Help, README, and example script updated to document the new option and show usage. example/example-stah.do now also runs a tau-sensitivity loop comparing stratified AH and Cox HR. Package metadata bumped to v1.1.0 (stah.pkg, stata.toc, stah.ado header). Changes since v1.0.0 56ae5ed Add weights() option for stratified analysis (v1.1.0) 71657f3 Update README.md Full Changelog: https://github.com/uno1lab/stata-stah/compare/v1.0.0...v1.1.0
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 27 April 2026