Search found 7 matches

by serkan
Mon Feb 05, 2024 4:58 am
Forum: Bug Reports
Topic: SVAR impulse response functions (methods and confidence level)
Replies: 3
Views: 25263

Re: SVAR impulse response functions (methods and confidence level)

Hello, I have a problem with the freeze function in svar. After obtaining the impulse responses with svar, I want to freeze the values in table format. However, when I write the freeze code (below), it freezes the graphs. What should I do to freeze the table values? Thanks in advance. for !i=1 to 4 ...
by serkan
Wed Jan 10, 2024 3:19 am
Forum: Programming
Topic: If - Else code
Replies: 5
Views: 7260

Re: If - Else code

Great. Many thanks. Hello, You may also find it more readable/maintainable to use a vector to store the mapping between the value of !i and that of !bestlag rather than a sequence of @recode statements. For example, vector(21) bestlagmap bestlagmap.fill 12, 6, 2, 1, 2, 2, 1, 4, 1, 1, 2, 2, 11, 1, 4,...
by serkan
Tue Jan 09, 2024 12:53 am
Forum: Programming
Topic: If - Else code
Replies: 5
Views: 7260

Re: If - Else code

Dear all, I have a problem with the code. I want to change the !bestlag according to !i. But when I run the program, it gives zero for the bestlag. Is there anyone who can help me? !maxlag = 12 'Number of NA (MAX. LAG) in the series !windowlenght = 48 'window lenght !noe = @obs(y1)-!maxlag-!windowle...
by serkan
Tue Jan 02, 2024 2:30 am
Forum: Programming
Topic: A problem in working with "FOR" Loop
Replies: 15
Views: 8817

Re: A problem in working with "FOR" Loop

Hi. I want to seasonally adjust 45 different series using the Tramoseats method. There is no problem when I do the process one by one. However, when I want to do it in a loop, it gives an error. What could be the reason for this? Am I doing something wrong? Any chance someone can help? for !i=1 to 4...
by serkan
Mon Feb 06, 2023 12:30 am
Forum: Programming
Topic: A problem in working with "FOR" Loop
Replies: 15
Views: 8817

Re: A problem in working with "FOR" Loop

Yes it is.
Is there a solution to covert the name of the series while using negative values in !x loop? Like multiplying by -10? Or what do you recommend?
Thanks
by serkan
Fri Jan 27, 2023 5:17 am
Forum: Programming
Topic: A problem in working with "FOR" Loop
Replies: 15
Views: 8817

Re: A problem in working with "FOR" Loop

Hello, I have a problem with !x loop. Since I have negative values in !x, I cannot produce outputs of val_{!s}_{!y}_{!x} for negative ones. for !s=1 to 3 for !y=1 to 6 for !x=-6 to 12 series val_{!s}_{!y}_{!x} = @recode(sp{!s}=1, y{!y}({!x}), 0) 'It does not produce outputs for negative !x's. next n...
by serkan
Tue Apr 02, 2019 1:21 am
Forum: Estimation
Topic: HOW TO ESTIMATE A MULTIVARIATE GARCH-M MODEL?
Replies: 58
Views: 108562

Re: HOW TO ESTIMATE A MULTIVARIATE GARCH-M MODEL?

Hi, I am trying to estimate a bivariate-garch-in-mean for the Mexican economy and having a failure code "Missing values in @LOGL series at current coefficients at observation 2000M02 in "DO_ BV_GARCH_M.ML (SHOWOPTS, M=100, C=1E-5)". Although I change the s1, I am still having the same...

Go to advanced search