Displaying 20 results from an estimated 10000 matches similar to: "Plese share the other example data using b-spline regression"
2008 Dec 16
1
Application b-spline basis for polynomial splines
Hai everbody,  Is there anyone have simple application b-spline in r language? I need it for make me understanding about b-spline for polynomial spline.
thank u 
Arif  
      New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
	[[alternative HTML version deleted]]
2012 Mar 12
1
Fwd: Re[2]: B-spline/smooth.basis derivative matrices
--- On Mon, 3/12/12, aleksandr shfets <a_shfets at mail.ru> wrote:
> From: aleksandr shfets <a_shfets at mail.ru>
> Subject: Fwd: Re[2]: [R] B-spline/smooth.basis derivative matrices
> To: "Vassily Shvets" <shv736 at yahoo.com>
> Received: Monday, March 12, 2012, 5:15 PM
> 
> 
> 
> -------- ???????????? ?????????
> --------
> ?? ????:
2003 Apr 07
3
spline with multiple predictor vars?
Hi, is there a way in R to generate a polynomial spline with multiple predictor
variables? I have one response and two predictors and I'm trying to fit a
spline model for this...
Please cc me on the reply..
Thanks,
nirmal
2006 Jul 31
1
questions regarding spline functions
Greetings,
A couple general questions regarding the use of splines to interpolate depth 
profile data.
Here is an example of a set of depths, with associated attributes for a given 
soil profile, along  with a function for calculating midpoints from a set of 
soil horizon boundaries:
#calculate midpoints:
mid <- function(x) {
for( i in 1:length(x)) {
 if( i > 1) {
   a[i] = (x[i] -
2008 Jul 17
1
smooth.spline
I like what smooth.spline does but I am unclear on the output. I can see from the documentation that there are fit.coef but I am unclear what those coeficients are applied to.With spline I understand the "noraml" coefficients applied to a cubic polynomial. But these coefficients I am not sure how to interpret. If I had a description of the algorithm maybe I could figure it out but as it
2010 Mar 05
0
Assistance with pointers to code for B-spline derivatives (S-plus related).
Hi.
I have been using the splines package for my work, in particular, the bs() function and associated predict() method. I now find myself in need of the derivatives of this beast.
In the man page for predict.bSpline I found `predict(object, x, nseg=50, deriv=0, ...)' but alas this is not implemented (deriv= is ignored). I contacted the package maintainers who were most helpful. Bill
2012 Feb 24
1
B-spline/smooth.basis derivative matrices
Hello,
I've noticed that SPLUS seems to have a function for evaluating derivative matrices of splines. I've found the R function that evaluates matrices from 'smooth.spline'; maybe someone has written something to do the same with smooth.basis?
regards,
s
2009 Mar 28
1
Find inflection points using smooth.spline
Is there any way to identify or infer the inflection points in a smooth
spline object?  I am doing a comparison of various methods of time-series
analysis (polynomial regression, spline smoothing, recursive partitioning)
and I am specifically interested in obtaining the julian dates associated
with the inflection points inferred by the various models.
Tyler
e.g. 
2010 Jun 11
1
Documentation of B-spline function
Goodmorning, 
 
This is a documentation related question about the B-spline function in R. 
In the help file it is stated that: 
 
"df  degrees of freedom; one can specify df rather than knots; bs() then chooses df-degree-1 knots at suitable quantiles of x (which will ignore missing values)."
 
So if one were to specify a spline with 6 degrees of freedom (and no intercept) then a basis
2011 Sep 20
2
Multivariate spline regression and predicted values
Hello,
I am trying to estimate a multivariate regression of Y on X with
regression splines. Y is (nx1), and X is (nxd), with d>1. I assume the
data is generated by some unknown regression function f(X), as in Y =
f(X) + u, where u is some well-behaved regression error. I want to
estimate f(X) via regression splines (tensor product splines). Then, I
want to get the predicted values for some new
2009 Sep 24
1
basic cubic spline smoothing
Hello,
I come from a non statistics background, but R is available to me, 
and I needed to test an implementation of smoothing spline that I have
written in c++, so I would like to match the results with R (for my unit
tests)
I am following
http://www.nabble.com/file/p25569553/SPLINES.PDF SPLINES.PDF 
where we have a list of points (xi, yi), the yi points are random such that:
y_i = f(x_i) +
2009 Sep 24
0
basic cubic spline smoothing (resending because not sure about pending)
Hello, I come from a non statistics background, but R is available to me, 
and I needed to test an implementation of smoothing spline that I have 
written in c++, so I would like to match the results with R (for my unit
tests).
 
I am following Smoothing Splines, D.G. Pollock (available online)
 
where we have a list of points (xi, yi), the yi points are random such that:
y_i = f(x_i) + e_i 
2006 Feb 02
1
the meaning of the B-spline coefficients
Dear all,
I'm trying to figure out the exact meaning of the B-spline
coefficients generated by the R command bs(). After reading a
lot of things, I still have no clue...
Here's my data.
> test
    time        f0
1      1  94.76328
2      2 102.47954
3      3 105.01234
4      4 107.21387
5      5 108.63279
6      6 109.54507
7      7 113.87931
8      8 118.21356
9      9 121.08652
10 
2009 Apr 15
0
How to use cubic spline coefficients from termstrc package?
Hi,
I'm using the cubic splines from termstrc package. I invoked the
splines_estim function with a group of 43 bonds. It computes 6 knot points
and returns values for alpha1 to alpha7. My question is how to use these
alpha1 to alpha7 in the equation of yield? For example, if I'm trying to
find the yield at, say, 12.25 years, which falls between 3rd & 4th knot
points what should the
2008 Aug 25
1
small spline regression example
Dear R People:
Could someone recommend a small example for spline regression, please?
I would like to show this to my students, step by step.
Thanks in advance,
Erin
-- 
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
2011 Jan 20
1
Inverse Prediction with splines
Hello, I have fit a simple spline model to the following data.
Data
x	y
0	1.298
2	0.605
3	0.507
4	0.399
5	0.281
6	0.203
7	0.150
8	0.101
Model
Sp.1=lm(y~bs(x,df=4))
Now I wish to inverse predict the x for y=.75, say.  Optimize works fine
for a polynomial but I can figure out how to get the spline model into
the function argument.  
Can anyone help me out.  
Thanks!!
Jeff
Jeff Morris
Sanofi
2008 Oct 10
1
how to evaluate a cubic Bezier curve (B-spline?) given the four control points
I'm trying to use R to determine the quality of a cubic Bezier curve
approximation of an elliptical arc.  I know the four control points
and I want to compute (x,y) coordinates of many points on the curve.
I can't find anything in either the base distribution or CRAN that
does this; all the spline-related packages seem to be about *fitting*
piecewise Bezier curves to a data set. 
2006 Nov 07
1
multivariate splines
Hi,
I am looking for an R package that would calculate multivarite (mostly
2d and 3d, tensor) cubic interpolating splines, so that I could
evaluate these splines (and their derivatives) at many points (unkown
at the time of calculating the spline polynomials) repeatedly.
To make things concrete, I have an array V with
dim(V) = k
and gridpoint vectors grid=list(...), length(grid[[i]])==k[i],
2010 Apr 19
0
Natural cubic splines produced by smooth.Pspline and predict function in the package "pspline"
Hello,
I am using R and the smooth.Pspline function in the pspline package to
smooth some data by using natural cubic splines. After fitting a
sufficiently smooth spline using the following call:
(ps=smooth.Pspline(x,y,norder=2,spar=0.8,method=1)
[the values of x are age in years from 1 to 100]
I tried to check that R in fact had fitted a natural cubic spline by
checking that the resulting
2005 Jul 19
2
Taking the derivative of a quadratic B-spline
Hello,
I have been trying to take the derivative of a quadratic B-spline
obtained by using the COBS library.  What I would like to do is
similar to what one can do by using
fit<-smooth.spline(cdf)
xx<-seq(-10,10,.1)
predict(fit, xx, deriv = 1)
The goal is to fit the spline to data that is approximating a
cumulative distribution function (e.g. in my example, cdf is a
2-column matrix with x