Add CIs for odds ratios from exponentiated logistic regression coefficients#416
Add CIs for odds ratios from exponentiated logistic regression coefficients#416d-morrison merged 6 commits intomainfrom
Conversation
…cients Agent-Logs-Url: https://github.com/d-morrison/rme/sessions/391d5701-df31-4a9d-994b-24a66acfd8e2 Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a focused, “single-coefficient” confidence interval result for odds ratios (via exponentiating a logistic regression coefficient CI) before the more general odds ratio CI derivation elsewhere, and updates the spellcheck WORDLIST accordingly.
Changes:
- Adds a new subsection deriving a 95% CI for (e^{\beta_k}) by exponentiating the coefficient CI endpoints.
- Adds an R example table using
parameters(exponentiate = TRUE)to report exponentiated estimates and CIs. - Adds
exponentiatingtoinst/WORDLIST.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
_sec_logistic_wald.qmd |
Inserts a new subsection on exponentiated-coefficient (OR) CIs and adds an exponentiated-parameter output table. |
inst/WORDLIST |
Adds exponentiating to the project spellcheck word list. |
|
@copilot apply changes based on the comments in this thread |
…caption Agent-Logs-Url: https://github.com/d-morrison/rme/sessions/719fabb4-9c3d-4ad1-8d26-ed31150f7be8 Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Applied both review comments in commit 60a1961:
|
Built to branch |
_sec_logistic_wald.qmd, showing how to obtain CIs forexp(β_k)by exponentiating the endpoints of the CI forβ_kparameters(exponentiate = TRUE)produces exponentiated coefficients (not just ORs)inst/WORDLIST