Hello everyone,
I want to conduct a Propensity Score Matching for estimating the average treatment effect of a treatment on an outcome variable.
The peculiarity of my case is that I don't have a binary, but continuous treatment, i.e., my treatment variable can have 25 different manifestations (think 25 different intensities of my treatment).
Therefore, I use the teffects regression analysis command in stata:
teffects ra (OutcomeVariable Covariate1 Covariate2 Covariate3) (ContinuousTreatment), atet
However, apparently a continuous treatment variable is only allowed to have 20 different manifestations as I get the following error in stata (stata version 16.0):
treatment variable ContinuousTreatment has 25 levels exceeding the maximum of 20
I would like to avoid somehow adapting my variable to reduce the levels to 20.
Any help or ideas are appreciated - thank you!
I want to conduct a Propensity Score Matching for estimating the average treatment effect of a treatment on an outcome variable.
The peculiarity of my case is that I don't have a binary, but continuous treatment, i.e., my treatment variable can have 25 different manifestations (think 25 different intensities of my treatment).
Therefore, I use the teffects regression analysis command in stata:
teffects ra (OutcomeVariable Covariate1 Covariate2 Covariate3) (ContinuousTreatment), atet
However, apparently a continuous treatment variable is only allowed to have 20 different manifestations as I get the following error in stata (stata version 16.0):
treatment variable ContinuousTreatment has 25 levels exceeding the maximum of 20
I would like to avoid somehow adapting my variable to reduce the levels to 20.
Any help or ideas are appreciated - thank you!
Comment