Search found 12 matches

by yngvi
Wed Nov 21, 2018 3:51 am
Forum: Help With Programming
Topic: vector[frml] formulas on group statement
Replies: 1
Views: 6061

vector[frml] formulas on group statement

Say I have 50 frml's generated by a loop. Can I include them in a simple way in a model using GROUP or otherwise without typing each one out on the GROUP statement?
Thanks,
Yngvi
by yngvi
Tue Jul 19, 2016 1:02 pm
Forum: ARCH and GARCH Models
Topic: Copula MV-GARCH vs. DCC
Replies: 4
Views: 9414

Re: Copula MV-GARCH vs. DCC

Many thanks Tom.
I will take a look at your example.
Yngvi
by yngvi
Thu Jul 07, 2016 11:12 am
Forum: ARCH and GARCH Models
Topic: Copula MV-GARCH vs. DCC
Replies: 4
Views: 9414

Re: Copula MV-GARCH vs. DCC

The article at the link below is on this subject
http://link.springer.com/article/10.100 ... 012-0311-2
by yngvi
Thu Mar 12, 2015 6:27 am
Forum: ARCH and GARCH Models
Topic: %RANGED external function
Replies: 2
Views: 6148

Re: %RANGED external function

Many thanks.
by yngvi
Wed Mar 11, 2015 12:17 pm
Forum: ARCH and GARCH Models
Topic: %RANGED external function
Replies: 2
Views: 6148

%RANGED external function

Referring to the RATS Handbook for ARCH/GARCH and Volatility Models, Appendix A-7.
Where can I find the %RANGED external function?
by yngvi
Wed Nov 20, 2013 6:46 pm
Forum: Panel Data
Topic: FRML accross individuals
Replies: 1
Views: 5826

FRML accross individuals

Hi.

How does one make a FRML that operates accross individuals of a balanced panel?
I need to produce a weighted sum accross individuals that will be further used as a component of a model created using GROUP.

Thanks,
by yngvi
Tue Oct 29, 2013 12:43 pm
Forum: Panel Data
Topic: Panel Data Operation
Replies: 8
Views: 14434

Re: Panel Data Operation

FYI then I added an ALLOCATE 11/2012:1 instruction.
I still seem to require to put a do loop around the differencing set instructions as per my earlier post.
It's a puzzle but I've got a working program.

BTW do you have any documentation on the MOVE instruction.

Many thanks again.
by yngvi
Tue Oct 29, 2013 12:20 pm
Forum: Panel Data
Topic: Panel Data Operation
Replies: 8
Views: 14434

Re: Panel Data Operation

This is how I set it up. I never did a separate ALLOCATE for the panel. cal(a) 1997:1 all 2012:1 * open data Indices.xlsx data(org=obs,format=xlsx) 1997:01 2012:01 CPI W close data * cal(a,panelobs=16) 1997:1 open data Panel.rat data(format=rats) 1//1997:1 11//2012:1 C YD TFER A close data Then I se...
by yngvi
Tue Oct 29, 2013 8:52 am
Forum: Panel Data
Topic: Panel Data Operation
Replies: 8
Views: 14434

Re: Panel Data Operation

As regards problem 2 then I wasn't looking for a forward difference I just wanted to populate the vector with no empty elements. As in the case of problem 1 I needed to specify the sample range explicitly but within a do loop. I don't understand why I can't use a similar sample reference as I did f...
by yngvi
Tue Oct 29, 2013 6:16 am
Forum: Panel Data
Topic: Panel Data Operation
Replies: 8
Views: 14434

Re: Panel Data Operation

Thanks. The solution to problem 1 : set(nopanel) yd_r = yd/cpi(%period(t))*cpi(2012:1) needed to be ammended as: set(nopanel) yd_r 1//1997:1 11//2012:1 = yd/cpi(%period(t))*cpi(2012:1) i.e. I needed to specify the sample range explicitly. The %period(t) was what I was looking for. I had already trie...
by yngvi
Mon Oct 28, 2013 4:39 pm
Forum: Panel Data
Topic: Panel Data Operation
Replies: 8
Views: 14434

Panel Data Operation

I have a panel of 11 individuals and 16 time periods, 1997-2012. Problem 1: Applying a division by a common time series variable for all individuals e.g. CPI. The SET instruction doesn't seem to work as the common variable is interpreted as belonging to individual 1. I have come up with the followin...
by yngvi
Tue Jul 05, 2011 10:13 am
Forum: ARCH and GARCH Models
Topic: Copula MV-GARCH vs. DCC
Replies: 4
Views: 9414

Copula MV-GARCH vs. DCC

Has anybody programmed Copula MV-GARCH using RATS?
I'm interested in doing a comparison with DCC.

Best regards,
Yngvi Hardarson