Showing posts with label Process. Show all posts
Showing posts with label Process. Show all posts

Wednesday, February 22, 2012

The Button Box

I've begun the collection of a variety of factors that chronicle my response time, how I feel, nutritional factors, exercise, stress at home and work, medications I take, APAP settings, sleep environment, blood pressure, Zeo sleep scores, etc.  To do this, I have created a "button box" that I can click an appropriate button and record these things.  It's not a real flexible application suitable for others, but it does the job OK for me.  I think I have most of the factors I would like to capture and I may add more as I go forward.  The most important is how I feel and so I have buttons for overall goodness (1-10), groggy, achy, headache, puffiness, arrhythmias.


When I click a button, depending on the nature of what I'm recording, different things happen.  For response time, I am asked when I woke up and how long it takes to set a time control is logged.  Then a "whack-a-mole" type of little game appears where I have to click on a image which then randomly moves to another position on the screen.  It moves 10 times.  The average time between the image appearing and when it gets clicked is recorded.  This actually seems to capture my hand-eye coordination skills fairly well. For exercise, it asks for the start time, duration and the average heart rate (a proxy for exertion).  For single dose things, like taking an Excedrin (aspirin / acetaminophen), it just records a "1" in the Excedrin variable.  Some factors ask for a judgment on a scale of 1-10.  All entries are time stamped so I can later compute their timing, inter-relationships through time, etc. If I look at them as being before a sleep they potentially could then be a causal factor, or perhaps look at them as coming after sleep, making them a potential a consequence of good or poor sleep.

What am I going to do with this data?  A lot!  That will be the fuel for a lot of future topics.

Greatest challenge: The discipline to use it.  When I do something, I need to click

Saturday, January 21, 2012

I'm A Data Detective

I'm a data detective.  In most of my professional work customers pay me very well (gobs) to come into a situation about which I'm generally and often utterly unfamiliar.  Whether that is about making toilet paper better or estimating production of an oil and gas platform in the North Sea, or the future relative value of thousands of financial securities or the diagnosis of cardiac problems, the list is endless over 20 years. Each situation is quite different and sleep apnea is too, but there is some commonality in the approach.  So, what is my process?  Well, the first thing is to do some thinking...

  1. What are you after?  What are your goals?  Can you measure it numerically?  No?  Find a way. There may be many of them.  Rank them by importance.  Go after the important one first.
  2. What factors, in general terms, are likely to influence your goals?  Which ones are "controllable"?  That is, which factors can you change, which ones can you not?  If you have no controllable factors, you are in a bit of trouble, as you are operating just at the whim of your environment.  That would not be good.
  3. What data do you have about those factors?  Where is it?  Can we get it?
  4. Look at the data, visually by eye, in relation to your goals and each other and how they appear to interact and how "noisy" the data is, how does it move in relation to your goals and each other?  This is more art that I'm trying to make "science" (automated).
  5. Do some preliminary data modeling (that's mathematical) using our software to try to estimate the quantified goals.  Our software is extremely good at sniffing out relations between things even in very noisy data.  Look at which and how the driving factors influence the goals (sensitivity analysis and 3D response curves and surfaces).  Hopefully some of your controllable factors have a significant influence on the results you want, else you are "driving a car with a loose steering wheel".  You make changes but little or nothing changes much.  In that case, again, you are operating somewhat at the whim of your environment.
  6. Of those factors that are in your control and the preliminary modeling indicate has some influence on your goals, do what is considered a "designed experiment", that is, change those factors as much as possible, up and down, keeping within reasonable limits.  This data is golden, as it will give you a clearer picture just how much you can control your goals.  If you jig-jag them around a lot and not much happens... oopsie. Loose steering wheel again.
  7. Remodel the data using the newly generated data. Estimate the current or future values of the goals' values using the models.  Do these estimates usefully approximate the values of the goals?  "Usefully" is important.  You may not be real accurate, but if the result is useful, has value, to the final user, that is goodness.  You might put these models on-line, if data is in real-time and estimate things and maybe alert you to problems.  Or it might be possible before sleeping, given what you have done during the day, to inform you what your sleep quality might be.  Are these estimates useful?  Do they seem to be right?
  8. Lastly, optimize.  Using the models, manipulate (synthetically... the data) the controllable factors to seek the set of values that maximize your good goals and minimize the bad ones.  This is a complex multiple variable optimization of multiple objectives, perhaps within constraints.  Try what it tells you to do.
This process is general, it is adapted to the situation, but it is about what I do to help people and companies (and in this case myself) achieve higher performance. It is somewhat in order of progression, but jumping around is most often done.  For example, if you think you have factors that influence your goals, but later find out you were wrong, you go back and look around.  Or maybe you stated your goals not quite right, that you learned something that changed your mind how you view your goals and quantify them.

We'll see how it goes.