TY - UNPB
T1 - Extended Model Formulas in R : Multiple Parts and Multiple Responses
AU - Zeileis, Achim
AU - Croissant, Yves
PY - 2009/9/1
Y1 - 2009/9/1
N2 - 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.
AB - 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.
U2 - 10.57938/8d382a00-8d63-4799-8402-4c84961c2bac
DO - 10.57938/8d382a00-8d63-4799-8402-4c84961c2bac
M3 - WU Working Paper
T3 - Research Report Series / Department of Statistics and Mathematics
BT - Extended Model Formulas in R : Multiple Parts and Multiple Responses
ER -