Hello everyone,
i want to use propensity score matching for impact evaluation.
I used these ado commands:
**************command 1
pscore dap_dummy_ other_fert_qty_ sowing_date_ pa_land_prep_hrs pa_caring_hrs pa_irrigation_hrs pa_ff_hrs pa_fm_hrs i.District_ i.Village_ i.Gender_ i.caste_group_ i.pre_farm_size_ i.The_man_blo_ pa_fert_qty i.Soil_type i.Soil_fert i.Soil_degr , pscore(ps) blockid(blockf1) comsup level(0.01) det

attr pa_Op_main_prod_qty dap_dummy_, pscore(ps) radius(0.1)
atts pa_Op_main_prod_qty dap_dummy_, pscore(ps) blockid(block1) comsup
attnd pa_Op_main_prod_qty dap_dummy_, pscore(ps) comsup

****************command 2
psmatch2 dap_dummy_ other_fert_qty_ sowing_date_ pa_land_prep_hrs pa_caring_hrs pa_irrigation_hrs pa_ff_hrs pa_fm_hrs i.District_ i.Village_ i.Gender_ i.caste_group_ i.pre_farm_size_ i.The_man_blo_ pa_fert_qty i.Soil_type i.Soil_fert i.Soil_degr , out( pa_Op_main_prod_qty ) n(1) com

pstest other_fert_qty_ sowing_date_ pa_land_prep_hrs pa_caring_hrs pa_irrigation_hrs pa_ff_hrs pa_fm_hrs i.District_ i.Village_ i.Gender_ i.caste_group_ i.pre_farm_size_ i.The_man_blo_ pa_fert_qty i.Soil_type i.Soil_fert i.Soil_degr , graph both


as i used categorical variables in the command like district, village, gender, caste, command does not work and get output

. pscore dap_dummy_ other_fert_qty_ sowing_date_ pa_land_prep_hrs pa_caring_hrs pa_irrigation_hrs pa_ff_hrs pa_fm_hrs i.District_ i.Village_ i.Gender_ i.caste_group_ i.pre_farm_size_ i.The_man_blo_ pa_fert_qty i.Soil_type i.Soil_fert i.Soil_degr , pscore(ps) blockid(blockf1) comsup level(0.0
> 1) det
factor-variable and time-series operators not allowed
r(101);

but when i use categorical variables without i. then it work.
can you please suggest me how to modify this command to use categorical variables as well. Thanks in advance