SNP_NLMM: A SAS Macro to Implement a Flexible Random Effects Density for Generalized Linear and Nonlinear Mixed Models
Generalized linear and nonlinear mixed models (GLMMs and NLMMs) are commonly used to represent non-Gaussian or nonlinear longitudinal or clustered data. A common assumption is that the random effects are Gaussian. However, this assumption may be unrealistic in some applications, and misspecification...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Foundation for Open Access Statistics
2014-01-01
|
Series: | Journal of Statistical Software |
Online Access: | http://www.jstatsoft.org/index.php/jss/article/view/2125 |
id |
doaj-b0eb1ebb16054b57a6c92f78f9eba339 |
---|---|
record_format |
Article |
spelling |
doaj-b0eb1ebb16054b57a6c92f78f9eba3392020-11-24T21:06:49ZengFoundation for Open Access StatisticsJournal of Statistical Software1548-76602014-01-0156112110.18637/jss.v056.c02729SNP_NLMM: A SAS Macro to Implement a Flexible Random Effects Density for Generalized Linear and Nonlinear Mixed ModelsDavid VockMarie DavidianAnastasios TsiatisGeneralized linear and nonlinear mixed models (GLMMs and NLMMs) are commonly used to represent non-Gaussian or nonlinear longitudinal or clustered data. A common assumption is that the random effects are Gaussian. However, this assumption may be unrealistic in some applications, and misspecification of the random effects density may lead to maximum likelihood parameter estimators that are inconsistent, biased, and inefficient. Because testing if the random effects are Gaussian is difficult, previous research has recommended using a flexible random effects density. However, computational limitations have precluded widespread use of flexible random effects densities for GLMMs and NLMMs. We develop a SAS macro, SNP_NLMM, that overcomes the computational challenges to fit GLMMs and NLMMs where the random effects are assumed to follow a smooth density that can be represented by the seminonparametric formulation proposed by Gallant and Nychka (1987). The macro is flexible enough to allow for any density of the response conditional on the random effects and any nonlinear mean trajectory. We demonstrate the SNP_NLMM macro on a GLMM of the disease progression of toenail infection and on a NLMM of intravenous drug concentration over time.http://www.jstatsoft.org/index.php/jss/article/view/2125 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
David Vock Marie Davidian Anastasios Tsiatis |
spellingShingle |
David Vock Marie Davidian Anastasios Tsiatis SNP_NLMM: A SAS Macro to Implement a Flexible Random Effects Density for Generalized Linear and Nonlinear Mixed Models Journal of Statistical Software |
author_facet |
David Vock Marie Davidian Anastasios Tsiatis |
author_sort |
David Vock |
title |
SNP_NLMM: A SAS Macro to Implement a Flexible Random Effects Density for Generalized Linear and Nonlinear Mixed Models |
title_short |
SNP_NLMM: A SAS Macro to Implement a Flexible Random Effects Density for Generalized Linear and Nonlinear Mixed Models |
title_full |
SNP_NLMM: A SAS Macro to Implement a Flexible Random Effects Density for Generalized Linear and Nonlinear Mixed Models |
title_fullStr |
SNP_NLMM: A SAS Macro to Implement a Flexible Random Effects Density for Generalized Linear and Nonlinear Mixed Models |
title_full_unstemmed |
SNP_NLMM: A SAS Macro to Implement a Flexible Random Effects Density for Generalized Linear and Nonlinear Mixed Models |
title_sort |
snp_nlmm: a sas macro to implement a flexible random effects density for generalized linear and nonlinear mixed models |
publisher |
Foundation for Open Access Statistics |
series |
Journal of Statistical Software |
issn |
1548-7660 |
publishDate |
2014-01-01 |
description |
Generalized linear and nonlinear mixed models (GLMMs and NLMMs) are commonly used to represent non-Gaussian or nonlinear longitudinal or clustered data. A common assumption is that the random effects are Gaussian. However, this assumption may be unrealistic in some applications, and misspecification of the random effects density may lead to maximum likelihood parameter estimators that are inconsistent, biased, and inefficient. Because testing if the random effects are Gaussian is difficult, previous research has recommended using a flexible random effects density. However, computational limitations have precluded widespread use of flexible random effects densities for GLMMs and NLMMs. We develop a SAS macro, SNP_NLMM, that overcomes the computational challenges to fit GLMMs and NLMMs where the random effects are assumed to follow a smooth density that can be represented by the seminonparametric formulation proposed by Gallant and Nychka (1987). The macro is flexible enough to allow for any density of the response conditional on the random effects and any nonlinear mean trajectory. We demonstrate the SNP_NLMM macro on a GLMM of the disease progression of toenail infection and on a NLMM of intravenous drug concentration over time. |
url |
http://www.jstatsoft.org/index.php/jss/article/view/2125 |
work_keys_str_mv |
AT davidvock snpnlmmasasmacrotoimplementaflexiblerandomeffectsdensityforgeneralizedlinearandnonlinearmixedmodels AT mariedavidian snpnlmmasasmacrotoimplementaflexiblerandomeffectsdensityforgeneralizedlinearandnonlinearmixedmodels AT anastasiostsiatis snpnlmmasasmacrotoimplementaflexiblerandomeffectsdensityforgeneralizedlinearandnonlinearmixedmodels |
_version_ |
1716764605116579840 |