...
首页> 外文期刊>電子情報通信学会技術研究報告. 思考と言語. Thought and Language >Fitting linear mixed models using JAGS and Stan: A tutorial
【24h】

Fitting linear mixed models using JAGS and Stan: A tutorial

机译:使用JAGS和Stan拟合线性混合模型:教程

获取原文
获取原文并翻译 | 示例
           

摘要

Psycholinguists routinely use linear mixed models (LMMs) for statistical inference. The most widely used tool for this purpose is the lmer function in the R library lme4. Although lmer has the advantage that models can be fit relatively quickly, one issue with this tool is that, when a full variance-covariance structure for variance components is defined, the model either fails to converge, or returns estimates of the correlation parameters that do not reflect the true underlying parameter values. LMMs fit using a Bayesian framework have several advantages over this conventional method: A full variance-covariance matrix for random effects can be defined even in cases where lmer would fail to converge or return nonsensical estimates; the underlying generative model can be flexibly changed; and, perhaps most importantly, a direct answer to the research question can be obtained by examining the posterior distribution given data. One major barrier to using Bayesian LMMs is that it is not obvious how to use the software available for Bayesian modeling. Although several good introductory books exist for Bayesian modeling in general, linear mixed modeling is typically treated in a fairly general way, and the more complex models that are used in psycholinguistics are usually not discussed. This tutorial provide a guide to allow researchers to quickly get started in fitting such models using the programming languages JAGS and Stan.
机译:心理语言学家通常使用线性混合模型(LMM)进行统计推断。为此目的,使用最广泛的工具是R库lme4中的lmer函数。尽管lmer的优点是可以相对快速地拟合模型,但是此工具的一个问题是,当为方差分量定义完整的方差-协方差结构时,模型要么无法收敛,要么返回相关参数的估计值无法反映真实的基础参数值。与传统方法相比,使用贝叶斯框架拟合的LMM具有多个优点:即使在lmer无法收敛或返回无意义估计的情况下,也可以定义用于随机效应的完整方差-协方差矩阵;潜在的生成模型可以灵活更改;而且,也许最重要的是,可以通过检查给定数据的后验分布来获得对研究问题的直接答案。使用贝叶斯LMM的一个主要障碍是,如何使用可用于贝叶斯建模的软件并不明显。尽管通常有几本不错的贝叶斯建模入门书籍,但是线性混合建模通常以相当通用的方式处理,并且通常不讨论心理语言学中使用的更复杂的模型。本教程提供了一个指南,使研究人员可以使用JAGS和Stan等编程语言快速入门来拟合此类模型。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号