Post Reply 
How does SleepyHead determine the AHI?
Author Message
VisitorX Offline

Preferred Members

Posts: 44
Joined: Oct 2015

Machine: Dream Station - Auto CPAP
Mask Type: Nasal mask
Mask Make & Model: An old Resmed Nasal Mask
Humidifier: Built In Humidifier
CPAP Pressure: 8-12 Range
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: USA, Massachusetts

Post: #1
How does SleepyHead determine the AHI?
How does SleepyHead determine the AHI that it displays? I checked the Beginner's Guide to Sleepy Head but didn't see an answer; I also looked through the tread titles in the Software Support Forum and didn't see anything that suggested the answer was already posted.

Four possibilities that occur to me are:

1. SH directly copies and reports the AHI number that is calculated and displayed by the particular PAP machine one is using;

2. SH calculates the AHI number itself but, to do so, it uses the same AHI-calculation algorithm that is being used by the particular PAP machine one is using;

3. SH uses its own algorithm to calculate AHI but it does so based on the numbers and types of events (OA, CA, H, RERA, etc.) that the particular PAP machine has flagged;

4. SH uses its own algorithm to calculate AHI and to do so it independently assesses and flags what it defines as an OA, CA, H, RERA, etc. based on its own independent assessment of flow curves, etc.

One reason I am asking this question is that I am currently trying to compare the treatment efficacy of two different PAP machines that I have, and to do so with reference to SleepyHead I need to know in general terms what SH is doing. For instance, I've been told that I can't directly compare the AHIs displayed on my two PAP machines because they use different algorithms. Does this same lack of AHI comparability across PAP machines (brands) "infect" SH's calculation of AHI, making it impossible to directly compare the AHIs as displayed by SH? I know, of course, that ultimately the raw data depends on what the particular machine stores and thus uploads to SH, but I'm interested here in what SH does with that data which leads ultimately to its own reporting of the AHI number.

Thank you!
12-28-2015 09:36 AM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
Sleeprider Online
Wiki Editor
Advisory Members

Posts: 3,335
Joined: Dec 2014

Machine: Resmed Aircurve 10 Vauto
Mask Type: Nasal pillows
Mask Make & Model: Resmed Airfit P10
Humidifier: Resmed Climateline
CPAP Pressure: Auto Bilevel 18/9, PS 3
CPAP Software: ResScan SleepyHead EncoreBasic

Other Comments:

Sex: Male
Location: Where they make Respironics

Post: #2
RE: How does SleepyHead determine the AHI?
I think the answer lies in the definition of AHI. It is the sum of CA+OA+H events divided by the hours of machine use.

______________________________________________
Organize your SleepyHead Data
Post your SleepyHead Data from Imgur
Robysue's Beginner's Guide to Sleepyhead
12-28-2015 11:32 AM
Find all posts by this user Post Reply Quote this message in a reply
PaytonA Online
Wiki Editor
Monitors

Posts: 3,006
Joined: Dec 2013

Machine: ResMed S9 VPAP Auto
Mask Type: Full face mask
Mask Make & Model: Resmed Mirage Quattro
Humidifier: H5i(distilled-top up)
CPAP Pressure: VAuto MinE14.0 MaxI 20.6 PS4.0
CPAP Software: ResScan SleepyHead

Other Comments:

Sex: Male
Location: Orange County,California

Post: #3
RE: How does SleepyHead determine the AHI?
The machine itself reports the events and therein may lie the problem. I think that the definition of apneas are tight enough that the reporting of apneas would be very close between machines. There are different algorithms for distinguishing CAs from OAs that may give rise to some differences but since AHI is concerned with the sum of the two that should not be a problem.

The problem is probably with hypopneas. The definition leaves a fair amount of leeway and I can not compare AHIs from my Resmed S8 machine to my S9. My AHI dropped immediately when I started using the S9. Resmed altered the requirements for scoring a hypopnea on the S9 to make it more realistic (realistic is my opinion) so the drop in AHI was probably just a matter of changed scoring requirements for hypopneas.

Someone else on the board probably knows how Sleepyhead comes up with its AHI. I am not sure.

Best Regards,

PaytonA
12-28-2015 11:54 AM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
Sleeprider Online
Wiki Editor
Advisory Members

Posts: 3,335
Joined: Dec 2014

Machine: Resmed Aircurve 10 Vauto
Mask Type: Nasal pillows
Mask Make & Model: Resmed Airfit P10
Humidifier: Resmed Climateline
CPAP Pressure: Auto Bilevel 18/9, PS 3
CPAP Software: ResScan SleepyHead EncoreBasic

Other Comments:

Sex: Male
Location: Where they make Respironics

Post: #4
RE: How does SleepyHead determine the AHI?
Payton, Sleepyhead relies on the machine event flags and data. It makes no interpretation of events, but does sum and divide by session time.

______________________________________________
Organize your SleepyHead Data
Post your SleepyHead Data from Imgur
Robysue's Beginner's Guide to Sleepyhead
12-28-2015 12:59 PM
Find all posts by this user Post Reply Quote this message in a reply
PaytonA Online
Wiki Editor
Monitors

Posts: 3,006
Joined: Dec 2013

Machine: ResMed S9 VPAP Auto
Mask Type: Full face mask
Mask Make & Model: Resmed Mirage Quattro
Humidifier: H5i(distilled-top up)
CPAP Pressure: VAuto MinE14.0 MaxI 20.6 PS4.0
CPAP Software: ResScan SleepyHead

Other Comments:

Sex: Male
Location: Orange County,California

Post: #5
RE: How does SleepyHead determine the AHI?
Sleeprider,

I am not trying to be insulting or anything along those lines. That is what I suspected. How were you able to confirm this? I am not as good at web researching as a lot of you and new to internet message boards although I ran one of my own back in the dial-up days but that was a long time ago.

Best Regards,

PaytonA
12-28-2015 02:40 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
VisitorX Offline

Preferred Members

Posts: 44
Joined: Oct 2015

Machine: Dream Station - Auto CPAP
Mask Type: Nasal mask
Mask Make & Model: An old Resmed Nasal Mask
Humidifier: Built In Humidifier
CPAP Pressure: 8-12 Range
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: USA, Massachusetts

Post: #6
RE: How does SleepyHead determine the AHI?
Sleeprider, I too would hope to know where that information comes from. Likewise, I push this question without intending any disrespect. Is what you say formally described somewhere where I can see the details myself?--and if not, how do you know? Again, no disrespect or suspicion intended; it's just that this is an important issue for me so I want to make sure "with my own eyes" about what I'm dealing with.

SleepyHead is wonderful but if what you say is accurate, it means that the program is not quite as useful as I had hoped, in that it does not let one make valid comparisons across platforms (types of machines), at least with respect to either the AHI number as a whole or with respect to the numbers and locations of specific events that it flags. It means, if I understand correctly (please let me know if I'm wrong), that the only way to compare efficacy across platforms is to try to analyze all the wave forms (or other factors) myself. I can't even say "analyze the *events* myself" because what would be flagged as events would be different on the two machines. I'd have to look through the entire set of detailed data and try to quantify every possible event in both machines and then compare them--a very hard task and one for which I probably wouldn't be able to accomplish without devoting a huge amount of time.
12-28-2015 06:32 PM
Find all posts by this user Post Reply Quote this message in a reply
Sleeprider Online
Wiki Editor
Advisory Members

Posts: 3,335
Joined: Dec 2014

Machine: Resmed Aircurve 10 Vauto
Mask Type: Nasal pillows
Mask Make & Model: Resmed Airfit P10
Humidifier: Resmed Climateline
CPAP Pressure: Auto Bilevel 18/9, PS 3
CPAP Software: ResScan SleepyHead EncoreBasic

Other Comments:

Sex: Male
Location: Where they make Respironics

Post: #7
RE: How does SleepyHead determine the AHI?
I don't know, but infer. I have had direct discussions with Mark Watson, and am peripherally aware of the process he uses to program Sleepyhead to interpret machine code to produce events, flow and other parameters reported by SH. The machines produce the code, the software interprets it to the best understanding of the programmer. The same machine data is used by various manufacturer software to report. The code comes from the machine firmware as recorded on the SD card. If the machine does not provide the event flag, it is not created by SH or any other software. There are pieces of machine code that no one but the manufacturer fully understands, but what you see in SH is a decoding of machine data.

All software is reporting software, however, summary data, average, and statistical information that is reported and graphed, may come from calculations in the software, rather than the machine.

______________________________________________
Organize your SleepyHead Data
Post your SleepyHead Data from Imgur
Robysue's Beginner's Guide to Sleepyhead
(This post was last modified: 12-28-2015 07:08 PM by Sleeprider.)
12-28-2015 07:03 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
Post Reply 


Forum Jump:

Who's Online (Complete List)