On Sun, Jun 12, 2011 at 12:44 PM, Tiago Pereira
<tiago.pere...@mbe.bio.br> wrote:

> The test I am working on has an asymptotic 0.5*chi2(1)+0.5*chi2(2)
> distribution, where numbers inside parenthesis stand for the degrees of
> freedom. Is is possible to compute quickly in R the cumulative distribution
> of that distribution?
>

There appear to be pchibar() functions in both the ibdreg and ic.infer
packages that should do want you want.  Simulation is also fairly
efficient.

    -thomas

-- 
Thomas Lumley
Professor of Biostatistics
University of Auckland

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to