rmvnorm90ci_exact {decisionSupport}R 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


[Package decisionSupport version 1.114 Index]