Description Usage Arguments Value Author(s)
This function generates CRE variables of type 'CRE-M' or 'AD' from variables available in a model frame. This function is not intended for direct use but is called from the function rqpd.
1 |
object |
A model formula or a |
data |
a data frame created with |
ids |
An id vector (potentially as factor) specifying the structure of the panel. |
contrasts.arg |
A list, whose entries are values (numeric matrices or
character strings naming functions) to be used as replacement
values for the |
method |
"m"/"crem" for CRE-M specification or "ad" for the Abrevaya and Dahl type specification. |
Matrix with the generated CRE variables.
Stefan Holst Bache
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.