R - multivariate normal distribution in R -
i simulate multivariate normal distribution in r. i've seen need values of mu , sigma. unfortunately, don't know how obtain them.
in following link find data in csv file "input.csv". https://www.dropbox.com/sh/blnr3jvius8f3eh/aacohqyzzgidhaopmye__873a?dl=0
please, show me example? raúl
your link broken, understand want generate random samples empirical multivariate normal distribution. can that, assuming df data.frame data:
library('mass') sigma <- var(df) means <- colmeans(df) simulation <- mvrnorm(n = 1000, means, sigma)
Comments
Post a Comment