Quotation Zeileis, Achim, Croissant, Yves. 2009. Extended Model Formulas in R : Multiple Parts and Multiple Responses. Department of Statistics and Mathematics, Research Report Series, Report 92.


RIS


BibTeX

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 variable, e.g., regressors/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.

Tags

Press 'enter' for creating the tag

Publication's profile

Status of publication Published
Affiliation WU
Type of publication Working/discussion paper, preprint
Language English
Title Extended Model Formulas in R : Multiple Parts and Multiple Responses
Title of whole publication Department of Statistics and Mathematics, Research Report Series, Report 92
Year 2009
URL http://epub.wu-wien.ac.at/dyn/virlib/wp/showentry?ID=epub-wu-01_f48&from=NEW&style=blank

Associations

People
Zeileis, Achim (Former researcher)
External
Croissant, Yves
Organization
Institute for Statistics and Mathematics IN (Details)
Google Scholar: Search