Displaying 20 results from an estimated 4000 matches similar to: "locfit: max number of predictors?"
2004 Oct 26
1
Need help finding max from 3d locfit output
Hi I am running the following locfit function:
> fit <- locfit( log(base$Value) ~ base$lBrkOut + base$lExit , alpha=0.9)
> plot(fit,type="persp" )
The above two steps create a nice 3d plot. I would like to find the xy
coordinates where the maximum z occurs.
Does any one know of function to call that will display the xy coordinates
where max(z) occurs?
Thanks
Lawrence
2009 Dec 04
1
multidimensional point.in.polygon??
Hi,
I seek to identify those points in/outside a multidimensional convex hull
(geometry::convhulln). Any suggestions?
Background just in case I'm going down a really wrong road:
Given an observed data set with one dependent/observed variable (Y) and
multiple (3 to 10) independent/design variables (X1, X2, ...) I want to
increase the number of points by interpolating. I'm using
2010 Jan 26
1
update.packages on MS Windows with //server/share paths
Hi,
> update.packages(ask='graphics')
gives me multiple warning (one per updated package?) similar to ...
Warning: unable to move temporary installation
'\\Server02\stats\R\library\2.10\file3de56e0d\locfit' to
'\\Server02\stats\R\library\2.10\locfit'
The final, updated, folders do not end up where they should be. I can move
them 'by hand', but it is an
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.
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
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
2003 Mar 25
2
locfit troubles
Dear R experts,
We've been playing with the locfit package and are experiencing a
problem I am hoping for some help on.
We have a dataset of 13k points, one dimension of which is "judgment",
either 0 or 1, and the other "score", an arbitrary scalar (in this case
it's between .65 and .85). We use
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)