The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Statistics question. by Esteis 2007-05-06 16:32:01
A friend of mine wants to see whether morning mood (scale of
1-10) predicts evening mood (also 1-10). She has 18 participants,
who each participated for a week, providing morning and evening
mood every day --- that's 18*7 = 126 morning-evening pairs.

Now, she wants to know something very general: whether a higher
morning mood is correlated to a higher evening mood. However, she
can't just do a regression and take the R^2, as the 'independence
of observations' assumption is violated: measurements are clustered
within individual participants.

My advice to her: add a 'participant' term to the linear regression.
(Well, a set of terms. It's a categorical variable, after all, so "helloooo
dummies!") So you have

moodPM = a + b1 * moodAM + [ b2-19 * participant2-19 ]

(Just imagine the bit between brackets is a load of dummies.) I think
that ought to catch the between-participant variance. Then, a large
R^2 and a b1 significantly larger than zero indicates a positive correlation
between morning and evening mood. My question: does this hold water?
[ Reply ]
  if you run a regression on that by subbywan2007-05-06 17:01:50
    No, I don't mean whether her theory holds water. by Esteis2007-05-06 17:06:41
      No, i don't think it'll work then by subbywan2007-05-06 17:13:17
        Oh, there's nothing wrong with making a subject by Esteis2007-05-06 17:38:16
          ehhh ... you know something about dummie vars by subbywan2007-05-06 17:44:16

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)