search for: locfit

Displaying 20 results from an estimated 162 matches for "locfit".

2005 Oct 05
1
how do I write Rd file for this?
Dear R-devel, I'm working on Prof. Loader's new version of locfit to try to get it pass R CMD check. I'm almost there, but I have a problem with some Rd files that I hope some one can help me resolve. Here's an example: In the package there's a function called locfit.censor(). This function can be used in a few different ways: locfit.censor(x, y,...
2010 Feb 25
1
locfit: max number of predictors?
Hi All, In another thread Andy Liaw, who CRAN lists as locfit maintainer; said: <quote> From: "Liaw, Andy" <andy_liaw at merck.com> To: "Guy Green" <guygreen at netvigator.com>; <r-help at r-project.org> Subject: Re: Alternatives to linear regression with multiple variables Date: 22 February 2010 17:50 You can try...
2002 Mar 29
2
How to get the datapoints of an density estimation with locfit?
Hello!!! I'm just a beginner of R. I work with locfit to get the density from an numeric vector. It looks good when I plot the graph, but I need the output data of locfit. For example I need somthing like that (only integer values for the input): numeric vector (input of locfit) density (output of locfit) 1 0.05.... 2 0.04.. 3 0.01 ... Th...
1998 Jun 03
0
R-beta: locfit package.
I was wondering if someone could help me with a problem getting locfit running. I am running Digital Unix 3.2D on an alphastation, with R 0.61.1 I downloaded the CRAN distribution of locfit. I had no problems installing it with R INSTALL (I installed it into my library rather than the default base library; the output is attached at the end of this email message). I t...
2005 Nov 09
2
problem with Running Locfit
Dear R users, i am using locfit package developed by loader in R software, my problem is that as i am doing independont forecast using locfit object , i am able to do independont forecast for more than one years simultaniously. But when i am doing one year forecast(single) this code is giving following error... "Warning mess...
2006 Oct 18
2
Adding locfit confidence intervals in trelis xyplot
Dear all, I am trying to include confidence intervals in a xyplot. This is what I am doing: xyplot(x ~ y|z, alpha = 1,band = "global",panel = panel.locfit) (more specifically, in my case x is a binary response from a logistic regression model) The output plot was fine but it did not include the confidence intervals Anyone knows how to do it? (xYplot did not work either) many thanks - juan -- Juan F. Poyatos Structural and Computational Biology P...
2012 Apr 19
5
User defined panel functions in lattice
Hi I have a problem with passing line and symbol parameters to user defined panel functions I had a look at the archives and created a panel function on what was shown and on panel.loess. I could not to get panel.locfit to work for what I intend it for. There is another layer to work with before success as lp() is called from locfit. xx <- structure(list(Farm = c("A", "A", "A", "A", "A", "A", "A", "A", "A", "A"...
2005 Oct 05
0
bug found in predict.locfit in locfit package ( PR#8057)
...nce you supplied newdata as data.frame(x1new, x2new), predict() cannot find x1 and x2 there, so it ends up using the copy you have in the global environment. You need to use newdata=data.frame(x1=x1new, x2=x2new). FYI, thanks to help from Uwe and Brian, I now have Prof. Loader's new version of locfit passing R CMD check (using R-2.2.0 beta). It will be uploaded to CRAN when Prof. Loader is OK with what I have. Andy > From: apipatta at colorado.edu > > Full_Name: Somkiat Apipattanavis > Version: 2.1.1 > OS: Windows > Submission from: (NULL) (128.138.44.123) > > &g...
2004 Apr 05
1
GAM with Locfit components
Hi, I?m trying to combine the Locfit Package with the Mgcv package (to use Generalized Additive Models with Locfit components). I read the book written by Clive Loader where it?s said that, for the S language, you just have to "load" the locfit package using the command : Library(locfit, first="T") in order to us...
2005 Aug 08
1
bug found in predict.locfit in locfit package (PR#8057)
Full_Name: Somkiat Apipattanavis Version: 2.1.1 OS: Windows Submission from: (NULL) (128.138.44.123) Bug found in predict.locfit for density estimation # Example of bug found in prdict.locfit (Locfit) library('locfit') # generate data y =c(4281,2497,4346,5588,5593,3474,4291,2542,5195,4056, 3114,2864,4904,7625,3377,4001,4999,7191,8062,5668) x1=c( 0.258729, 1.460156, 0.192323, 0.067062,-0.304291, -0.420917,...
2012 Apr 19
1
Fwd: User defined panel functions in lattice
...u for your suggestions. I do not know what happened yesterday I must have omitted a few changes out in going from R to email and apologies for the double posting - I had troubles sending it as my ISP gave a message of not being connected for email but was for the web I was trying to get panel.Locfit to work in a number of situations. 1. Conditioned by Farm (3 panels) with 2 sets of lines and points OK 2. Conditioned by Farm (1panel) with 3 sets of lines and points OK 3. What I want to be able to add in the above is extra lines with different values of nn. I think I will have to modify pa...
2012 Mar 19
2
fitted values with locfit
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 regression done I cannot get the fitted values of each of this smooth functions (m1) and (m2). What I write is the following library(locfit) data(ais) fit2<-locfit.raw(x=l...
2004 Nov 03
1
Kernel Density estimation - locfit package
Hello there, I am presently using the locfit package in "R" and would appreciate some help here. Could anyone tell me tell me how I can obtain the various components (x and y values)of the density estimation after using the "R" command "locfit"? For example, with the command "fhat<-density(somename)"...
2002 Mar 31
1
How to get the datapoints of an density estimationwithlocfit?
Hello!! At first thank you all for your suggestions and your help. But I would like to get another group of datas from the density estimation. I don't know if these information are provided by locfit or I should use an other function like plot(). Description: Each number between 1 and 100 (only integer) for example should have only one density value. But I also would like to have the density values of points, where I have no input datas. This is the information I would like to have. I tried it...
1998 Mar 17
0
R-beta: locfit -> CRAN
The locfit library is now available through CRAN, in the Contributed R Code directory. Locfit fits local regression, likelihood and density estimation models, in the spirit of loess but with many additional features. To install, unpack the locfit_19980309.tar.gz file, and R INSTALL locfit Most of the functio...
1998 Mar 17
0
R-beta: locfit -> CRAN
The locfit library is now available through CRAN, in the Contributed R Code directory. Locfit fits local regression, likelihood and density estimation models, in the spirit of loess but with many additional features. To install, unpack the locfit_19980309.tar.gz file, and R INSTALL locfit Most of the functio...
2009 Dec 08
1
coefficients of each local polynomial from locfit
Hi list, This was asked a couple of years ago but I can't find a resolution. Is there any way to get the coefficients from one of the local polynomial fits in locfit. I realize that locfit only constructs polynomials at a handful of intelligently selected points and uses interpolation to predict any other points. I would like to know the terms of the polynomials at these points. It seems likely that they are stored in [locfit object]$eva$coef but I'm havi...
2000 Aug 31
2
Problem with R INSTALL locfit on DEC alphaev56-dec-osf4.0d
Dear all, usually I work under linux, but I tried to install R-1.1.1 on our alpha's which worked well. However, installation of the locfit package produced the following warning: ---------%<---------------- Installing package `locfit' ... libs /vol/bin/gcc -I/vol/math/R/include -I/usr/local/include -mieee -g -O2 -c S_e nter.c -o S_enter.o S_enter.c: In function `basis': S_enter.c:39: warning: passing arg 3 of `call_R&...
2000 Sep 05
2
still problem with installation of locfit on DEC alphaev56-dec-osf4.0d
Dear all, after building the R-1.1.1 from source on our alpha everything seems to work, but locfit still hangs... I installed locfit with install.packages(...), the installation process went fine, but calling locfit() blocks the R environment. Has anybody got an idea howto get to the roots of this problem? Thanks M. Eger -- +------------------------------------------------------- | Marcus...
2005 Apr 14
1
LOCFIT: What's it doing?
Dear R-users, One of the main reasons I moved from GAUSS to R (as an econometrician) was because of the existence of the library LOCFIT for local polynomial regression. While doing some checking between my former `GAUSS code' and my new `R code', I came to realize LOCFIT is not quite doing what I want. I wrote the following example script: #-----------------------------------------------------------------------------------...