Hello all,
According to the [TE] teffects psmatch - Propensity-score matching help-file:
"Syntax:
teffects psmatch (ovar) (tvar tmvarlist [, tmodel]) [if] [in] [weight] [, stat options]
ovar is a binary, count, continuous, fractional, or nonnegative outcome of interest."
Furthermore, the help-file indicates: "teffects psmatch accepts a continuous, binary, count, fractional, or nonnegative outcome."
You can even access teffects psmatch by clicking:
Statistics -> Treatment Effects -> Outcome type (continuous, binary, count, etc.) -> Propensity score matching.
However, once you enter this menu... there are no options to change the outcome model. I don't want to change the treatment model (where there are indeed options to change it) - but I want to change the outcome model.
For example, if you click "IPW-RA" - you can select various outcome models from a menu. Same with "augmented IPW." I don't want to use IPW-RA or augmented IPW, but I am just illustrating what is available through these menus versus what is (un)available under propensity score matching. I am confused by this because there is both an option for different outcome types (using propensity score matching) under "Statistics -> Treatment Effects" and the help-file itself also discusses different types of 'ovar' (outcome variables). If I try to add different outcome variable types into my code directly:
. teffects psmatch (outcome, poisson) (exposure confounders), atet
options not allowed
The outcome model is misspecified.
r(101);
. teffects psmatch (outcome, logit) (exposure confounders), atet
options not allowed
The outcome model is misspecified.
r(101);
I am assuming when I just run: teffects psmatch (outcome) (exposure confounders), atet - with a 0,1 binary outcome variable, it is automatically assuming the use of a logit model (as opposed to a linear model)? Therefore, I find it bizarre that when I specify "logit" - it says the outcome model is misspecified. Ideally, I want to use a Poisson model for count data with propensity score matching... but it doesn't appear that it allows you to do so.
How do you change the outcome model using teffects psmatch?
Thanks for any insights!
According to the [TE] teffects psmatch - Propensity-score matching help-file:
"Syntax:
teffects psmatch (ovar) (tvar tmvarlist [, tmodel]) [if] [in] [weight] [, stat options]
ovar is a binary, count, continuous, fractional, or nonnegative outcome of interest."
Furthermore, the help-file indicates: "teffects psmatch accepts a continuous, binary, count, fractional, or nonnegative outcome."
You can even access teffects psmatch by clicking:
Statistics -> Treatment Effects -> Outcome type (continuous, binary, count, etc.) -> Propensity score matching.
However, once you enter this menu... there are no options to change the outcome model. I don't want to change the treatment model (where there are indeed options to change it) - but I want to change the outcome model.
For example, if you click "IPW-RA" - you can select various outcome models from a menu. Same with "augmented IPW." I don't want to use IPW-RA or augmented IPW, but I am just illustrating what is available through these menus versus what is (un)available under propensity score matching. I am confused by this because there is both an option for different outcome types (using propensity score matching) under "Statistics -> Treatment Effects" and the help-file itself also discusses different types of 'ovar' (outcome variables). If I try to add different outcome variable types into my code directly:
. teffects psmatch (outcome, poisson) (exposure confounders), atet
options not allowed
The outcome model is misspecified.
r(101);
. teffects psmatch (outcome, logit) (exposure confounders), atet
options not allowed
The outcome model is misspecified.
r(101);
I am assuming when I just run: teffects psmatch (outcome) (exposure confounders), atet - with a 0,1 binary outcome variable, it is automatically assuming the use of a logit model (as opposed to a linear model)? Therefore, I find it bizarre that when I specify "logit" - it says the outcome model is misspecified. Ideally, I want to use a Poisson model for count data with propensity score matching... but it doesn't appear that it allows you to do so.
How do you change the outcome model using teffects psmatch?
Thanks for any insights!
Comment