there might be a common antecedent that both improves your mood and causes you to listen to music. As a silly example, maybe you love shopping for jeans, and clothing stores tend to play music, so your mood will, on average, be better on the days you hear music for this reason alone.
There might be a common antecedent that both worsens my mood and causes me to listen to music. As a silly example, maybe I hate shopping for jeans, but clothing stores tend to play music, which actually improves my mood enough to outweigh the shopping. That is, confounding could go both ways here; the effect could be greater than it appears, rather than less.
An intention-to-treat approach where you make the random booleans the explainatory variable would be better, as in less biased and suffer less from confounding.
I’ll reanalyse that way and post results, if I remember.
How was this accomplished, technically?
I made a script run in the background on my PC, something like
while true:
qt = random(0, INTERVAL)
while time() % INTERVAL < qt:
sleep(1)
announce_interruption()
mood = popup_input("mood (-1 to 1):")
earworm = popup_input("song in head (N/D/R/O):")
save_to_log(time(), mood, earworm)
sleep(INTERVAL - time() % INTERVAL)
The “constrained by convenience” part means that I recorded data when and only when I was at my PC. More reliable would be to run such a script on a device that’s with you most of the time, like a smartphone or smartwatch, but I’ve no such device.
That is, confounding could go both ways here; the effect could be greater than it appears, rather than less.
Absolutely, but if we assume the null hypothesis until proven otherwise, we will prefer to think of confounding as creating effect that is not there, rather than subduing an even stronger effect.
I’ll reanalyse that way and post results, if I remember.
Yes, please do! I suspect (60 % confident maybe?) the effect will still be at least a standard error, but it would be nice to know.
I made a script run in the background on my PC, something lik
Ah, bummer! I also have this problem solved for computer time, and I was hoping you had done something for smartphone carriage.
(Note, by the way, that a uniformly random delay is not as surprising as an exponentially distributed delay. Probably does not matter for your usecase, and you might already know all of that...)
There might be a common antecedent that both worsens my mood and causes me to listen to music. As a silly example, maybe I hate shopping for jeans, but clothing stores tend to play music, which actually improves my mood enough to outweigh the shopping. That is, confounding could go both ways here; the effect could be greater than it appears, rather than less.
I’ll reanalyse that way and post results, if I remember.
I made a script run in the background on my PC, something like
The “constrained by convenience” part means that I recorded data when and only when I was at my PC. More reliable would be to run such a script on a device that’s with you most of the time, like a smartphone or smartwatch, but I’ve no such device.
Absolutely, but if we assume the null hypothesis until proven otherwise, we will prefer to think of confounding as creating effect that is not there, rather than subduing an even stronger effect.
Yes, please do! I suspect (60 % confident maybe?) the effect will still be at least a standard error, but it would be nice to know.
Ah, bummer! I also have this problem solved for computer time, and I was hoping you had done something for smartphone carriage.
(Note, by the way, that a uniformly random delay is not as surprising as an exponentially distributed delay. Probably does not matter for your usecase, and you might already know all of that...)
I added intention-to-treat statistics in an addendum.