tikistitch: (Default)
[personal profile] tikistitch
Sometimes peoples ax us, "Say, tiki, what's it like being a big shot Scientist 'n all? Betcha it's pretty neat. Hangin' out and confronting Big Questions of the Universe. Say, are you gonna eat that?"

To try to convey the thrill that is doing Big Science, here is an excerpt from a 100% guaranteed authentic email which we received from a colleague yesterday, detailing an arcane statistical problem that has arisen in the course of analyzing our results:

This is to address your question regarding the use of an offset. In order to explain the differences between using an offset and having exposure time as covariate, I prefer to write some models. Firstly, let Z_i be the outcome variable, and Y_i be log(Z_i), let X_i be covariate, K_i be exposure time and M_i = log(K_i). To make things easier, we first consider linear regression

Y_i = alpha + beta X_i + residual_i, --------------- (1)

where alpha is the intercept and beta is the slope for X. In model (1), we have not taken exposure time M_i into consideration. In order to take M_i into consideration, we may apply the following model

Y_i = alpha + beta X_i + gamma M_i + residual_i ----- (2)

What the offset model is to assume gamma = 1, that is

Y_i = alpha + beta X_i + M_i + residual_i ------------- (3)

So, your question was about the use of model (2) and (3).


Note that (3) can be expressed as

E(Y_i - M_i) = alpha + beta X_i, ----------------- (4)

where E denotes expectation. We rewrite (4) as

E(log(Z_i / K_i)) = alpha + beta X_i ---------- (5)

So, we now can understand that using an offset is to divide the untransformed outcome by the exposure time. Therefore, it seems to make sense to use it. This argument is generally true for linear regression, and perhaps for Poisson regression. However, I am not very sure yet, if the explanation is very thorough for logistic regression.


After dealing with like for 8 hours (including a flurry of emails, assorted phone calls, and faxes, we went home and shot bunnies with plunger guns.

Date: 2006-12-06 07:28 pm (UTC)
From: [identity profile] mmymoon.livejournal.com
Aww, c'mon, can't we still just be the tiniest bit envious of you for ethical and intellectual reasons? I file paperwork to keep felons from going back to jail. I miss using my brain sometimes...

Date: 2006-12-06 07:29 pm (UTC)
From: [identity profile] mmymoon.livejournal.com
Apparently LJ doesn't like me today -- first there were no comments, and then there were three! Wheeeeeee.

Date: 2006-12-06 07:40 pm (UTC)
From: [identity profile] tikistitch.livejournal.com
It doesn't like me either--keeps cutting off the ending bits of my posts. :-P

Date: 2006-12-06 09:16 pm (UTC)
From: [identity profile] nitasee.livejournal.com
Fire bad. Tree pretty.

Date: 2006-12-07 03:10 am (UTC)
From: [identity profile] dunneh.livejournal.com
*eyes glaze over* Ah, just like when I was in school!

>_> So are you going to eat that?

Date: 2006-12-07 06:08 pm (UTC)
From: [identity profile] tikistitch.livejournal.com
*pushes plate* Nah, you go ahead.

Date: 2006-12-07 05:25 am (UTC)
From: [identity profile] spazzygirl19.livejournal.com
AAUUGGHH!!! This is *precisely* why I went from being a Science major to being a Liberal Arts major!

Date: 2006-12-08 02:07 am (UTC)
From: [identity profile] avalonjones.livejournal.com
Wow, that makes my brain hurt. And if it makes MY feeble little brain hurt, I can only imagine what it does to YOURS! Since your brain is much mightier than mine.

Profile

tikistitch: (Default)
tikistitch

December 2020

S M T W T F S
  12345
6789 101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 26th, 2026 01:32 am
Powered by Dreamwidth Studios