Post Reply 
Any Statistics/Maths Nerds out there? (SleepyHead)
Author Message
diamaunt Offline

Members-b

Posts: 436
Joined: May 2012

Machine: S9 VPAP Auto 36006
Mask Type: Full face mask
Mask Make & Model: mirage quattro/pilairo q
Humidifier: none
CPAP Pressure: 9-20ish
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: texas

Post: #11
RE: Any Statistics/Maths Nerds out there?
(06-30-2014 03:04 PM)Sleepster Wrote:  Solution
During the 1st session 95% of the time the readings were below 8. 95% of 3 hours is 2.85 hours.

During the 2nd session 95% of the time the readings were below 5. 95% of 4 hours is 3.8 hours.

During the 3rd session 95% of the time the readings were below 9. 95% of 2 hours is 1.9 hours.

So for 2.85 hours the readings were below 8.
For 3.8 hours the readings were below 5.
For 1.9 hours the readings were below 9.

2.85 + 3.8 + 1.9 = 8.55 hours, which is of course simply 95% of the total time of 9 hours.

lest you get swatted with a ruler again, you might wanna read this:

http://adventures-in-hosehead-land.blogs...de-to.html Smile
06-30-2014 06:16 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
archangle Online
Wiki Editor
Advisory Members

Posts: 3,163
Joined: Feb 2012

Machine: ResMed S9 AutoSet
Mask Type: Nasal pillows
Mask Make & Model: ResMed Swift FX
Humidifier: ResMed S9 H5i
CPAP Pressure: 16-20
CPAP Software: ResScan SleepyHead EncoreBasic

Other Comments: Happy PAPper

Sex: Undisclosed
Location: USA

Post: #12
RE: Any Statistics/Maths Nerds out there?
This is one of those questions where you don't have enough data to get the true answer. I think we also need to think about what we use the number for.

What do we think 95th percentile means in terms of treating the patient? To me, it's sort of the highest pressure you had, while trying to throw out short term anomalous high readings.

What if you just assume the actual pressure was equal to the 95% pressure for each time period you have a 95th percentile for? Then calculate a 95th percentile for that data. At first glance, that sort of equates to the idea of "maximum with glitches in the data thrown out."

Get the free SleepyHead software here.
Useful links.
Click here for information on the main alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check it yourself.
06-30-2014 07:17 PM
Find all posts by this user Post Reply Quote this message in a reply
Sleepster Offline
Wiki Editor
Moderators

Posts: 4,995
Joined: Feb 2012

Machine: ResMed AirCurve10 VAuto
Mask Type: Full face mask
Mask Make & Model: F&P Simplus
Humidifier: HumidAir and SlimLine Hose
CPAP Pressure: MaxI 13.6 | MinE 5.2 | PS 4.4
CPAP Software: ResScan SleepyHead

Other Comments: Diagnosed Nov 2011. Conquered aerophagia.

Sex: Male
Location: Houston, Texas

Post: #13
RE: Any Statistics/Maths Nerds out there?
(06-30-2014 07:17 PM)archangle Wrote:  What if you just assume the actual pressure was equal to the 95% pressure for each time period you have a 95th percentile for? Then calculate a 95th percentile for that data.

I believe that's what the weighted average does. See Post #2.

Sleepster
Apnea Board Moderator
www.ApneaBoard.com


INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
06-30-2014 07:20 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
archangle Online
Wiki Editor
Advisory Members

Posts: 3,163
Joined: Feb 2012

Machine: ResMed S9 AutoSet
Mask Type: Nasal pillows
Mask Make & Model: ResMed Swift FX
Humidifier: ResMed S9 H5i
CPAP Pressure: 16-20
CPAP Software: ResScan SleepyHead EncoreBasic

Other Comments: Happy PAPper

Sex: Undisclosed
Location: USA

Post: #14
RE: Any Statistics/Maths Nerds out there?
(06-30-2014 07:20 PM)Sleepster Wrote:  
(06-30-2014 07:17 PM)archangle Wrote:  What if you just assume the actual pressure was equal to the 95% pressure for each time period you have a 95th percentile for? Then calculate a 95th percentile for that data.

I believe that's what the weighted average does. See Post #2.

No. For instance, a 4 hour session with a 95 percentile of 10, and a 4 hour session of 4 would yield 10 with this method, 7 with a weighted average.

Which one is more appropriate is the question. What are we trying to indicate with a 95th percentile?

Get the free SleepyHead software here.
Useful links.
Click here for information on the main alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check it yourself.
06-30-2014 11:54 PM
Find all posts by this user Post Reply Quote this message in a reply
jedimark Offline

Moderator - SleepyHead

Posts: 263
Joined: Mar 2012

Machine: ResMed AirSense 10
Mask Type: Nasal pillows
Mask Make & Model: Swift FX
Humidifier: H5i & Climateline
CPAP Pressure: 7-16
CPAP Software: SleepyHead

Other Comments: Author of SleepyHead, sleepyhead*AT*jedimark.net

Sex: Male
Location: Bundaberg, Australia

Post: #15
RE: Any Statistics/Maths Nerds out there? (SleepyHead)
Thanks for breaking that down to a simple example robysue. that highlighted the difference extremely well Smile

I think the most "technically correct" answer (which was suggested over the other place) is to give a N.A. because it's not really possible to calculate. I need a lot more samples than just the 0, 50th and 95th percentiles, and max to pull a result from fitting a curve, even if I'm half kludging with a weighted average.

But it comes down to what users want to see there.

Maybe I can put a preference for the technically offended (like me) to barf abort the calculation when the data set is incomplete, or display a weighted average hack for those who don't care.

I do think it would be a bit annoying getting NA's everywhere if the card was left out for a night in the last week though :-/

I'm going to ask a sleep research Doc for advice on this topic..
07-01-2014 01:39 AM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  ResScan Data not showing Statistics SteveC 1 205 08-26-2016 12:49 PM
Last Post: justMongo
  ResScan Data not showing Statistics gbouten 3 302 07-12-2016 10:54 AM
Last Post: gbouten
  SleepyHead Statistics page not showing all data. Rcgop 10 583 07-09-2016 05:17 PM
Last Post: OpalRose
  Sleepyhead CPAP statistics rtbrd 0 303 04-10-2016 09:46 AM
Last Post: rtbrd
  I think there's a problem with IPAP statistics in ResScan Asjb 2 393 03-24-2016 08:17 AM
Last Post: Asjb
  No leak statistics with Sleepyhead jegerd 20 3,744 07-12-2014 11:39 AM
Last Post: diamaunt

Forum Jump:

Who's Online (Complete List)