在贝叶斯物品响应理论中比较pystan和numpyro:评估估计的潜在参数和采样性能一致性的评估
Mizuho Nishio1, Eiji Ota2, Hidetoshi Matsuo1
1Department of Radiology, Kobe University Graduate School of Medicine, Kobe, Japan.
PeerJ. Computer science
|October 23, 2023
概括
这项研究将PyStan和NumPyro与贝叶斯物品响应理论 (IRT) 模型进行比较. 两种库在参数估计方面都表现出很好的一致性,NumPyro经常提供更快的采样,特别是对于大型数据集的GPU加速.
科学领域:
- 计算统计的计算统计.
- 心理测量 心理测量 心理测量
- 贝叶斯的推理 贝叶斯的推理
背景情况:
- 项目响应理论 (IRT) 模型在教育和心理评估中被广泛使用.
- 对IRT的贝叶斯式方法在建模复杂关系和整合先前知识方面提供了灵活性.
- 马尔科夫链蒙特卡洛 (MCMC) 方法对于适应贝叶斯模型至关重要,但计算性能可能是一个瓶.
研究的目的:
- 为了比较两个流行的MCMC图书馆,PyStan和NumPyro,贝叶斯物件响应理论 (IRT) 模型的性能.
- 为了评估PyStan和NumPyro之间估计的潜在参数的协议.
- 在IRT的背景下,评估两个图书馆的计算效率 (采样时间).
主要方法:
- 实施贝叶斯的1参数 (1PL-IRT) 和2参数 (2PL-IRT) 模型,使用PyStan和NumPyro.
- 将实施的模型应用于已发表文章中的两种类型的医疗数据.
- 使用相同的先前分布,比较隐性参数和计算成本 (采样时间) 的估计结果.
主要成果:
- 在所有IRT类型和数据中,PyStan和NumPyro之间估计的潜在参数的平均值和标准偏差中观察到很好的一致性.
- 与PyStan相比,NumPyro对MCMC的采样时间通常较短.
- 在使用图形处理单元 (GPU) 处理大型模拟数据时,NumPyro显示了显著的速度改进.
结论:
- 无论是PyStan还是NumPyro都是有效的库,可以实现贝叶斯式1PL-IRT和2PL-IRT模型.
- 图书馆为潜在参数提供了可比的估计准确性.
- 选择最快的库用于MCMC采样取决于数据集大小,NumPyro对较大的数据集显示了优势,特别是在支持GPU的情况下.
相关概念视频
Statistical Inference Techniques in Hypothesis Testing: Parametric Versus Nonparametric Data
138
Statistical inference techniques, paramount in hypothesis testing, differentiate into two broad categories: parametric and nonparametric statistics.
Parametric statistics, as the name suggests, assumes that data follow a specific distribution, often a normal distribution. This assumption enables robust hypothesis testing and estimation. Parametric methods, like the Student's t-test or Goodness-of-fit test, are frequently employed in biostatistics due to their robustness. For instance,...
Parametric statistics, as the name suggests, assumes that data follow a specific distribution, often a normal distribution. This assumption enables robust hypothesis testing and estimation. Parametric methods, like the Student's t-test or Goodness-of-fit test, are frequently employed in biostatistics due to their robustness. For instance,...
138
Distributions to Estimate Population Parameter
4.1K
The accurate values of population parameters such as population proportion, population mean, and population standard deviation (or variance) are usually unknown. These are fixed values that can only be estimated from the data collected from the samples. The estimates of each of these parameters are sample proportion, the sample mean, and sample standard deviation (or variance). To obtain the values of these sample statistics, data are required that have particular distribution and central...
4.1K
Response Surface Methodology
147
Response Surface Methodology (RSM) is a collection of statistical and mathematical techniques used to develop, improve, and optimize processes. It is particularly valuable when many input variables or factors potentially influence a response variable.
The process of RSM involves several key steps:
The process of RSM involves several key steps:
147
Choosing Between z and t Distribution
2.8K
The z and the Student t distribution estimate the population mean using the sample mean and standard deviation. However, to decide which distribution to use for a calculation, one needs to determine the sample size, the nature of the distribution, and whether the population standard deviation is known. If the population standard deviation is known and the population is normally distributed, or if the sample size is greater than 30, the z distribution is preferred. The Student t distribution is...
2.8K
Expected Frequencies in Goodness-of-Fit Tests
2.5K
A goodness-of-fit test is conducted to determine whether the observed frequency values are statistically similar to the frequencies expected for the dataset. Suppose the expected frequencies for a dataset are equal such as when predicting the frequency of any number appearing when casting a die. In that case, the expected frequency is the ratio of the total number of observations (n) to the number of categories (k).
2.5K
Parametric Survival Analysis: Weibull and Exponential Methods
450
Parametric survival analysis models survival data by assuming a specific probability distribution for the time until an event occurs. The Weibull and exponential distributions are two of the most commonly used methods in this context, due to their versatility and relatively straightforward application.
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
450


