Displaying 20 results from an estimated 1000 matches similar to: "non-decreasing smoother"
2002 Apr 09
2
Restricted Least Squares
Hi,
I need help regarding estimating a linear model where restrictions are imposed on the coefficients. An example is as follows:
Y_{t+2}=a1Y_{t+1} + a2 Y_t + b x_t + e_t
restriction
a1+ a2 =1
Is there a function or a package that can estimate the coefficient of a model like this? I want to estimate the coefficients rather than test them.
Thank you for your help
Ahmad Abu Hammour
--------------
2002 Jan 28
1
residuals in plot.gam (mgcv)
Is there a way to add residuals to plots produced by plot.gam in the mgcv
package? I'm looking for something like what you get using resid=T in Splus
plot.gam.
Thanks in advance
Toby
-----Original Message-----
From: Simon Wood [mailto:snw at mcs.st-and.ac.uk]
Sent: 23 January, 2002 8:14 PM
To: Toby.Patterson at csiro.au
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] multiple surfaces in
2002 Sep 10
2
Hat values for generalized additive models
Would anyone be able to provide insight for the following question, please?
Setting: estimation of prediction intervals for age-period-cohort models
using GAMs (rate ~ s(age,period))
Method: bootstrap (Davison and Hinkley, 1997)
Issue: standardisation of the residuals for resampling requires an
adjustment using the diagonals of the hat matrix.
Is there a simple way to get the hat values out of a
2000 Nov 03
1
Macs and R
I hope this is the right place for my question, my apologise if it is not.
I am a long time Mac/UNIX user and my local machine is a Mac. At
present I run an orphan version of R which a worried out of (*****).
On reflection I guess I'd better not say, but it changed my life. It
is howerver a little out of date ( say 0.6ish)
So the obvious question, do I move to MacLinux or is there likely
2002 May 21
1
Memory Usage in R
To R users:
I am running an R program with .Fortran() calls, and discovered that the
memory, as reported by gc(), continues to grow with new loop iterations. I
hadn't been able to find information on how to 'destroy' objects in earlier
loops to keep the program size from continuous growth; calling rm() to
remove some what I thought to be large arrays didn't seem to help. Any
2000 Nov 03
3
QUERY: gam models in R?
Hi Allstaters,
Does anybody know if the R package can fit
Generalised Additive Models?.
Thanks indeed,
Aurelio.
atobias at ole.com
___________________________________________________________________
Consigue tu e-mail gratuito TERRA.ES
Haz click en http://www.terra.es/correo/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2001 Apr 19
2
Multiple linear regression
Dear R-users,
I've a question regardiing multiple linear regression.
Is it possible to regress a function of the type
y=b0+b1*x1+b2*x2
constraining the partial derivatives dy/dx1 and dy/dx2 to be greater
than 0 ???
Thank you very much for any possible suggestion.
Best regards
Marco
--
Marco Pagani - PhD Student
Dipartimento di Scienze della Terra - Sezione Geofisica
Universita' degli
2002 Feb 19
3
Rank of Matrix
Hello everybody,
I think my question has been asked before but I am posing it once again
since I need it. Is there any way to find the rank of a matrix in R or
Splus?
______________________
Indrajit SenGupta
Department Of Statistics
St. Xavier's College
Calcutta University
mailto:indra_calisto at yahoo.com
mailto:indrajitsg at vsnl.net
2000 Dec 12
1
smoothing binary data
I'm trying to figure out a good way to smooth binary data. The ideal
approach appears to be the "sm.logit" function in library "sm", but I
haven't had success with it. Below, is some code illustrating what I've come
up with so far, but I'm hoping there is a better approach. I'm using R 1.2
(development) under Windows 98.
-Bill
library(MASS)
data(birthwt)
2001 Aug 18
2
gam() in Splus and R
Hi,
Is there any difference in the gam() function in R and Splus?
I just tried to do an Ace Plot (plotting the result of the gam() ) on a
dataset. R gave me four (the data set has one response and four
explanatory variables) ace plot with perfectly straight lines. I kind of
felt that it is highly unlikely, so I tried it in Splus. Using the exact
commands Splus gave me four completely
2001 Jul 26
4
mgcv
Hi helpteam,
may you send me the exact syntax for getting the estimated degrees
of freedom for a gam?
I tried to do it by
name <- edf(gam_name)
but this didn't work.
Thanks a lot,
greetings from Munich,
Thomas Nittner
--
Thomas Nittner Tel: ++49 89 2180 3197
Akademiestra?e 1 Fax: ++49 89 2180 5042
D - 80799 M?nchen http://www.stat.uni-muenchen.de
2002 Sep 09
1
Monotonic interpolation
Has anyone got a function for smooth monotonic interpolation of a
univariate function? I'm after something like the NAG function PCHIM
which does monotonic Hermite interpolation. Alternatively, montononic
cubic spline interpolation.
Please reply directly.
Rob Hyndman
___________________________________________________
Rob J Hyndman
Associate Professor & Director of Consulting
2002 Jan 31
2
Help with Bootstrap function.
Dear List
I am using R with mcgv package to model spatial variation in density estimates of dorcas gazelle in Sinai. I have 59 points of data and 4 explanatory variables(distance from mountain edge, camel presence, Latitude & Longitude). I want to test the model fir via bootstraping. I have used the jacknife bootstraping but it have the limitation of allowing only 58 trials. I tried to use the
2001 Dec 17
3
smoothing line and a pair of confidence intervals
Hi R Users,
I am very new to R and would like to do something quick if possible, please
help!
Suppose I have a data set of y versus x, how can I generate a smoothing line
of y versus x (for example, using loess)
and at the same time, generate a pair of confidence intervals for the
smoothing or mean plus/minus standard deviation?
Yi Zhu
Golder Associates Inc.
USA
2001 Dec 22
2
gam plots
Dear R users,
Using the library(mgcv) and running R under MacOSX, I have fitted a
generalised additive model with binomial errors in order to check the
linearity of two continuous variables ap2mm and diffdaysm in a glm:
> mymodel.gam <- gam(diedhos~ s(ap2mm) + Dweekm + s(diffdaysm) +
Dweekm:diffdaysm + ap2mm:Dweekm, binomial)
I would like postscript gam plots for the two smoothed
2000 Oct 03
5
Where is gam?
I noticed that there is no generalised additive model functions in R
(1.1.1) ... is there a package that implements them?
Thanks
Prasad
*****************************************************************
Mr. Anantha Prasad, Ecologist/GIS Specialist
USDA Forest Service, 359 Main Rd.
Delaware OHIO 43015 USA
Ph: 740-368-0103 Email: aprasad at fs.fed.us
Web:
2000 Apr 30
0
Help Need with aov()
Hi there,
I'm using R1.0.1 Windows 98.
This file contains some inputs and an aov function code. Can someone
check it for me? Somehow I got completely different answer when typing
them in R and in Splus.
Splus gives me this:
> summary( Turnip.aov )
Error: Blocks
Df Sum of Sq Mean Sq F Value Pr(F)
Residuals 3 163.7367 54.57891
Error: Plots %in% Blocks
2001 Sep 11
2
Differential Equations Using R?
To whom it may concern,
I am a student at Macaleste College, and next semester Macalester
is going to offer a course for CellBio that is mainly statistically based.
For the most part the students will be using R for analysis. The problem is
there will be some simple differential equations for the students to solve.
The committee that in charge of the classes corriculam would like only to
2002 Jun 20
1
errors installing R-1.5.1 on linux debian
Hello
I'm upgrading from R-1.4.1 to R-1.5.1, locally on my Linux PC running
Debian.
after running 'configure' this is what I get (just in case it helps
figuring out what follows later...)
R is now configured for i686-pc-linux-gnu
Source directory: .
Installation directory: /usr/local
C compiler: gcc -D__NO_MATH_INLINES -mieee-fp -g -O2
C++
2002 Oct 17
2
making R-1.6.0 on Linux Debian
I'm running R-1.4.1 on a linux debian (version 2.2) box.
I've tried to upgrade to R-1.6.0, and the execution of make halts with the
following error messages:
make[4]: Entering directory `/home/tebaldi/R/R-1.6.0/src/library/methods'
dumping R code in package 'methods'
Error in testRversion(descfile) : This package has not been installed
properly
See the Note in ?library