Extended Model Formulas in R: Multiple Parts and Multiple Responses
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.
Year of publication: |
2010-04-05
|
---|---|
Authors: | Zeileis, Achim ; Croissant, Yves |
Published in: |
Journal of Statistical Software. - American Statistical Association. - Vol. 34.2010, i01
|
Publisher: |
American Statistical Association |
Saved in:
freely available
Saved in favorites
Similar items by person
-
Péage urbain et (in)justice perçue : un obstacle à l'expérimentation en France?
Souche, Stéphanie, (2011)
-
Reducing urban public transport costs by tendering lots : a panel data estimation
Croissant, Yves, (2013)
-
How fair is pricing perceived to be? : an empirical study
Raux, Charles, (2009)
- More ...