Displaying 2 results from an estimated 2 matches for "hitmiss".
Did you mean:
dismiss
2013 Jul 23
0
percent correctly predicted (PCP) zeros for hurdle model
Hello all,
I am using the hurdle model for fitting my count data using the pscl package
which is working 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 o...
2011 Oct 29
1
Sweave absolute path versus relative path
...to work
> properly. I finally determined that I couldn't put the file in as an
> absolute path but it had to be a relative path. I.e
>
> \SweaveInput{/home/tdavies/Dropbox/CollapseRecovery_Shared/trevor/afterAFS/writing/sweave/blah.tex}
> gave the error:
>
> R CMD Sweave hitmiss.Rnw
> Error in SweaveReadFile(c(ifile, file), syntax, encoding = encoding) :
> no Sweave file with name
> './/home/tdavies/Dropbox/CollapseRecovery_Shared/trevor/afterAFS/writing/sweave/blah.tex'
> found
> Calls: <Anonymous> -> Sweave -> SweaveReadFile -> Swe...