[問題] 模擬問題常態

看板Statistics作者 (阿哲)時間10年前 (2015/12/18 10:31), 編輯推噓1(104)
留言5則, 3人參與, 最新討論串1/1
Let Z denote a p vector of multivariate normal data with mu = 0 (vector of zeros) and Σ = I(the identity matrix). How can these data be simulated using the “univariate” function rnorm? 各位先進大家好,這是小弟的作業,想問一下 這題的概念做法該如何下手,不需程式碼,有點看不懂題目 小弟是生成很多個單維串在一起對嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.116.52.150 ※ 文章網址: https://www.ptt.cc/bbs/Statistics/M.1450405902.A.9FF.html

12/18 13:03, , 1F
12/18 13:03, 1F

12/18 21:02, , 2F
你可以google multivariate normal然後看Σ的意義是什麼
12/18 21:02, 2F

12/18 21:03, , 3F
你就知道vector上面的random variables彼此的關係了
12/18 21:03, 3F

12/19 03:59, , 4F
Σ = I等於什麼都不用處理
12/19 03:59, 4F

12/19 03:59, , 5F
你可以想想看Σ =\= I時要怎麼生成^^
12/19 03:59, 5F
文章代碼(AID): #1MSt0Ed_ (Statistics)