rvsd {rv}R Documentation

Variances of Components of Random Vectors

Description

Computes the means of the simulations of all individual components of a random vector (rv) object.

Usage

rvsd(x, ...)

Arguments

x an object
... further arguments passed to var

Details

rvsd applies the function sd to the vector of simulations of each component of x, thus computing "columnwise" standard deviations of the matrix of simulations of 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

rvmin, rvmax, rvmedian, link{rvvar}.

Examples

  x <- rvnorm(mean=0, sd=1:10)
  print(rvsd(x))

[Package rv version 0.911 Index]