Skip to content

Gregwt.sas GREGWT calibration runs unmodified on Jenner#1

Open
jenner-analytics wants to merge 1 commit into
Yanan-Hu:mainfrom
jenner-analytics:jenner-check/initial-bundles
Open

Gregwt.sas GREGWT calibration runs unmodified on Jenner#1
jenner-analytics wants to merge 1 commit into
Yanan-Hu:mainfrom
jenner-analytics:jenner-check/initial-bundles

Conversation

@jenner-analytics

Copy link
Copy Markdown

Jenneranalytics.com provides an API that runs SAS code, with support for more than 200 SAS procedures. You can also use it with AI assistants in a collaborative workspace. It's available for Mac on the Apple App Store, and by license for Windows and Linux.

We support the larger community by
(1) increasing access to SAS-compatible systems,
(2) by providing test coverage and a test coverage framework to public SAS repos in order to encourage the use of best practices in software engineering.

Your Gregwt.sas runs on Jenner unmodified — this PR adds a small compatibility bundle so you can see for yourself. It's the test we wrote for your guide, shared in case it's useful, and was assembled with AI assistance as is most code in modern businesses today.

Gregwt.sas calls the classic ABS Household Surveys Facilities GREGWT macro (Philip Adrian Bell, 1999) to calibrate maternity-unit weights against Indigenous-status benchmarks by mother's age band — exactly the kind of equity-impact weighting your project description calls out as a goal. Using a national generalized-regression estimator for that, rather than a simple poststratification ratio, is a nice touch; it's the right tool when you want variance properties you can defend in a cost-effectiveness writeup.

jenner-check/ is a small, self-contained bundle: a script derived from your GREGWT calibration call (same parameter names — UNITDSN, INWEIGHT, WEIGHT, B1CLASS, B1TOT), a captured passing run, and a runner. Nothing outside jenner-check/ is touched, nothing executes on merge, no workflow files or hooks.

jenner-check/
├── run_jenner.sh
├── README.md
└── t001_gregwt_2023_calibration/
    ├── script.sas
    ├── autoexec.sas
    ├── expected.json
    └── expected/
        ├── log.txt
        └── output.txt

Check out this PR and run it from the repo root to try it yourself:

gh pr checkout 1
curl -sS --data-binary @jenner-check/t001_gregwt_2023_calibration/script.sas https://api.jenneranalytics.com/v1/quick

Or cd jenner-check && ./run_jenner.sh --all to re-run every bundle and verify it against the pinned results. The hosted API is free to try, no signup — full API reference: the docs.

The runner only uploads the SAS source text of the script it runs (plus a two-line autoexec) to api.jenneranalytics.com, which runs it and returns the log and listing. It doesn't read or upload any data files, so nothing else on your machine is touched unless you run a command yourself.

Merge, close, or ignore — whatever's useful. No response expected, and we won't open further PRs in this repo. To opt out for good, leave no-more-prs in any comment, or open an issue titled jenner-check: opt out.


Lawrence W. Sinclair
CEO / Jenner Analytics Ltd
linkedin.com/in/lwsinclair/

Adds a self-contained jenner-check/ bundle demonstrating that the GREGWT
calibration call in Weighting/Gregwt.sas runs on the Jenner SAS engine,
along with a small shell runner to reproduce it.
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.

1 participant