Extended Model Formulas in R: Multiple Parts and Multiple Responses
Achim Zeileis and
Yves Croissant
Additional contact information
Achim Zeileis: Universität Innsbruck [Innsbruck]
Post-Print from HAL
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 (search for similar items in EconPapers)
Date: 2010
Note: View the original document on HAL open archive server: https://hal.univ-reunion.fr/hal-01245303
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (8)
Published in Journal of Statistical Software, 2010, 34 (1), ⟨10.18637/jss.v034.i01⟩
Downloads: (external link)
https://hal.univ-reunion.fr/hal-01245303/document (application/pdf)
Related works:
Journal Article: Extended Model Formulas in R: Multiple Parts and Multiple Responses (2010) 
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:hal:journl:hal-01245303
DOI: 10.18637/jss.v034.i01
Access Statistics for this paper
More papers in Post-Print from HAL
Bibliographic data for series maintained by CCSD ().