R
Roedy Green
consider this interpolation problem:
You measure the cumulative hits on a web page since the beginning of
time each day and plot the daily hits.
Ideally you sample every day at noon, but some days you are early or
late.
If you sample hourly you discover there are patterns, a peak in the
morning and one in late afternoon. You also discover each day of the
week had its own profile, with flatter patterns on the weekends.
You might tackle this two ways:
1. try somehow to normalise a non-noon reading to noon, but massaging
it with the information continuously collected and revised about the
profile.
2. think of the problem as how to smooth the derivative of a plot of
the cumulative hits where x is accurate to the minute. You want an
interpolation that flattens much like a Staedler Mars snake does --
not polynomial interpolation that trying to get given points accurate
going nuts in between.
There is a similar problem smoothing weight measurements. There is
likely a pattern each day that could be used to normalise to the same
time each day.
The other wrinkle is salt intake which increases body weight
temporarily. There should be a way to normalise for that, by using a
body fat measure (which actually measures conductivity).
To ask the question more mathematically, If I know there is a
predictable periodic pattern, I would like to normalise that out of
each reading then flatten the remaining result with the degree of
flattening an adjustable parameter.
--
Roedy Green Canadian Mind Products
http://mindprod.com
"Learning is not compulsory... neither is survival."
~ Dr. W. (William) Edwards Deming (born: 1900-10-14 died: 1993-12-20 at age: 93))
You measure the cumulative hits on a web page since the beginning of
time each day and plot the daily hits.
Ideally you sample every day at noon, but some days you are early or
late.
If you sample hourly you discover there are patterns, a peak in the
morning and one in late afternoon. You also discover each day of the
week had its own profile, with flatter patterns on the weekends.
You might tackle this two ways:
1. try somehow to normalise a non-noon reading to noon, but massaging
it with the information continuously collected and revised about the
profile.
2. think of the problem as how to smooth the derivative of a plot of
the cumulative hits where x is accurate to the minute. You want an
interpolation that flattens much like a Staedler Mars snake does --
not polynomial interpolation that trying to get given points accurate
going nuts in between.
There is a similar problem smoothing weight measurements. There is
likely a pattern each day that could be used to normalise to the same
time each day.
The other wrinkle is salt intake which increases body weight
temporarily. There should be a way to normalise for that, by using a
body fat measure (which actually measures conductivity).
To ask the question more mathematically, If I know there is a
predictable periodic pattern, I would like to normalise that out of
each reading then flatten the remaining result with the degree of
flattening an adjustable parameter.
--
Roedy Green Canadian Mind Products
http://mindprod.com
"Learning is not compulsory... neither is survival."
~ Dr. W. (William) Edwards Deming (born: 1900-10-14 died: 1993-12-20 at age: 93))