I am using Stata 15.1 with zinb. My dependent variable is number of times a respondent used a tanning bed in the past year (tanning). I zinb tanning on my variable of interest, log income, to obtain an income elasticity estimate. Other regressors include age, educational attainment, race, ethnicity, health status, employment status marital status, family size, time dummies, and region dummies. Specifically, my estimation commands are:
local xlist1 "log_income age doctoral professional masters bachelors associates somecollege highschool black white hispanic employed unemployed hourswrk married livingwpartner widowed divorcedseparated health famsize"
zinb tanning `xlist1' i.region i.year [pw=sampweight], vce(robust) inflate(`xlist1' i.region i.year)
Gender is another variable of interest. I am specifically wanting to know if there is a statistically significant difference between the income elasticity for men and the income elasticity for women. When I attempt to interact a gender dummy, female, with log_income and run zinb again, zinb will not converge. Specifically, I run the following:
gen log_income_female=log_income*female;
local xlist2 "log_income log_income_female age doctoral professional masters bachelors associates somecollege highschool black white hispanic employed unemployed hourswrk married livingwpartner widowed divorcedseparated health famsize"
zinb tanning`xlist2' i.region i.year [pw=sampweight], vce(robust) inflate(`xlist2' i.region i.year)
I suspect that non-convergence is due to perfect prediction of the logit estimation run in the inflate portion of zinb. My question is is there anything I do to get around the non-convergence and test whether log_income_female is statistically significant?
Please note I that have evaluated zinb vs. nbreg in an earlier part of my analysis and comparison of AIC and BIC indicates that zinb is what I should use.
Related Posts with Problem using interaction terms with zinb to test for statistically significant difference
Problems with FE in capital structure studyHello all. For my thesis I'm researching the capital structure in the UK and France. More specifical…
Multilevel model: about the decision of levelsHi Everybody, I'm using a panel data (from year 2013 to 2020) about firms' R&D, sales, region of…
Export labels from alpha output to ExcelI am estimating the alpha of several variables. I have specified asis, item, and label. I need to be…
Splitting a dataset into multiple datasetsHey all, Newish to STATA - longtime SAS user - sorry for the basic question. I have a dataset of ca…
Help creating an index variableHi all. I have a panel dataset from Brazilian states with information on the number of radio station…
Subscribe to:
Post Comments (Atom)
0 Response to Problem using interaction terms with zinb to test for statistically significant difference
Post a Comment