mean.rv {rv}R Documentation

Distribution of the Arithmetic Mean of a Random Vector

Description

mean.rv computes the distribution of the arithmetic average of its argument rv object.

Usage

  ## S3 method for class 'rv':
  mean(x, ...)

Arguments

x an object
... further arguments passed to or from other methods

Details

mean.rv gives the distribution (that is, a random variable object) of the statistic sum x_i/n (sum(x)/length(x)).

In particular, mean(x) of a random vector x of length one is equal to x as it would be in the case of numerical x.

To find the expectation of a random vector x (that is, the individual means of random components in a vector), use rvmean(x) (same as E(x) and Pr(x).

Author(s)

Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman

References

Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

See Also

rvmean

Examples

  #

[Package rv version 0.911 Index]