Dear all,
Healthcare expenditure data always has mass zeros and skewness. Commonly, GLM with log link and gamma distribution is used for modeling healthcare expenditure data. How can we measure overfitting using Copas Test by Stata?
Below is the healthcare expenditure dataset sample
Best,
Jack LiangWang
Healthcare expenditure data always has mass zeros and skewness. Commonly, GLM with log link and gamma distribution is used for modeling healthcare expenditure data. How can we measure overfitting using Copas Test by Stata?
Below is the healthcare expenditure dataset sample
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float healthdollar double(grp age) 0 1 52 0 1 47 3100 2 51 1200 2 73 4500 2 65 0 2 67 200 2 60 0 1 51 145 2 59 2040 1 42 end
Best,
Jack LiangWang
Comment