On 13 Feb 2003 at 15:03, Vadim Ogranovich wrote:

I beleave this can be done with the mgcv package.

library(mgcv)
?gam

Kjetil Halvorsen

> Dear R-Users,
> 
> I wonder what methods are available for modeling interaction of continuous
> variables. Specifically I am interested in fitting a regression
> 
> y ~ f(w) * x
> 
> where y, x are vectors and f(w) is a smooth function of a continuous
> parameter w (so it is f() that needs to be estimated). I can further assume
> that f(w) is positive but I can not take the logarithms as both y and x can
> be negative.
> 
> 
> Thanks, Vadim
> 
> -------------------------------------------------- 
> DISCLAIMER \ This e-mail, and any attachments thereto, is intend ... [[dropped]]
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to