Hi, Bert,

Thanks for the response. But then in this case, can I use loess to fit the
data? If yes, then how to interpret the results?

Cindy

On Mon, Jul 27, 2009 at 4:32 PM, Bert Gunter <gunter.ber...@gene.com> wrote:

>  -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On
> Behalf Of cindy Guo
> Sent: Monday, July 27, 2009 4:06 PM
> To: r-help@r-project.org
> Subject: [R] local regression using loess
>
> Hi, All,
>
> I have a dataset with binary response ( 0 and 1) and some numerical
> covariates. I know I can use logistic regression to fit the data. But I
> want
> to consider more locally. So I am wondering how can I fit the data with
> 'loess' function in R? And what will be the response: 0/1 or the
> probability
> in either group like in logistic regression?
>
> -- Neither. Loess is an algorithm that smoothly "interpolates" the data. It
> makes no claim of modeling the probability for a binary response variable.
>
> -- Bert Gunter
> Genentech Nonclinical Statistics
>
> Thank you,
> Cindy
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to