Skip to content

Commit

Permalink
add log-binomial edits
Browse files Browse the repository at this point in the history
  • Loading branch information
remlapmot committed Sep 27, 2021
1 parent 9afe45f commit b0a50f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Stata package of useful programs for one-sample Mendelian randomization (MR) / i
The `ivtsps` and `ivtsri` commands implement the following link functions for the second stage model:

* identity (i.e. linear regression) - for a binary outcome this estimates a causal risk difference
* logadd (log additive, i.e. Poisson regression) and logmult (log multiplicative, i.e. gamma regression) - for a binary outcome these estimate a causal risk ratio
* logadd (log additive, i.e. Poisson/log-binomial regression) and logmult (log multiplicative, i.e. gamma regression) - for a binary outcome these estimate a causal risk ratio
* logit (i.e. logistic regression) - for a binary outcome this estimates a causal odds ratio

## Installation
Expand Down
2 changes: 1 addition & 1 deletion ivtsps.sthlp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ moment condition to the {help gmm} command.
{opt link(identity | logadd | logmult | logit)} specifies the link function for the second stage model.
{cmd:identity} means the second stage model is a linear regression
(which for a binary outcome estimates a causal risk difference).
{cmd:logadd} means the second stage model is a Poisson regression
{cmd:logadd} means the second stage model is a Poisson/log-binomial regression
(which for a binary outcome estimates a causal risk ratio).
{cmd:logmult} means the second stage model is a gamma regression
(which for a binary outcome estimates a causal risk ratio,
Expand Down
2 changes: 1 addition & 1 deletion ivtsri.sthlp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ moment condition to the {help gmm} command.
{opt link(identity | logadd | logmult | logit)} specifies the link function for the second stage model.
{cmd:identity} means the second stage model is a linear regression
(which for a binary outcome estimates a causal risk difference).
{cmd:logadd} means the second stage model is a Poisson regression
{cmd:logadd} means the second stage model is a Poisson/log-binomial regression
(which for a binary outcome estimates a causal risk ratio).
{cmd:logmult} means the second stage model is a gamma regression
(which for a binary outcome estimates a causal risk ratio,
Expand Down

0 comments on commit b0a50f5

Please sign in to comment.