similar to: bivariate case in Local Polynomials regression

Displaying 20 results from an estimated 2000 matches similar to: "bivariate case in Local Polynomials regression"

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 =
2006 Mar 06
1
LocFit
I have a question regarding the package LOCFIT of C Loader. After fitting a smooth surface (y modeled by two regressors), I can't seem to find a nice way of making a perspective (or other 3d plot). The contours don't look quite so good. It is meant to be used as illustration of smoothing to my students in regression analysis. Could anybody perhaps assist me in producing a
2002 Dec 06
3
smooth curves
I would like to draw smooth curves instead of polygons. I could not find any spline function to do that : given an x and a y vectors, they all take the x in increasing order. Is there a function to draw a smooth curve through a set of points in any order ? with many thanks in advance Alain Guerreau CNRS Paris [[alternate HTML version deleted]]
2004 Oct 23
4
Plotting Bivariate Normal Data
Dear list I have a vector of values that allegedly have a bivariate normal distribution. I want to create a plot that shows the values I have obtained, and the bivariate normal distribution curve for the data. Is there a way of doing this in R? Many thanks for your help, Sarah. --------------------------------- [[alternative HTML version deleted]]
2004 Jul 21
2
nonparametetric bivariate regression
Hi there, Does R has built-in codes for nonpara. bivariate regression so that I can estimate the joint distribution of two variables as a function of some covariates? Thanks a lot. --------------------------------------------------- Ximing Wu Department of Economics University of Guelph Guelph, Ontario, Canada, N1G 2W1 Tel: (519) 842-4120, ext 53014 Fax: (519) 763-8497 email: xiwu at
2003 May 18
2
derivatives from loess (not locpoly)?
is there a way of estimating derivative curves, similar to the ones we get from 'locpoly', from 'loess' estimation. i am interested in estimation of 1st and 2nd derivatives... --------------------------------- [[alternate HTML version deleted]]
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
2006 Feb 23
2
locpoly
Dear R Users, When using locpoly function, number of output values is smaller than the number of input values. How is it possible to get number of output component $y equal to the number of inputs. Thanks a lot, Amir --------------------------------- [[alternative HTML version deleted]]
2008 Oct 10
2
bivariate non-parametric smoothing
Hi, I was wondering if there is a function in R which performs bivariate non parametric smoothing which allows for the possibility of including some weights in the smoothing (for each data points in my grid I have some predefined weights that I would like to include in the smoothing). Thanks, Ben _________________________________________________________________ [[alternative HTML
2008 Sep 23
1
bandwidth selection for locpoly
Hello All, Is there a local bandwidth selection routine for local polynomial regression (locpoly) ? Thanks Chinthaka Kuruwita
2011 Jan 26
0
Bivariate polynomials in R
Have you ever worked in R with bivariate polynomials? How did you implement simple operators like addition/multiplication? I found a package called multipol that seems to support these kinds of operators but I do keep receiving error. Check for example the following snippet of code (you can copy & paste) require('orthopolynom') require('polynom') require('multipol')
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)
2005 Jun 15
2
Plotting second axes outside xyplot
Hi all, I'm trying to find a way to get xyplot to produce a second set of axes outside the right hand side of the graph. This is my progress so far: EE <- equal.count(ethanol$E, number=9, overlap=1/4) xyplot(NOx ~ C | EE, data = ethanol, prepanel = function(x, y) prepanel.loess(x, y, span = 1), xlab = "Compression Ratio", ylab = "NOx (micrograms/J)",
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
2005 Mar 15
2
How to plot points as numbers/strings in lattice
Hello, I would be very grateful if anyone could help with what seems like a simple lattice task. I want to use xyplot, where the symbols for the plotted points are taken from another column in the data frame. So if the data frame looked like: a <- as.data.frame(matrix(data=c(1,1,10,2,2,20,3,3,30), nrow=3, ncol=3, byrow=TRUE)) a V1 V2 V3 1 1 1 10 2 2 2 20 3 3 3 30 you would get
2010 Jul 12
2
Xyplot or Tin-R problem?
I ran the following script from xyplot Examples using Tin-R on Windows and saw no plot produced. EE <- equal.count(ethanol$E, number=9, overlap=1/4) xyplot(NOx ~ C | EE, data=ethanol, prepanel = function(x,y) prepanel.loess(x, y, span=1), xlab="Compression Ratio", ylab="NOx (micrograms/J)", panel = function(x,y) { panel.grid()(h = -1, v=2)
2011 Nov 08
2
determine length of bivariate polynomial
Dear R-community, I have a fitted bivariate polynomial, i.e: fit = lm(cbind(x, y)~poly(t, 15)) and I would like to determine the length of the line in the interval t = [a, b]. Obviously, I could use predict and go through all the points, i.e. for (t in a:(b-1)) { length = length + sqrt((x.pred[t] - x.pred[t+1])^2 + (y.pred[t] - y.pred[t+1])^2) } but that would take very long given the amount
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
2008 Nov 19
1
Buggy trellis.focus() with xyplot ?
Hi: (Tried to find a bug report about this issue, but was unable to find it, let me know if this is a known issue) I have been working on an interface to highlight xyplot panels on mouse overs in JavaGD but I have stumbled with what seems to be a bug in trellis.focus. I am using R 2.8 with lattice 0.17-15 *** To replicate the bug: 1.- display an xyplot. For example, from the xyplot help page:
2000 Jun 20
1
density estimation in two dimensions
Hello, I am a newbie to R and the subject of density estimation in two dimensions or more. I would like to have some advice concerning a comparison between the R packages for density estimation in bivariate or higher order problems; I mean explicitly the packages: 1) ash 2) KernSmooth 3) locfit 4) sm. My specific problem now is having a set of numerical pairs (x_i, y_i), arising from a