Dear David,
no, distrTEst won't help. It has a different intention.
We are currently working on a new package "distrMod"
(cf. https://r-forge.r-project.org/projects/distrmod/)
which sometime might have such a functionality.
Best,
Matthias
David Bickel wrote:
> Is there any automatic mechanism f
David Bickel wrote:
> Is there any automatic mechanism for extracting a likelihood or test
> statistic distribution (PDF or CDF) from an object of class "htest" or
> from another object of a general class encoding a hypothesis test
> result?
>
> I would like to have a function that takes "x", an ob
You could create an S3 generic that does it. That is not initially
any less work than the if statement but if you add new distribution
no existing code need be modified. Just add a new method for each
distribution to be supported:
getDistr <- function(x) {
.Class <- names(x$value$statist
Is there any automatic mechanism for extracting a likelihood or test
statistic distribution (PDF or CDF) from an object of class "htest" or
from another object of a general class encoding a hypothesis test
result?
I would like to have a function that takes "x", an object of class
"htest", as its o
4 matches
Mail list logo