[R] nonparametetric bivariate regression
Liaw, Andy
andy_liaw at merck.com
Wed Jul 21 16:54:09 CEST 2004
Ximing: Hope you don't mind me cc'ing R-help.
> From: ximing wu
>
> I am looking for something that can fit
> f(x,y)=g(z_1, z_2, z_3,...).
>
> It seems that the packages you mentioned work for:
> z=f(x,y).
>
> Correct me if I am wrong. Thanks anyway for your help.
You're right. My mistake. I don't know of packages (or even methods) that
fits the joint distribution. However, if you're willing to settle for
regression, the polymars() function in the package `polspline' claims to do
this. mars() in the `mda' package will also accept matrix response, but I
don't know if it just treat the multiple responses as separate univariate
responses.
Cheers,
Andy
> At 06:22 AM 7/21/2004 -0400, you wrote:
> >There may very well be others, but these packages ought to
> get you started:
> >locfit, sm, and if I'm not mistaken, mgcv (which is shipped with R).
> >
> >Andy
> >
> > > From: ximing wu
> > >
> > > Hi there,
> > > Does R has built-in codes for nonpara. bivariate regression
> > > so that I can
> > > estimate the joint distribution of two variables as a
> > > function of some
> > > covariates? Thanks a lot.
> > >
> > >
> > > ---------------------------------------------------
> > > Ximing Wu
> > > Department of Economics
> > > University of Guelph
> > > Guelph, Ontario, Canada, N1G 2W1
> > >
> > > Tel: (519) 842-4120, ext 53014
> > > Fax: (519) 763-8497
> > > email: xiwu at uoguelph.ca
> > > Webpage: http://www.uoguelph.ca/~xiwu/
> > >
> > > ______________________________________________
> > > R-help at stat.math.ethz.ch mailing list
> > > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > > PLEASE do read the posting guide!
> > > http://www.R-project.org/posting-guide.html
> > >
> > >
> >
> >
> >-------------------------------------------------------------
> -----------------
> >Notice: This e-mail message, together with any attachments,
> contains
> >information of Merck & Co., Inc. (One Merck Drive,
> Whitehouse Station, New
> >Jersey, USA 08889), and/or its affiliates (which may be
> known outside the
> >United States as Merck Frosst, Merck Sharp & Dohme or MSD
> and in Japan, as
> >Banyu) that may be confidential, proprietary copyrighted
> and/or legally
> >privileged. It is intended solely for the use of the
> individual or entity
> >named on this message. If you are not the intended
> recipient, and have
> >received this message in error, please notify us immediately
> by reply
> >e-mail and then delete it from your system.
> >-------------------------------------------------------------
> -----------------
> >
>
> ---------------------------------------------------
> Ximing Wu
> Department of Economics
> University of Guelph
> Guelph, Ontario, Canada, N1G 2W1
>
> Tel: (519) 842-4120, ext 53014
> Fax: (519) 763-8497
> email: xiwu at uoguelph.ca
> Webpage: http://www.uoguelph.ca/~xiwu/
> ----------------------------------------------------
>
>
>
More information about the R-help
mailing list