[R] Calculating Variance-covariance matrix for a multivariate normal distribution.
p.dalgaard at biostat.ku.dk
Sat Apr 28 23:00:51 CEST 2007
stat stat wrote:
> Dear all R users,
> I wanted to calculated a sample Variance covariance matrix of a five-variate normal distribution. However I stuck to calculate each element of that matrix. My question is should I calculate ordinary variance and covariances, taking pairwise variables? or I should take partial covariance between any two variables, keeping other fixed. In my decent opinion is I should go for the second option?
The definition is the former, though...
> Your help will be highly appreciated
> Thanks and regards,
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help