RE: [R] nonparametetric bivariate regression

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Thu 22 Jul 2004 - 00:54:09 EST


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@uoguelph.ca
> > > Webpage: http://www.uoguelph.ca/~xiwu/
> > >
> > > ______________________________________________
> > > R-help@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@uoguelph.ca
> Webpage: http://www.uoguelph.ca/~xiwu/
> ----------------------------------------------------
>
>
>



R-help@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 Received on Thu Jul 22 01:03:13 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:09 EST