Displaying 20 results from an estimated 2000 matches similar to: "locfit troubles"
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 message:
'newdata' had 1 rows but variable(s) found have 24
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 the locfit package, which I believe
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 use locfit components in an additive model.
But I can?t. I guess
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
...
Thank you for your help and your time.
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 functionality and examples on my home page
http://cm.bell-labs.com/stat/project/locfit/ should
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 functionality and examples on my home page
http://cm.bell-labs.com/stat/project/locfit/ should
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
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)" I can obtain the x and y values by simply
calling
2000 Dec 06
0
Locfit
Dear,
I am doing some statistics analysis using R software. I am currently trying
to implement your library locfit. I am using Win NT and R1.1.1 version
obtained on the following Webmaster :
http://cm.bell-labs.com/cm/ms/departments/sia/project/locfit/index.html
When trying to run it, the following message appears:
**********
Error in .C("guessnv", nvm = integer(1), ncm =
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:
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)
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
2004 Jun 20
1
problem locfit
I have a problem with the use of locfit with censured data, when I carry out locfit by:
fitbmt<-locfit(~recur,data=BMTAGE11,cens=df.status,family="hazard",alpha=0.5)
it does not give me any message, but if I want to obtain the graph or even if I ask for (fitbmt) made it gives me the following message:
> fitbmt31
Problem: Object "fitbmt31" not found, while calling
2009 Mar 03
2
locfit smoothing question (package maintainer not reachable)
Dear list members,
I am trying to understand this output from the smoothing package locfit
(1.5-4, running on R 2.8.1 on Windows Vista 64 bit).
# sample code
x<-1:100
y<-rnorm(100)
fit<-locfit(y~x,family="gaussian") #default parameters are fine
plot(fit,band="global") #plot seems "reasonable", confidence bands use a
global estimate of variance
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':
2009 Sep 04
1
Problem with locfit( ... , family="hazard")
I'm having difficulties with plot.locfit.3d, at least I think that is
the problem. I have a large dataframe (about 4 MM cases) and was
hoping to see a non-parametric estimate of the hazard plotted against
two variables:
> fit <- locfit(~surv.yr+ ur_protein + ur_creatinine, data=TRdta,
cens = 1-death, family = "hazard", xlim=c(0,10))
# it took somewhere between 1 and 2
2010 Jan 25
1
locfit questions/problems
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), data=penny, alpha=c(0,10), deg=1, ev=midp)
2009 Jun 26
1
The Claw Density and LOCFIT
I am trying to reproduce Figure 10.5 of Loader's book: Local Regression and Likelihood. The code provided in the book does not seem to work.
I have managed (a while ago) to get the accompanied R-code for the figures in the book (file called lffigs.R) from somewhere - cannot find it on the web anymore. The code in the .R script file does not work either.
Could anybody please direct me in
2004 Aug 01
1
locfit
Hi, I have a Q on locfit,
E.g., I have an input data set of the form {(x, y, v)} , (x, y) is the
location in a 2D space, v is the value at that location.
I am wondering for the output of locfit(), if a given point (x, y) is in
the input data set, is the value at (x, y) going to be the exactly same
as the input? or it depends on the local fitting function?
does my Q make sense?
Thanks a lot in
2001 Jun 13
2
multivariate local regression with locfit
I've been trying to run locfit on data with 6 inputs and 1 output in R.
Whenever I make a prediction for the same exact data that the model was
built on though, I get significant discrepancies between the fitted outputs
of the prediction and the actual data. I have scaled the inputs, tweaked
the alpha parameter, and played around with a lot of the other variables as
well. Is their some kind