摘要: R: mvtnorm packageused to simlulate data from a bivariate or more generally, a multivariate normal distribution# 10 observations from a bivariate standard normal distrtibutionset.seed(123) rmvnorm(10, mean = c(0, 0), sigma = diag(2))mu_x = 0.05mu_y = 0.025sig_x = 0.10sig_y = 0.05rho_xy = 0.9sig_xy = 阅读全文
posted @ 2014-03-10 23:33 Defightender 阅读(1038) 评论(0) 推荐(0) 编辑