[R] Chi-Square test

Wensui Liu liuwensui at gmail.com
Fri Feb 23 01:05:05 CET 2007


?pchisq

On 2/21/07, Mohsen Jafarikia <jafarikia at gmail.com> wrote:
> Hello all,
>
> I am doing a Likelihood Ratio (LR) test in my simulation and I have a vector
> LR values (each with 1 degree of freedom) at the end of my simulation.
>
> Can anybody tell me how I can write a 'R' code which gives me the p-value
> for each of those LR values.
> Thanks
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>


-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)



More information about the R-help mailing list