Number of parameters and number of variates in the model
Number of parameters and number of variates in the model
nparam() returns the number of estimated parameters in the model, while nvariate() returns number of variates for the response variable.
nparam(object,...)nvariate(object,...)
Arguments
object: Time series model.
...: Some other parameters passed to the method.
Returns
Both functions return numeric values.
Details
nparam() is a very basic and a simple function which does what it says: extracts number of estimated parameters in the model. nvariate() returns number of variates (dimensions, columns) for the response variable (1 for the univariate regression).