Displaying 1 result from an estimated 1 matches for "hnegbin".
Did you mean:
negbin
2013 Jul 23
0
percent correctly predicted (PCP) zeros for hurdle model
...ng fine. However, I am stuck with the problem of calculating
the percent correctly predicted (PCP) zeros for hurdle model. The method I
am trying to use to achieve this is 'hitmiss' in the pscl package (ref:
http://www.inside-r.org/packages/cran/pscl/docs/hitmiss).
When I do:
> hitmiss(hnegbin1) #hnegbin is the hurdle model
I get the following error:
Error in UseMethod("hitmiss") :
no applicable method for 'hitmiss' applied to an object of class "hurdle"
FYI, equation I used for building hurdle model:
hurdle(formula = Y ~ X | X, dist = &q...