I ran ssc install psmatch2 in anticipation of running models using propensity score matching.
The code was given to me, but does not seem to run.
Is outcome the proper option to specify variables of interest? Seems so looking at the help.
I removed this statement to see if it eliminated the error, but it did not.
I didn't see a reason to include pscore, so I tried eliminating that. No luck.
I'm not sure what mistake I made in the code after the comma. It looks like the examples in the help file. I couldn't find anything on the listserv that addressed this problem.
Any help is appreciated.
Here is my output:
Code:
. psmatch2 anesthesia encounter_age bsa2 qrs2 pulgrade pul_stenosis rightventsize lvefecho2, Probit regression Number of obs = 116 LR chi2(7) = 33.60 Prob > chi2 = 0.0000 Log likelihood = -51.526675 Pseudo R2 = 0.2459 ------------------------------------------------------------------------------- anesthesia | Coef. Std. Err. z P>|z| [95% Conf. Interval] --------------+---------------------------------------------------------------- encounter_age | -.0073376 .018207 -0.40 0.687 -.0430227 .0283475 bsa2 | -1.620645 .4952013 -3.27 0.001 -2.591221 -.6500678 qrs2 | -.0051878 .0064554 -0.80 0.422 -.0178401 .0074646 pulgrade | .1621105 .2065087 0.79 0.432 -.2426392 .5668601 pul_stenosis | .7830539 .3294163 2.38 0.017 .1374097 1.428698 rightventsize | -.1115907 .1837186 -0.61 0.544 -.4716725 .248491 lvefecho2 | .0235041 .0247227 0.95 0.342 -.0249515 .0719597 _cons | .6475207 1.989666 0.33 0.745 -3.252152 4.547194 ------------------------------------------------------------------------------- . outomes (lvef2) command outomes is unrecognized r(199); end of do-file r(199); . do "C:\Users\SC014459\AppData\Local\Temp\STD00000000.tmp" . psmatch2 anesthesia encounter_age bsa2 qrs2 pulgrade pul_stenosis rightventsize lvefecho2, Probit regression Number of obs = 116 LR chi2(7) = 33.60 Prob > chi2 = 0.0000 Log likelihood = -51.526675 Pseudo R2 = 0.2459 ------------------------------------------------------------------------------- anesthesia | Coef. Std. Err. z P>|z| [95% Conf. Interval] --------------+---------------------------------------------------------------- encounter_age | -.0073376 .018207 -0.40 0.687 -.0430227 .0283475 bsa2 | -1.620645 .4952013 -3.27 0.001 -2.591221 -.6500678 qrs2 | -.0051878 .0064554 -0.80 0.422 -.0178401 .0074646 pulgrade | .1621105 .2065087 0.79 0.432 -.2426392 .5668601 pul_stenosis | .7830539 .3294163 2.38 0.017 .1374097 1.428698 rightventsize | -.1115907 .1837186 -0.61 0.544 -.4716725 .248491 lvefecho2 | .0235041 .0247227 0.95 0.342 -.0249515 .0719597 _cons | .6475207 1.989666 0.33 0.745 -3.252152 4.547194 ------------------------------------------------------------------------------- . pscore (prob_treat) kernel (biweight) common caliper(.01) ties command pscore is unrecognized r(199); end of do-file r(199); . do "C:\Users\SC014459\AppData\Local\Temp\STD00000000.tmp" . psmatch2 anesthesia encounter_age bsa2 qrs2 pulgrade pul_stenosis rightventsize lvefecho2, Probit regression Number of obs = 116 LR chi2(7) = 33.60 Prob > chi2 = 0.0000 Log likelihood = -51.526675 Pseudo R2 = 0.2459 ------------------------------------------------------------------------------- anesthesia | Coef. Std. Err. z P>|z| [95% Conf. Interval] --------------+---------------------------------------------------------------- encounter_age | -.0073376 .018207 -0.40 0.687 -.0430227 .0283475 bsa2 | -1.620645 .4952013 -3.27 0.001 -2.591221 -.6500678 qrs2 | -.0051878 .0064554 -0.80 0.422 -.0178401 .0074646 pulgrade | .1621105 .2065087 0.79 0.432 -.2426392 .5668601 pul_stenosis | .7830539 .3294163 2.38 0.017 .1374097 1.428698 rightventsize | -.1115907 .1837186 -0.61 0.544 -.4716725 .248491 lvefecho2 | .0235041 .0247227 0.95 0.342 -.0249515 .0719597 _cons | .6475207 1.989666 0.33 0.745 -3.252152 4.547194 ------------------------------------------------------------------------------- . kernel (biweight) common caliper(.01) ties command kernel is unrecognized r(199); end of do-file r(199);
0 Response to psmatch2 option failure
Post a Comment