rmvnorm90ci_exact: 90%-confidence interval multivariate normal random number...

View source: R/rmvnorm90ci_exact.R

rmvnorm90ci_exactR Documentation

90%-confidence interval multivariate normal random number generation.

Description

This function generates normally distributed multivariate random numbers which parameters are determined by the 90%-confidence interval. The calculation of mean and sd is exact.

Usage

rmvnorm90ci_exact(n, lower, upper, correlationMatrix)

Arguments

n

integer: Number of observations to be generated.

lower

numeric vector: lower bound of the 90% confidence interval.

upper

numeric vector: upper bound of the 90% confidence interval.

correlationMatrix

numeric matrix: symmetric matrix which is the correlation matrix of the multivariate normal distribution. In particular, all diagonal elements must be equal to 1.

See Also

random, Mvnorm


decisionSupport documentation built on Oct. 6, 2023, 1:06 a.m.