[R] LOCFIT

2012-07-13 Thread Ioanna Ioannou
Hello, I am using the locfit to fit a non parametric glm model to data with a gamma distributed response variable. In the parametric glm regression the diagnostics were based on the study of the standardized deviance or pearson residuals. How can I estimate the the standardized Pearson

[R] locfit weights not working as expected

2010-12-10 Thread Layla Parast
Hello! I am having a problem understanding what the weights option in the locfit command of the locfit package is doing. I have written a sample program which illustrates the issue (below). The example involves using bootstrap however, that is not my main goal but it illustrates where my problem

[R] locfit

2010-07-06 Thread Arnab Maity
Hi, Can you provide me an example in R to estimate the density using locfit package with the help of multi dimensional explanatory variables and one dimensional dependent variable? Thank you. Arnab Kumar Maity Research Assistant Indian School of Business Hyderabad, India DISCLAIMER:\ This

Re: [R] locfit

2010-07-06 Thread David Winsemius
On Jul 6, 2010, at 7:08 AM, Arnab Maity wrote: Hi, Can you provide me an example in R to estimate the density using locfit package with the help of multi dimensional explanatory variables and one dimensional dependent variable? When I came up with a solution I posted it:

Re: [R] locfit: max number of predictors = 6? How interpolate in 5-10D?

2010-02-26 Thread Keith Jewell
Of Keith Jewell Sent: Thursday, February 25, 2010 4:11 AM To: r-h...@stat.math.ethz.ch Subject: [R] locfit: max number of predictors? Hi All, In another thread Andy Liaw, who CRAN lists as locfit maintainer; said: quote From: Liaw, Andy andy_l...@merck.com To: Guy Green guygr...@netvigator.com

[R] locfit: max number of predictors?

2010-02-25 Thread Keith Jewell
Hi All, In another thread Andy Liaw, who CRAN lists as locfit maintainer; said: quote From: Liaw, Andy andy_l...@merck.com To: Guy Green guygr...@netvigator.com; r-help@r-project.org Subject: Re: Alternatives to linear regression with multiple variables Date: 22 February 2010 17:50 You can try

Re: [R] locfit questions/problems

2010-01-25 Thread Liaw, Andy
Just replacing preplot() with predict() should be fine. BTW, it's always a good idea to specify the version of the package you're using as well. Best, Andy From: mh...@berkeley.edu Hi, I'm trying to work through the examples and code in Loader's LOCAL REGRESSION AND LIKELIHOOD, and have

[R] locfit questions/problems

2010-01-24 Thread mhall
Hi, I'm trying to work through the examples and code in Loader's LOCAL REGRESSION AND LIKELIHOOD, and have run into a problem with the code for one sided smoothing and change point analysis (p. 110-112). The code, after loading locfit: midp-(1945:1988)+0.5 fitl-locfit(thickness~left(year),

Re: [R] locfit smoothing question (package maintainer not reachable)

2009-03-04 Thread Suresh Krishna
On Tue, 03 Mar 2009 22:10:42 +0100, David Winsemius dwinsem...@comcast.net wrote: That is what I thought to be the critical paragraph. The variance is assumed to be = 1 when you use family=gaussian rather than the default of family=qgauss. You give it a vector, 1000*rnorm(100), that ranges

Re: [R] locfit smoothing question (package maintainer not reachable)

2009-03-03 Thread Suresh Krishna
Dear all, I just realized that using family=qgauss restores normal-looking confidence bands... I read that using family=gaussian rather than family=qgauss fixes the dispersion parameter at 1, but without knowing the theory behind the code, I dont understand why there is such a

Re: [R] locfit smoothing question (package maintainer not reachable)

2009-03-03 Thread David Winsemius
I think you should read (or re-read) the locfit help page and *also* the links from that page to the help pages for locfit.raw and rv. I would have thought that since family= is not an argument to locfit per se, but rather is documented in locfit.raw that you have yet done so, but perhaps

Re: [R] locfit smoothing question (package maintainer not reachable)

2009-03-03 Thread Liaw, Andy
From: Suresh Krishna [...] ps. The package maintainer, Catherine Loader, is no longer reachable at her Auckland address. For the record, I'm the package maintainer for locfit, and I have not exactly vanished (yet). Please see the package description. That said, it doesn't mean I know all

Re: [R] locfit smoothing question (package maintainer not reachable)

2009-03-03 Thread Suresh Krishna
David Winsemis wrote: I think you should read (or re-read) the locfit help page and *also* the links from that page to the help pages for locfit.raw and rv. I would have thought that since family= is not an argument to locfit per se, but rather is documented in locfit.raw that you have

Re: [R] locfit smoothing question (package maintainer not reachable)

2009-03-03 Thread David Winsemius
That is what I thought to be the critical paragraph. The variance is assumed to be = 1 when you use family=gaussian rather than the default of family=qgauss. You give it a vector, 1000*rnorm(100), that ranges widely and a small (relative) variance is assumed and so the confidence intervals

[R] locfit and latest R version

2008-10-31 Thread Stuart Barker (Prof)
I have been using some old R scripts that were prepared for me using R Version 1.9.0. In these, there is a call to library(locfit) and with this version of R, I have no problem. But needing to upgrade to the latest version of R, I find these scripts no longer work, and with help(locfit) I

Re: [R] locfit and latest R version

2008-10-31 Thread David Winsemius
My guess is that you have not configured you new installation to see (and update) your collection of packages. As a quick fix, what happens when you go to your favorite CRAN mirror and install a new copy of locfit? My version is 1.5-4 and runs with recent versions of R. -- David Winsemius,

[R] Locfit kernel regression: automatic bandwidth selection

2007-11-28 Thread Partho Sarkar
Hello all! I have recently started using the LOCFIT package, together with Clive Loader's book. I need to implement some method for automatic (plug-in) bandwidth selection in a multivariate kernel regression. From the book, and the LOCFIT documentation, it is not clear whether this is