s-news
[Top] [All Lists]

Approximate Entropy implementation in SPlus or R

To: Snews <s-news@lists.biostat.wustl.edu>
Subject: Approximate Entropy implementation in SPlus or R
From: joseph <joseph468@yahoo.com>
Date: Tue, 24 Jul 2007 18:05:50 -0700 (PDT)
Cc: joseph_west@merck.com, joseph.a.west@gmail.com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=K6R2647XR4AUdSeOMU9EkFDOYfkvaS+j5ApRoB6ApUylhlr0Ev2uB43CtWeaG9udHB8aO8d+8ypzoUUOvQHVUHRAl/DctuxXqkqULWvF5U2KlmOep5OjuQ8tPHvjLcGetUUwhYLnmQj/9oJ2LlOkU892XmEVbiQKko4ds49S4ME=;

Dear List Members:


 




Approximate Entropy (ApEn)
is a regularity statistic that quantifies the unpredictability of fluctuations
in a time series. ApEn reflects the likelihood that similar patterns of
observations will not be followed by additional similar observations. A time
series containing many repetitive patterns has a relatively small ApEn; a less
predictable (i.e., more complex) process has a higher ApEn. tseries =
randn(500,1):should have a large approximate entropy.  tseries =
sine(1:.2:100):should have a small approximate entropy since it is
deterministic.


 


I am trying to to translate the Approximate
Entropy statistic (ApEn) from math to S or R code and am having difficulty
doing so since I do not fully understand some of the terminolgy and symbolic 
description
of the function as described here: http://www.physionet.org/physiotools/ApEn/   




Does anyone know of an implementation of the
ApEn function in either R or S which I can use without having to reinvent the
wheel? Even pseudocode would be of use, as I can translate that to S. My
problem is a lack of understanding of the mathematical symbology used to
describe/define the function.

Thanks in advance for any help.








       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow

<Prev in Thread] Current Thread [Next in Thread>
  • Approximate Entropy implementation in SPlus or R, joseph <=