Hello,
I am trying to run propensity score for multiple treatments (with 4 treatments). The manual for teffects psmatch stated that this command also works for multivariate treatments, where multinomial logit is used. However when I try to use this command as below (note: my outcome variable is pcexp, my treatment variable is treatment, and my covariates are head*, good*, and listrik):
teffects psmatch (pcexp) (treatment head* good* listrik, logit)
I get the error message below:
treatment variable treatment must have 2 levels, but 4 were found
Can anyone suggest anything or any other hints are appreciated.
Best regards,
Rythia
I am trying to run propensity score for multiple treatments (with 4 treatments). The manual for teffects psmatch stated that this command also works for multivariate treatments, where multinomial logit is used. However when I try to use this command as below (note: my outcome variable is pcexp, my treatment variable is treatment, and my covariates are head*, good*, and listrik):
teffects psmatch (pcexp) (treatment head* good* listrik, logit)
I get the error message below:
treatment variable treatment must have 2 levels, but 4 were found
Can anyone suggest anything or any other hints are appreciated.
Best regards,
Rythia
Comment