Displaying 1 result from an estimated 1 matches for "rvnorm".
Did you mean:
rnorm
2007 Aug 20
1
rv package, rvnorm function
...and Summarize Simulations in R" (July 4, 2007).
I am using a Dell Precision 380n computer running Gentoo Linux and R
2.2.1 (the latest available through Gentoo's portage/emerge system).
Everything worked well until I tried the following command (found on p.
2 of the document):
beta <- rvnorm(mean=beta.hat, var=V.beta*sigma^2)
That command produced the following error message:
Error in .rvmvnorm(n = n, mean = mean, Sigma = var) :
Invalid (non-numeric) covariance matrix Sigma
Any suggestions for interpreting the error message or correcting the
problem would be much appreciated....