i m doing my analysis for my research and i need to do endogeneity test by using PSM regression
my issue is i do not know how to run this test
my model as follows:
HTML Code:
abn_prod log_indpPay f_size f_risk B_indP femaleIndp_dum big4 soe btm1 roa number_of_board_meetings duality boardsize
i found a command but i could not do i got errors
this code
psmatch2 treatment independent and control variables , out( dependent variable ) common i got this message outcome = log_indpPay > 10.934 predicts data perfectly please i need the right way i m tired of lokking for in addition, i found several commands that are related to psmatch as follow
HTML Code:
logit CC_ProNEDMedianGreatDum B_Size B_ProNED B_ProFem InstH1_ii Sales_Log predict pscore drop if pscore==. bys year industry2 CC_ProNEDMedianGreatDum: g exp=_n if CC_ProNEDMedianGreatDum bys year industry2 : egen m=max(exp) drop if m==. expandcl m if CC_ProNEDMedianGreatDum!=1,cl(year Stkcd) gen(g) bys year Stkcd: replace exp=_n if CC_ProNEDMedianGreatDum!=1 bys year industry2 exp: egen r=sum(pscore*CC_ProNEDMedianGreatDum) g q=abs((pscore-r)/r) if CC_ProNEDMedianGreatDum!=1 bys year industry2 exp: egen u=min(q) if !CC_ProNEDMedianGreatDum drop if u!=q&!CC_ProNEDMedianGreatDum egen mat=group(year industry2 exp) bysort mat:gen fre1=_N drop if fre1==1 drop exp-fre1
0 Response to PSM method again
Post a Comment