Hello,

I am new to stata and getting this error while running propensity matching.

. quietly dr DIED includecdiff AGE FEMALE ascites varices quintile insure sbp hrs dispo hetotal infection aki esrd shock MV HOSP_BEDS
> IZE HOSP_LOCATION HOSP_TEACH TRENDWT if includecirrhosis==1, genvars
variable ptreat already defined

THE FULL COMMAND IS BELOW

pscore includecdiff AGE FEMALE ascites varices sbp hrs quintile insure hetotal infection aki esrd shock MV HOSP_BEDSIZE HOSP_LOCATION HOSP_TEACH TRENDWT if includecirrhosis==1, pscore (mypscores) blockid (myblockids) comsup detail
quietly dr DIED includecdiff AGE FEMALE ascites varices quintile insure sbp hrs dispo hetotal infection aki esrd shock MV HOSP_BEDSIZE HOSP_LOCATION HOSP_TEACH TRENDWT if includecirrhosis==1, genvars
egen sumofweightsÊ= total(iptwt)

Thank you