Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,给出了 gamma(2,3)。SAS 中有没有像 ExpectedValue("Gamma",2,3) 这样的函数来给出分布的期望值。我用谷歌搜索了一段时间,没有找到满意的答案。
我不认为有。给定您的特定示例,解决方案是
Mean_Gamma = 2 X 3;
如果您只对 Gamma 函数感兴趣,您可以使用 PROC FCMP 创建自己的函数,或者您可以模拟分布并计算平均值。