Thanks Tom for your kind help.
Sam
Search found 16 matches
- Mon Nov 01, 2010 1:49 pm
- Forum: Help With Programming
- Topic: density function coding
- Replies: 8
- Views: 10722
- Mon Nov 01, 2010 1:00 pm
- Forum: Help With Programming
- Topic: density function coding
- Replies: 8
- Views: 10722
Re: density function coding
Hi again, I also tried to use the log exp way to remove the real power but exp(%abs(lamda1)) or log(%abs(lamda1)) is not working with rats: compute a1 = (log(exp(alpha1*(%abs(lamda1))))) /(1.0+( log(exp(alpah1*(%abs(lamda1)))))) the error: Can't Find Match for EXP(MATRIX(REAL)). Closest Match is EXP...
- Mon Nov 01, 2010 9:23 am
- Forum: Help With Programming
- Topic: density function coding
- Replies: 8
- Views: 10722
Re: density function coding
Thanks Tom, I used both %sign and %abs and none seems to work with my code: In, compute a1 = ((%abs(lamda1))^alpha1)/(1.0+((%abs(lamda1))^alpha1)) I got the error: Can't Interpret MATRIX(REAL) ** or ^ REAL ## SX27. Illegal Combination of Data Types for Operation >>>>bs(lamda1))^alpha1)<<<< Thnks
- Sun Oct 31, 2010 7:10 pm
- Forum: Help With Programming
- Topic: density function coding
- Replies: 8
- Views: 10722
Re: density function coding
Hi Tom, One more question: How can we deal with formulas that include the absolute value of variable with power (another coef) and frml with %abs : dec real a1 a2 alpha1 alpha2 sigma1 sigma2 lamda1 lamda2 compute alpha1 = 2.0 compute alpha2 = 2.0 compute sigma1 = sqrt(dyvar) compute sigma2 =sqrt(dyv...
- Fri Oct 29, 2010 3:06 pm
- Forum: Help With Programming
- Topic: density function coding
- Replies: 8
- Views: 10722
Re: density function coding
Thanks Tom for you reply.
Yes dy is just data series. What I originally have for lamda is rather: lamda/%abs(lamda) which is coded as %sign(lamda). I'll recode it as: lamda/%abs(lamda).
Yes dy is just data series. What I originally have for lamda is rather: lamda/%abs(lamda) which is coded as %sign(lamda). I'll recode it as: lamda/%abs(lamda).
- Fri Oct 29, 2010 2:13 pm
- Forum: Help With Programming
- Topic: density function coding
- Replies: 8
- Views: 10722
density function coding
Good day, You help is needed to solve this coding problem. In my estimation stage I need to code a dummy variable (d) with 1 if the sign of the variable is positive and 0 otherwise. The defined density function has two parts and the initial code is: frml xxx = %sign(dy) frml if xxx > 0.0 { xx = 1.0 ...
- Sat Jun 19, 2010 7:57 pm
- Forum: ARCH and GARCH Models
- Topic: M-GARCH ESTIMATION ERROR
- Replies: 9
- Views: 11594
Re: M-GARCH ESTIMATION ERROR
Thanks Tom for you reply.
Sam
Sam
- Fri Jun 18, 2010 9:30 pm
- Forum: ARCH and GARCH Models
- Topic: M-GARCH ESTIMATION ERROR
- Replies: 9
- Views: 11594
Re: M-GARCH ESTIMATION ERROR
Hi Tom, I'M trying to estimate the above model with the wrong covariance matrix. I'm wondering if there is any way of changing the code to account for an off-diag matrix [qc] and diag with ones (cc model): dec symm qcc(n,n) dec symm qc(n,n) dec vect vcv(n) vbv(n) vav(n) nonlin(parmset=garchparms) vc...
- Mon May 31, 2010 3:30 pm
- Forum: ARCH and GARCH Models
- Topic: is the result validity?
- Replies: 2
- Views: 6708
Re: is the result validity?
Hi Luxu,
Can you please share your code I have the same issue with DCC Mgarch estimation.
Thanks.
Can you please share your code I have the same issue with DCC Mgarch estimation.
Thanks.
- Fri May 28, 2010 1:51 pm
- Forum: ARCH and GARCH Models
- Topic: M-GARCH ESTIMATION ERROR
- Replies: 9
- Views: 11594
Re: M-GARCH ESTIMATION ERROR
Thanks for your help.
Sam.
Sam.
- Fri May 28, 2010 1:38 pm
- Forum: ARCH and GARCH Models
- Topic: M-GARCH ESTIMATION ERROR
- Replies: 9
- Views: 11594
Re: M-GARCH ESTIMATION ERROR
Hi Tom,
I'm using version 6.3. Is it a version compatibility ?
I'm using version 6.3. Is it a version compatibility ?
- Fri May 28, 2010 11:40 am
- Forum: ARCH and GARCH Models
- Topic: M-GARCH ESTIMATION ERROR
- Replies: 9
- Views: 11594
Re: M-GARCH ESTIMATION ERROR
Hi Tom, When I try to run the program with the suggested change I got this error: Can't Find Match for %(REAL,INTEGER). Closest Match is %(Any) ## SX27. Illegal Combination of Data Types for Operation >>>> )<<<< and a close check show that this error is due to the suggested changes at: frml hf = %do...
- Mon May 17, 2010 2:28 pm
- Forum: ARCH and GARCH Models
- Topic: M-GARCH ESTIMATION ERROR
- Replies: 9
- Views: 11594
Re: M-GARCH ESTIMATION ERROR
Thanks a lot Tom,
Yes the code is quite old but I'm mainly interested in the estimation part, since BEKK cannot be used with more than 4 var and I have 6 I tried tse code. Maybe there is a better code !!!
Yes the code is quite old but I'm mainly interested in the estimation part, since BEKK cannot be used with more than 4 var and I have 6 I tried tse code. Maybe there is a better code !!!
- Sun May 16, 2010 6:06 pm
- Forum: ARCH and GARCH Models
- Topic: M-GARCH ESTIMATION ERROR
- Replies: 9
- Views: 11594
M-GARCH ESTIMATION ERROR
I'm using the Tse code with up to six variables and wondering if you can help me with this error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ *display ' *==============================================================================================='; *display ' * TseCN.prg: Estimates ...
- Tue Apr 06, 2010 3:58 pm
- Forum: Help With Programming
- Topic: Error SX22
- Replies: 2
- Views: 5854
Re: Error SX22
Thanks for your fast replay.