Re: Averaging probabilities?



On Mar 19, 2:57 pm, rocketD <dar...@xxxxxxxxx> wrote:
Hi all.

<b>Background:</b> I'm working on a study looking at neonatal
hypoglycemia as a binary outcome, using infants who have neonatal
hypoglycemia (cases) matched for comparison with infants who don't
(controls). I've run a univariate model using conditional logistic
regression in Stata 9, and for each observation, have predicted the
conditional probability of developing neonatal hypoglycemia given
gestational age. The probability value output by Stata is called

P(Neonatal Hypoglycemia | Single outcome w/in group)

and I want to plot this against gestational age to show that there is
a steep negative slope up to a certain gestational age, after which
point it levels out. (Translation: risk of hypoglycemia decreases as
gestational age increases, to a point, then becomes stable.) I'd like
to do this cleanly, with one summary probability, like an average,
[that is, one y-value] for each gestational age (x-value), rather than
the 30 or so I have for each category now.

--- snip ---

Does this mean that you treated age as a continuous variable in your
model, but now you want to use age categories in the plot? If age was
treated as a continuous variable, why not treat it that way in your
plot too. I.e., make a scatter-plot with X = age (selected values),
and Y = the fitted probability (or log-odds) of the outcome? If your
model treated age as continuous (and did not contain age-squared or
any other higher order terms), then such a plot with Y = log-odds of
the outcome should give you a straight line. With Y = the fitted
probability of the outcome, it will be curvilinear, as you said.

--
Bruce Weaver
bweaver@xxxxxxxxxxxx
www.angelfire.com/wv/bwhomedir
"When all else fails, RTFM."
.



Relevant Pages

  • Re: Averaging probabilities?
    ... hypoglycemia matched for comparison with infants who don't ... conditional probability of developing neonatal hypoglycemia given ... gestational age. ... but now you want to use age categories in the plot? ...
    (sci.stat.math)
  • Re: Triplets
    ... It depends on the probability distribution of the time interval ... between the two births, and I have no idea what that is. ... your age changes when your birthday starts, ... is to treat a February 29 birthday as falling on February 28 in non-leap ...
    (alt.usage.english)
  • Re: Onset of Puberty Determined by Evolution
    ... > A girl who comes of age too thin will have a body without enough fatty ... > the hormone that triggers the hormone for having a period. ... success NOW beats zero probability of surviving to an age with a better ...
    (talk.origins)
  • Re: I used to use VB but...
    ... All it takes is one negative experiment in which some aspect of, say, Newton's Laws are violated and the edifice has to be reworked. ... If the probability that I will win tattslotto is very low, nothing is proved or disproved if I win or lose. ... I agree age is not going to be the deciding factor but it's certainly got to be a significant one. ... I'm not suggesting all old systems need a rewrite, just they are more likely to. ...
    (microsoft.public.vb.general.discussion)
  • Averaging probabilities?
    ... hypoglycemia matched for comparison with infants who don't ... The probability value output by Stata is called ... and I want to plot this against gestational age to show that there is ...
    (sci.stat.math)