So if the range of x is different in the two groups, report the ODDS or the PROBABILITY of the outcome as a function of x, using only the range of x where data is available in each group. That will give two curves covering each a different range.
If you want odds-ratios, you will need to decide on a reference point, for example somewhere in the intersection of x for the two groups.
Best regards
Bendix Carstensen
> --
> To post a new thread to MedStats, send email to
> MedS...@googlegroups.com .
> MedStats' home page is http://groups.google.com/group/MedStats .
> Rules: http://groups.google.com/group/MedStats/web/medstats-rules
>
I don't think that is how you should be looking at it.
Suppose we code Males=1, Females=0. Then, denoting logit(y) by L,
the equation fo Males is:
M: L = b0 + b1 + b2*x + b3*x
= (b0 + b1) + (b2 + b3)*x
and for females it is:
F: L = b0 + b2*x
so:
b1 is the difference (Int.M - Int.F) (intercepts) and
b3 is the difference (Slope.M - Slope.F)
The fact that you get a "signficant b3" means that the slopes
are different. You can compare Males & Females at any time you
like, but the comparison will vary according to the time at which
you choose to make the comparison, because of the difference in
slopes. This would be the case even if the ranges of Male & Female
data were identical.
If you were to make your "comparison time" depend on where the
two time-ranges overlap, then that would restrict the possible
comparisons (all different) which you could make.
Ray's reply (snipped) showed how to approach a confidence interval
for the difference in log(Odds) between M and F at any given time.
Given your data (whatever they are) this will be narrower on some
range of time and wider elsewhere, but it will still be a valid
inference whatever the time. Your Male prediction will be less
accurate for small values of x, your Female predication less
accurate for large values of x, in each case because it is made
outside the range of the data.
As Bendix pointed out in an earlier reply, you are in effect
estimating separate regressions for Males & Females because
you have used a full interaction model. With different slopes
(say b3 > 0 so Male accident rate increases with x faster than
Female accident rate), males will have increasingly greater
accident rates than females as x increases. Surely this needs
to be exhibited in your comparison.
Therefore you not only can, but should, show the comparison
for several time-points x, since this is the only way to show
how the comparison between them varies according to x. The
fact that the precision will be variable too is something you
will have to live with!
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.H...@manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 25-Jul-10 Time: 22:30:34
------------------------------ XFMail ------------------------------
MedStats' home page is http://groups.google.com/group/MedStats .
Rules: http://groups.google.com/group/MedStats/web/medstats-rules
> That is, if I never even once observed a female with a driving time
> beyond 25.2 hours, would it be acceptable for me to predict the odds
> (or probability) of an accident at 30, 40, or even 50 hours for
> females? This seems dangerous to me, but perhaps I'm being overly
> conservative.
No, you're not being overly conservative. Here's a joke that I quoted in
the January 2009 issue of my newsletter:
* http://www.pmean.com/news/2009-01.html#11
This story is found at the R.A. Fisher Hall (joke #24) of the Gary
Ramseyer's Internet Gallery of Statistics Jokes,
* http://my.ilstu.edu/~gcramsey/Fisher.html
and it shows the true meaning of the term "dangerous extrapolation." I
use this joke at the start of my class on regression analysis.
Two statisticians were traveling in an airplane from LA to New York.
About an hour into the flight, the pilot announced that they had lost an
engine, but don't worry, there are three left. However, instead of 5
hours it would take 7 hours to get to New York. A little later, he
announced that a second engine failed, and they still had two left, but
it would take 10 hours to get to New York. Somewhat later, the pilot
again came on the intercom and announced that a third engine had died.
Never fear, he announced, because the plane could fly on a single
engine. However, it would now take 18 hours to get to New York. At this
point, one statistician turned to the other and said, "Gee, I hope we
don't lose that last engine, or we'll be up here forever!"
Steve Simon, Standard Disclaimer
Sign up for The Monthly Mean, the newsletter that
dares to call itself "average" at www.pmean.com/news
"Data entry and data management issues with examples
in IBM SPSS," Tuesday, August 24, 11am-noon CDT.
Free webinar. Details at www.pmean.com/webinars
Well, if we're on jokes about that kind of statistician, here's one
from the 1960s (yes, there were bomb scares on aircraft even then).
A business man needed to make a flight from London to New York,
but was scared he might find himself on a plane with a bomb on it,
brought on board by some passenger. So he consulted a statistician
friend for advice on how to reduces the risk.
The statistician asked him: "What's the chance an aircraft will
have a bomb brought onto it?"
The businessman replied "I'm told it's about 1 in 500, but
that's still too high for me."
The statistician then said: "Ah, that's OK then. All you need
to do is take a bomb on board yourself, so long as you don't
detonate it. If it's 1 in 500 that there's one bomb on board,
then it's 1 in 250,000 that there would be two, so you'd be
really safe."
(Mind you, he may not have been "that kind of statistician" at
all, but rather the kind skilled at giving reassuring advice
in terms that would be believed by his client).
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.H...@manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 26-Jul-10 Time: 22:20:06
------------------------------ XFMail ------------------------------