Skip to Main content Skip to Navigation
Journal articles

Extended Model Formulas in R : Multiple Parts and Multiple Responses

Abstract : Model formulas are the standard approach for specifying the variables in statistical models in the S language. Although being eminently useful in an extremely wide class of applications, they have certain limitations including being confined to single responses and not providing convenient support for processing formulas with multiple parts. The latter is relevant for models with two or more sets of variables, e.g., different equations for different model parameters (such as mean and dispersion), regressors and instruments in instrumental variable regressions, two-part models such as hurdle models, or alternative-specific and individual-specific variables in choice models among many others. The R package Formula addresses these two problems by providing a new class Formula (inheriting from formula) that accepts an additional formula operator | separating multiple parts and by allowing all formula operators (including the new |) on the left-hand side to support multiple responses.
Keywords : R software
Complete list of metadatas

Cited literature [12 references]  Display  Hide  Download

https://hal.univ-reunion.fr/hal-01245303
Contributor : Réunion Univ <>
Submitted on : Wednesday, March 30, 2016 - 2:32:31 PM
Last modification on : Thursday, March 28, 2019 - 11:24:16 AM
Long-term archiving on: : Monday, November 14, 2016 - 9:02:26 AM

File

v34i01.pdf
Publisher files allowed on an open archive

Identifiers

Collections

Citation

Achim Zeileis, Yves Croissant. Extended Model Formulas in R : Multiple Parts and Multiple Responses. Journal of Statistical Software, University of California, Los Angeles, 2010, 34 (1), ⟨10.18637/jss.v034.i01⟩. ⟨hal-01245303⟩

Share

Metrics

Record views

286

Files downloads

221