Re: [R] fitted values with locfit

2012-03-28 Thread Liaw, Andy
I believe you are expecting the software to do what it did not claim being able to do. predict.locfit() does not have a type argument, nor can that take on terms. When you specify two variables in the smooth, a bivariate smooth is done, so you get one bivariate smooth function, not the sum of

Re: [R] fitted values with locfit

2012-03-19 Thread Peter Ehlers
On 2012-03-19 02:12, Soberon Velez, Alexandra Pilar wrote: Dear memberships, I'm trying to estimate the following multivariate local regression model using the locfit package: BMI=m1(RCC)+m2(WCC) where (m1) and (m2) are unknown smooth functions. My problem is that once I get the