0

为了获得总体均值的正态概率分布,我是否使用 rnorm 函数并只给它标准误差而不是标准偏差?

# probability distribution of a 
# population mean of 100 with SD of 10, n = 50.

# convert to standard error
se <- 10/(50^.5)

# The rnorm function accepts sd, so I just use the
# se in its place to get the desired distribution
meanDist <- rnorm(1000,mean=100,sd=se)
hist(meanDist)
4

1 回答 1

0

是的,尽管hist结果将显示平均值估计值的代表性抽样,而不是总体值的分布。

于 2013-03-09T22:41:03.250 回答