Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Health care expenditure, GLM and Copas Test

    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
    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
    Last edited by Liang Wang Jack; 17 Feb 2018, 15:43.

  • #2
    Is there a sysuse expenditure dataset which contains more sample that I can use?

    Comment

    Working...
    X