Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

NullDistribution-class

Class "NullDistribution" and its subclasses


Description

Objects of class "NullDistribution" and its subclasses "ApproxNullDistribution", "AsymptNullDistribution" and "ExactNullDistribution" represent the reference distribution.

Objects from the Class

Objects can be created by calls of the form

new("NullDistribution", \dots),

     new("ApproxNullDistribution", \dots),

     new("AsymptNullDistribution", \dots)

and

new("ExactNullDistribution", \dots).

Slots

For objects of classes "NullDistribution", "ApproxNullDistribution", "AsymptNullDistribution" or "ExactNullDistribution":

name:

Object of class "character". The name of the reference distribution.

p:

Object of class "function". The distribution function of the reference distribution.

pvalue:

Object of class "function". The p-value function of the reference distribution.

parameters:

Object of class "list". Additional parameters.

support:

Object of class "function". The support of the reference distribution.

d:

Object of class "function". The density function of the reference distribution.

q:

Object of class "function". The quantile function of the reference distribution.

midpvalue:

Object of class "function". The mid-p-value function of the reference distribution.

pvalueinterval:

Object of class "function". The p-value interval function of the reference distribution.

size:

Object of class "function". The size function of the reference distribution.

Additionally, for objects of classes "ApproxNullDistribution" or "AsymptNullDistribution":

seed:

Object of class "integer". The random number generator state (i.e., the value of .Random.seed).

Additionally, for objects of class "ApproxNullDistribution":

nresample:

Object of class "numeric". The number of Monte Carlo replicates.

Extends

For objects of class "NullDistribution":
Class "PValue", directly.

For objects of classes "ApproxNullDistribution", "AsymptNullDistribution" or "ExactNullDistribution":
Class "NullDistribution", directly.
Class "PValue", by class "NullDistribution", distance 2.

Known Subclasses

For objects of class "NullDistribution":
Class "ApproxNullDistribution", directly.
Class "AsymptNullDistribution", directly.
Class "ExactNullDistribution", directly.

Methods

dperm

signature(object = "NullDistribution"): See the documentation for dperm for details.

midpvalue

signature(object = "NullDistribution"): See the documentation for midpvalue for details.

midpvalue

signature(object = "ApproxNullDistribution"): See the documentation for midpvalue for details.

pperm

signature(object = "NullDistribution"): See the documentation for pperm for details.

pvalue

signature(object = "NullDistribution"): See the documentation for pvalue for details.

pvalue

signature(object = "ApproxNullDistribution"): See the documentation for pvalue for details.

pvalue_interval

signature(object = "NullDistribution"): See the documentation for pvalue_interval for details.

qperm

signature(object = "NullDistribution"): See the documentation for qperm for details.

rperm

signature(object = "NullDistribution"): See the documentation for rperm for details.

size

signature(object = "NullDistribution"): See the documentation for size for details.

support

signature(object = "NullDistribution"): See the documentation for support for details.


coin

Conditional Inference Procedures in a Permutation Test Framework

v1.4-1
GPL-2
Authors
Torsten Hothorn [aut, cre] (<https://orcid.org/0000-0001-8301-0471>), Henric Winell [aut] (<https://orcid.org/0000-0001-7995-3047>), Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>), Mark A. van de Wiel [aut] (<https://orcid.org/0000-0003-4780-8472>), Achim Zeileis [aut] (<https://orcid.org/0000-0003-0918-3766>)
Initial release
2021-02-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.