Restrict the range of coefficients in varm function

조회 수: 5 (최근 30일)
ztcnkdx
ztcnkdx 2023년 3월 22일
답변: Rijuta 2023년 4월 21일
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!

답변 (1개)

Rijuta
Rijuta 2023년 4월 21일
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.

카테고리

Help CenterFile Exchange에서 Vector Autoregression Models에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by