Class htest with non-numeric p-values

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Class htest with non-numeric p-values

JiHO-2
Hi everyone,

For some tests, tables of critical values are readily available while
the algorithm to compute those critical values is not. In such cases,
only a range for the p-value can be evaluated (e.g. 0.05 < p < 0.1)
from the table of critical values and the statistic.

Is there anyway to include that in an object of class "htest"? I see
in print.htest() that the p.value element goes through format.pval()
which expect a numeric argument. Is there any workaround?

Thank you in advance. Sincerely,

JiHO
---
http://maururu.net

______________________________________________
[hidden email] 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.