Restrict the range of coefficients in varm function

I was trying to run a VAR model, with restrictions on the coefficients that it cannot be negative. For example, in
I want all the .
Is there a way to implement such constraint in the function varm() or estimate() in the econometrics toolbox? Thanks!

Antworten (1)

Rijuta
Rijuta am 21 Apr. 2023

0 Stimmen

Hi,
I understand that you are the econometrics toolbox in MATLAB to provide built-in support for imposing constraints on coefficients, such as non-negativity constraints, in the ‘varm’ or ‘estimate’ functions for fitting vector autoregressive (VAR) models.
Unfortunately, this is currently not possible in MATLAB. However, if possible, you can implement such constraints (coefficient > 0) on your own by modifying the estimated coefficients after estimating the VAR model using the econometrics toolbox.

Kategorien

Mehr zu Econometrics Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2023a

Gefragt:

am 22 Mär. 2023

Beantwortet:

am 21 Apr. 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by