返回
Generating random samples from user-defined distributions
DOI:10.1177/1536867X1101100209.png)
摘要
En 中文
Generating random samples in Stata is very straightforward if the distribution drawn from is uniform or normal. With any other distribution, an inverse method can be used; but even in this case, the user is limited to the built-in functions. For any other distribution functions, their inverse must be derived analytically or numerical methods must be used if analytical derivation of the inverse function is tedious or impossible. In this article, I introduce a command that generates a random sample from any user-specified distribution function using numeric methods that make this command very generic.
Keyword:
st0229
rsample
random sample
user-defined distribution function
inverse method
Monte Carlo exercise
AI总结
对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。
期刊
S
IF:
2.4
论文数:
1.2K
被引数:
1.0W
机构
暂无机构信息

