NullDistribution-class: Class '"NullDistribution"' and Its Subclasses

NullDistribution-classR Documentation

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", ...),

     new("ApproxNullDistribution", ...),

     new("AsymptNullDistribution", ...)

and

     new("ExactNullDistribution", ...).

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 documentation built on Sept. 27, 2023, 5:09 p.m.