标题: 怎么用sas生成高斯数据? [打印本页] 作者: shiyiming 时间: 2004-4-30 19:44 标题: 怎么用sas生成高斯数据? 我在学习sas时,想要些高斯数据,不知怎么用sas生成,请指点.作者: shiyiming 时间: 2004-4-30 21:54
There is a random number generator RANNOR, which is a function in SAS/BASE.作者: shiyiming 时间: 2004-5-1 16:33 标题: 高斯数据 老兄,能不能具体一点,我给你一个6维的高斯分布,麻烦你给我生成一个高斯数据看看。作者: shiyiming 时间: 2004-5-3 01:30
You have to present your question more specifically. The following code assume xi follows normal(mui,stdi**2), and independence of xi and xj. If you have a specific covariance matrix, you can add them in, but you may need to go SAS/IML for matrix calculations.