What I am trying to do?
Let's think, there are some diabetic patients and I am interested to find whether acceleration (when they will run to do physical exercise) correlates with amount of spent calories. I am counting spent calories and acceleration of different axes (x, y, z) via a device.
Then, what does create the problem?
I am calculating the magnitude of acceleration by using the formula: square_root(x^2+y^2+z^2). Then, I will correlate acceleration with spent calories. However, I do not know whether the accelerometer calculates acceleration including or excluding gravity. Therefore, there may have error in measuring magnitude of acceleration.
After that, what do I think?
If I would want to know each participant's magnitude of acceleration, then I must had to know whether the accelerometer calculates acceleration including or excluding gravity. If it would include gravity, I had to exclude it to find magnitude of acceleration. However, as I want to just calculate the correlation coefficient (using Spearman, Pearson, Kendall's Tau etc.), therefore, it may not need to be concerned whether acceleration includes gravity or not.
But, what is the motivation behind the thought?
Let's think, the accelerometer calculates acceleration including gravity. Then, each time, it measures acceleration, that gravity (there can be negligible variation of gravity, each time it measures) will be included. That is why I think, this will not create a problem in measuring correlation coefficient as correlation does not change when the units of measurement change (I am assuming one type of unit when gravity is included and another type of unit when gravity is excluded).
At the end, my question?
Will it be problematic if I want to correlate acceleration (by calculating magnitude of acceleration) with spent calorie without considering whether gravity is included or excluded from acceleration?
Any kind of suggestion or help will be greatly appreciated!