Hi,
I am trying to do boottest after margins of logit. Codes are given below:
quietly logit dv_less_severe i.did w_age h_age w_highest_yr_edu h_highest_yr_edu w_edu_sq h_edu_sq i.w_currently_working i.caste_religion i.wealth_index i.rural_urban i.state_no i.year [pweight = weight_dv] if current_marital_status == 1, vce(cluster state_no)
quietly margins , dydx( i.did i.w_currently_working i.caste_religion i.wealth_index i.rural_urban i.state_no i.year) post
boottest did=0 if current_marital_status==1, bootclust(state_no) reps(500) seed(1)
But boottest is not giving results.
error is coming : __000001_wvar not found
Pls help.
I am trying to do boottest after margins of logit. Codes are given below:
quietly logit dv_less_severe i.did w_age h_age w_highest_yr_edu h_highest_yr_edu w_edu_sq h_edu_sq i.w_currently_working i.caste_religion i.wealth_index i.rural_urban i.state_no i.year [pweight = weight_dv] if current_marital_status == 1, vce(cluster state_no)
quietly margins , dydx( i.did i.w_currently_working i.caste_religion i.wealth_index i.rural_urban i.state_no i.year) post
boottest did=0 if current_marital_status==1, bootclust(state_no) reps(500) seed(1)
But boottest is not giving results.
error is coming : __000001_wvar not found
Pls help.