|
--- Wensui Liu <liuwensui@gmail.com> wrote:
> dale,
> glad to see your insight. but how to you address the issue i brought
> up when constructing the log odds for each bin? what if p = 1 for
> log(p/(1-p))?
> thx.
>
Wensui,
If you have p=0 or p=1 in a bin, then you need to construct fewer
(and wider) bins such that you can compute the log-odds in every bin.
Alternatively, as presented in my previous post, add terms such
as polynomials or splines which account for nonlinearity. If
those terms are significant, then there is evidence of nonlinearity.
Dale
---------------------------------------
Dale McLerran
Fred Hutchinson Cancer Research Center
mailto: dmclerra@NO_SPAMfhcrc.org
Ph: (206) 667-2926
Fax: (206) 667-5977
---------------------------------------
|