Hello All,
This is my first time using this platform, so apologies in advance for any faux pas. Also, I am new to model building and statistics world, so please bear with me.
I am using a ZTNB model where my outcome is the number of waivered physicians at the ZCTA (Zip-code tabulation area) level and my explanatory variables are community characteristics - median income, race, education, marital status, rurality etc. I already checked for mean=variance assumption which was not met, hence I am using negative binomial and also my outcome has no zeros due to which I am using zero truncated. However, I am completely confused about the exposure variables that needs to be included in the model in order to account for any variance which may lead to biased estimation. Please correct me if I am wrong, but I was thinking to use population size as the exposure because population size will affect the number of waivered physicians available but I am confused (a) if this exposure makes sense and (b) how to incorporate exposure variable in the code. I read about it a lot and I am really confused because most of the forums, it was mentioned to write "exposure(varname)" after the tnbreg command but in one of STATA documentation, I also read to use "vce(cluster varname) nolog" after the tnbreg command. One last method, I read about was to enter "offset (log of variable)". Therefore, it would be really helpful to understand little bit about exposure variables and what is the right way to account for them in ZTNB model. Additionally, it would be nice to know if the way to use exposure variable changes with other count models - poisson, negative binomial, zero-inflated, zero-inflated negative binomial.
I need to submit an abstract for a conference and I am stuck here, so your quick replies can help me a lot.
Thank You,
Sadia Jehan
Related Posts with How to incorporate exposure variable in Zero Truncated Negative Binomial Model
Update to -dstat- available from SSCThanks to Kit Baum, the dstat package has been updated on SSC. To install the update, type Code: .…
How to skip the r(2000) error and continue with code in StataDear all, My search on this topic has not been satisfactory: https://www.statalist.org/forums/for…
Creating a PP plot from a linear regression model with sampling weightsI have a dataset that has sampling weights. I have fitted a multivariable linear regression model an…
D-efficient design - DCREATE: Output of D-error and Fisher-Information MatrixHello together, I have recently applied the DCREATE function for a stated preference experiment in m…
How to calculate the number of portfolio firms that held onto a stock by stock and quarter?Dear all, Currently I have a database of funds holdings of a particular stock with the time series …
Subscribe to:
Post Comments (Atom)
0 Response to How to incorporate exposure variable in Zero Truncated Negative Binomial Model
Post a Comment