***This stata file replicates the main regression table in "The effects of mental budgeting on the intentions towards using low-toxicity *** ***pesticides: evidence from vegetable farmers in Sichuan, China" in China Agriculutral Economic Review*** ***Create variables 'mental budgeting' and 'mental budgeting dummy'*** pca bp nsm lsc noc predict mb gen mbc=0 replace mbc=1 if bp<3&nsm<3&lsc<3&noc<3 ***Calculating the percentage of farmers who agree all mental budgeting statements*** tabulate mbc ***Typicality analysis*** gen group=0 gen group2=0 replace group=1 if vss!=-1&vsf==-1&vsp==-1&vsls!=-1&vslf==-1&vslp==-1&kfs==-1&kff!=-1&kfp==-1&nfs==-1&nff!=-1&nfp==-1&pfs==-1&pff!=-1&pfp==-1&ofs==-1&off!=-1&ofp==-1&lns==-1&lnf==-1&lnp!=-1&hps==-1&hpf==-1&hpp!=-1&lps==-1&lpf==-1&lpp!=-1&sas==-1&saf==-1&sap!=-1 ***typicality of all selected inputs*** tabulate group replace group2=1 if vss!=-1&vsf==-1&vsp==-1&kfs==-1&kff!=-1&kfp==-1&nfs==-1&nff!=-1&nfp==-1&pfs==-1&pff!=-1&pfp==-1&hps==-1&hpf==-1&hpp!=-1&lps==-1&lpf==-1&lpp!=-1 ***typicality of commonly used inputs*** tabulate group2 ***Group intention variables*** gen arqg_ht=0 replace arqg_ht=1 if arq_ht<3 gen sg_ht=0 replace sg_ht=1 if s_ht<3 ***Probit regression*** ***Probit regression for agricultural revenue and mental budgeting predicted scores*** probit arqg_ht mb age fs edu of lnincome margins, dydx(*) ***Probit regression for agricultural revenue and mental budgeting groups*** probit arqg_ht mbc age fs edu of lnincome margins, dydx(*) ***Probit regression for subsidy and mental budgeting predicted scores*** probit sg_ht mb age fs edu of lnincome margins, dydx(*) ***Probit regression for subsidy and mental budgeting groups*** probit sg_ht mbc age fs edu of lnincome margins, dydx(*) ***ROC analysis*** gen mbf=-mb roctab sg_ht mbf, graph roctab arqg_ht mbf, graph ***Appendix*** ***Create variables 'mental budgeting dummy 2'*** gen mbc2=0 replace mbc2=1 if bp<=3&nsm<=3&lsc<=3&noc<=3 ***Probit regression*** ***Probit regression for agricultural revenue and mental budgeting groups 2*** probit arqg_ht mbc2 age fs edu of lnincome margins, dydx(*) ***Probit regression for subsidy and mental budgeting groups 2*** probit sg_ht mbc2 age fs edu of lnincome margins, dydx(*) ***Re-grouping intentions*** gen arqg_ht2=0 replace arqg_ht2=1 if arq_ht<=3 gen sg_ht2=0 replace sg_ht2=1 if s_ht<=3 ***Probit regression for agricultural revenue 2 and mental budgeting predicted scores*** probit arqg_ht2 mb age fs edu of lnincome margins, dydx(*) ***Probit regression for agricultural revenue 2 and mental budgeting groups*** probit arqg_ht2 mbc age fs edu of lnincome margins, dydx(*) ***Probit regression for agricultural revenue 2 and mental budgeting groups 2*** probit arqg_ht2 mbc2 age fs edu of lnincome margins, dydx(*) ***Probit regression for subsidy 2 and mental budgeting predicted scores*** probit sg_ht2 mb age fs edu of lnincome margins, dydx(*) ***Probit regression for subsidy 2 and mental budgeting groups*** probit sg_ht2 mbc age fs edu of lnincome margins, dydx(*) ***Probit regression for subsidy and mental budgeting groups 2*** probit sg_ht2 mbc2 age fs edu of lnincome margins, dydx(*)