Hi,
I am attempting to introduce an instrumental variable in the below probit:
probit Issues_Tot unemp weather_delta PostPan Gender i.Bills i.Class i.Age_6Cat i.Left_Right_3Cat i.Age_Edu_5Cat i.Employed i.country PostPan##c.unemp PostPan##c.weather_delta PostPan##Gender PostPan##i.Bills PostPan##i.Class PostPan##i.Age_6Cat PostPan##i.Left_Right_3Cat PostPan##i.Age_Edu_5Cat PostPan##i.Employed PostPan##i.country
ivprobit Issues_Tot weather_delta PostPan Gender i.Bills i.Class i.Age_6Cat i.Left_Right_3Cat i.Age_Edu_5Cat i.Employed i.country PostPan##c.weather_delta PostPan##Gender PostPan##i.Bills PostPan##i.Class PostPan##i.Age_6Cat PostPan##i.Left_Right_3Cat PostPan##i.Age_Edu_5Cat PostPan##i.Employed PostPan##i.country (unemp PostPan##c.unemp = Prod)
Where Issues_Tot is a binary for if a survey respondent responded as concerned or unconcerned with climate change, unemp is a continuous national unemployment figure and PostPan is a binary dummy that indicates if the survey was taken before or after the pandemic.
I am looking to interpret the change of the relationship between unemployment and climate concern before and after the pandemic. In the original probit this works perfectly but I'm not quite sure how to translate this into ivprobit as I get the error message "depvars may not be factor variables"
Can any suggest how I might tackle this problem?
Kind regards,
Andrew
I am attempting to introduce an instrumental variable in the below probit:
probit Issues_Tot unemp weather_delta PostPan Gender i.Bills i.Class i.Age_6Cat i.Left_Right_3Cat i.Age_Edu_5Cat i.Employed i.country PostPan##c.unemp PostPan##c.weather_delta PostPan##Gender PostPan##i.Bills PostPan##i.Class PostPan##i.Age_6Cat PostPan##i.Left_Right_3Cat PostPan##i.Age_Edu_5Cat PostPan##i.Employed PostPan##i.country
ivprobit Issues_Tot weather_delta PostPan Gender i.Bills i.Class i.Age_6Cat i.Left_Right_3Cat i.Age_Edu_5Cat i.Employed i.country PostPan##c.weather_delta PostPan##Gender PostPan##i.Bills PostPan##i.Class PostPan##i.Age_6Cat PostPan##i.Left_Right_3Cat PostPan##i.Age_Edu_5Cat PostPan##i.Employed PostPan##i.country (unemp PostPan##c.unemp = Prod)
Where Issues_Tot is a binary for if a survey respondent responded as concerned or unconcerned with climate change, unemp is a continuous national unemployment figure and PostPan is a binary dummy that indicates if the survey was taken before or after the pandemic.
I am looking to interpret the change of the relationship between unemployment and climate concern before and after the pandemic. In the original probit this works perfectly but I'm not quite sure how to translate this into ivprobit as I get the error message "depvars may not be factor variables"
Can any suggest how I might tackle this problem?
Kind regards,
Andrew