forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 2:35 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Jarque–Bera test
PostPosted: Tue Mar 29, 2011 7:46 am 
Offline

Joined: Tue Mar 29, 2011 7:00 am
Posts: 3
Dear colleauges, could you hint what the auxiliary function jarquebera_jbcheb means?
Why does the algorithm author omit any function description? :-(


Top
 Profile  
 
 Post subject: Re: Jarque–Bera test
PostPosted: Tue Mar 29, 2011 8:20 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
jbcheb(x,c,tj,tj1,r) is used to calculate Chebyshev approximation of the Jarque-Bera CDF.

Its input arguments are:
x - point of calculation
c - coefficient
tj - j-th Chebyshev polynomial
tj1 - previous (j-1)-th Chebyshev polynomial
r - accumulator variable

This function adds c*x to r and updates tj and tj1 in such way, that tj1 is now equal to tj, and tj stores valye of (j+1)-th Chebyshev polynomial.

I agree that Jarque-Bera subpackage is awkward - it have only several comments and it is too big and too hard to read. Well, it was generated automatically as result of the very long Monte-Carlo simulation, and although it was planned to make this package more human-readable, these plans were not implemented yet.


Top
 Profile  
 
 Post subject: Re: Jarque–Bera test
PostPosted: Tue Mar 29, 2011 8:48 am 
Offline

Joined: Tue Mar 29, 2011 7:00 am
Posts: 3
Dear Sergey, great job!
Thank you very much!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group