Sleepyhead Statistics
-
- Posts: 55
- Joined: Sun Mar 29, 2009 8:13 am
- Location: Nebraska
Sleepyhead Statistics
Why in sleepyhead the last 7 days AHI off. I look at daily add up the last 7 days and divide by 7 and the number is not the same. Is their a problem or how does sleepyhead calculate it. Brad
_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear |
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control |
Additional Comments: pressure 6-20 |
- ChicagoGranny
- Posts: 15130
- Joined: Sun Jan 29, 2012 1:43 pm
- Location: USA
Re: Sleepyhead Statistics
bradleyjoe wrote:Why in sleepyhead the last 7 days AHI off. I look at daily add up the last 7 days and divide by 7 and the number is not the same. Is their a problem or how does sleepyhead calculate it. Brad
Calculate the weighted average - multiply each AHI by the number of hours of usage for that night. Now take the sum of those numbers and divide by the total hours for the seven days.
That is the weighted average and should be equal to the SH number. Never tried it myself, but let us know if SH agrees with your calculation. It should.
Last edited by ChicagoGranny on Sun Nov 16, 2014 1:52 pm, edited 1 time in total.
"It's not the number of breaths we take, it's the number of moments that take our breath away."
Cuando cuentes cuentos, cuenta cuántas cuentos cuentas.
Cuando cuentes cuentos, cuenta cuántas cuentos cuentas.
Re: Sleepyhead Statistics
my brain hurts!ChicagoGranny wrote:bradleyjoe wrote:Why in sleepyhead the last 7 days AHI off. I look at daily add up the last 7 days and divide by 7 and the number is not the same. Is their a problem or how does sleepyhead calculate it. Brad
Calculate the weighted average - multiply each AHI by the number of hours of usage for that night. Now take the sum of those numbers and divide by the total hours for the seven days. Now divide that number by the total hours for the seven days.
That is the weighted average and should be equal to the SH number. Never tried it myself, but let us know if SH agrees with your calculation. It should.
Get OSCAR
Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.
Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.
- Nick Danger
- Posts: 621
- Joined: Mon Jun 09, 2014 3:13 pm
Re: Sleepyhead Statistics
I've found that Sleepyhead has a more accurate approach to calculating averages than ResScan.
_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier |
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear |
Additional Comments: APAP mode, minimum pressure = 9. No ramp, EPR = 3, medium. Soft cervical collar. Sleepyhead software. |
- ChicagoGranny
- Posts: 15130
- Joined: Sun Jan 29, 2012 1:43 pm
- Location: USA
Re: Sleepyhead Statistics
Well no wonder! I duplicated the last instruction. Corrected now.palerider wrote:my brain hurts!
Take two aspirin and call me when you are back PailRiding again.
"It's not the number of breaths we take, it's the number of moments that take our breath away."
Cuando cuentes cuentos, cuenta cuántas cuentos cuentas.
Cuando cuentes cuentos, cuenta cuántas cuentos cuentas.
- ChicagoGranny
- Posts: 15130
- Joined: Sun Jan 29, 2012 1:43 pm
- Location: USA
Re: Sleepyhead Statistics
Did you ever actually calculate some weighted averages and compare them to SH and ResScan?Nick Danger wrote:I've found that Sleepyhead has a more accurate approach to calculating averages than ResScan.
"It's not the number of breaths we take, it's the number of moments that take our breath away."
Cuando cuentes cuentos, cuenta cuántas cuentos cuentas.
Cuando cuentes cuentos, cuenta cuántas cuentos cuentas.
Re: Sleepyhead Statistics
mark tends to obsess about those kinds of things.Nick Danger wrote:I've found that Sleepyhead has a more accurate approach to calculating averages than ResScan.
Get OSCAR
Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.
Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.
- Nick Danger
- Posts: 621
- Joined: Mon Jun 09, 2014 3:13 pm
Re: Sleepyhead Statistics
Yes. ResScan tends to do a weighted average of the medians and the various percentiles. Mark actually loads the detailed data for all the nights and calculates them directly. You can't legitimately average medians or percentiles (even if you weight them correctly).ChicagoGranny wrote:Did you ever actually calculate some weighted averages and compare them to SH and ResScan?Nick Danger wrote:I've found that Sleepyhead has a more accurate approach to calculating averages than ResScan.
_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier |
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear |
Additional Comments: APAP mode, minimum pressure = 9. No ramp, EPR = 3, medium. Soft cervical collar. Sleepyhead software. |
Re: Sleepyhead Statistics
thank you granny, much better now. your concern warms my heart.ChicagoGranny wrote:Well no wonder! I duplicated the last instruction. Corrected now.palerider wrote:my brain hurts!
Take two aspirin and call me when you are back PailRiding again.
Get OSCAR
Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.
Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.
- ChicagoGranny
- Posts: 15130
- Joined: Sun Jan 29, 2012 1:43 pm
- Location: USA
Re: Sleepyhead Statistics
That's strange. It's harder and takes more lines of code to do it that way.Nick Danger wrote:ResScan tends to do a weighted average of the medians and the various percentiles.
"It's not the number of breaths we take, it's the number of moments that take our breath away."
Cuando cuentes cuentos, cuenta cuántas cuentos cuentas.
Cuando cuentes cuentos, cuenta cuántas cuentos cuentas.
- Nick Danger
- Posts: 621
- Joined: Mon Jun 09, 2014 3:13 pm
Re: Sleepyhead Statistics
Well, the advantage is that they can report averages without keeping the detailed data. The display on the machine for various time periods can't be done using detailed data - because they don't store that much. I'm guessing that they don't want their software to report different numbers than the machine itself.
_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier |
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear |
Additional Comments: APAP mode, minimum pressure = 9. No ramp, EPR = 3, medium. Soft cervical collar. Sleepyhead software. |