powered by
This function allows you to estimate mixed causal-noncausal MARX models by t-MLE (compatible with most functions in lm() class).
mixed(y, x, p_C, p_NC)# S3 method for default mixed(y, x, p_C, p_NC)# S3 method for mixed print(x, ...)# S3 method for mixed summary(object, ...)
# S3 method for default mixed(y, x, p_C, p_NC)
# S3 method for mixed print(x, ...)
# S3 method for mixed summary(object, ...)
Data vector of time series observations.
Matrix of data (every column represents one time series). Specify NULL or "not" if not wanted.
Number of lags to be included.
Number of leads to be included.
Other parameters.
An object of the class "mixed".
An object of class "mixed" is a list containing the following components:
"mixed"
Vector of estimated coefficients.
Standard errors of estimated coefficients.
Degrees of freedom residuals.
Residuals.
Fitted values.
Vector containing (r,s,q), i.e. causal order r, noncausal order s, number of exogenous regressors q.
# NOT RUN { data <- sim.marx(c('t',1,1), c('t',1,1),100,0.5,0.4,0.3) object <- mixed(data$y, data$x, 1, 1) class(object) <- "mixed" summary(object) # }
Run the code above in your browser using DataLab