Displaying 20 results from an estimated 1000 matches similar to: "predict.*bSpline() bugs extrapolating for deriv >= 1 (PR#1473)"
2010 Sep 14
1
predict(backSpline(x)): losing my marbles?
I'm sure I'm doing something completely boneheaded here, but I've
used this idiom
(constructing an interpolation spline and using prediction from a
backSpline to find
an approximation profile confidence interval) many times before and
haven't hit this
particular problem:
r2 <- c(1.04409027570601, 1.09953936543359, 1.15498845516117,
1.21043754488875,
2011 May 23
0
Error in backSpline.npolySpline(sp) : spline must be monotone
I get the following error:
Error in backSpline.npolySpline(sp) : spline must be monotone
Has anyone had this error before? any ideas on a workaround?
>
> vols=read.csv(file="C:/Documents and Settings/Hugh/My
> Documents/PhD/Swaption vols.csv"
+ , header=TRUE, sep=",")
> X<-ts(vols[,2])
> #X
>
>
> dcOU<-function(x,t,x0,theta,log=FALSE){
+
2008 Nov 07
1
Problems with packages fda and splines (PR#13263)
Full_Name: David D Degras
Version: 2.8.0
OS: Mac OS X
Submission from: (NULL) (128.135.239.11)
I have recently installed the version 2.8.0 of R along with package fda (v
2.0.2)
and its dependencies (including package splines v. 2.8.0).
Here are my problems:
1) The package splines should feature functions such a predict.bs,
predict.bSpline and such and it does not! I can make calls to bs, ns,
2016 Mar 04
0
R 3.2.4 rc issue
Thanks for the info, Dirk.
The tarball builds don't run make check (because of a policy decision that it is better to have the sources available on all platforms for testing than to have none if it breaks on a single platform). However the build as of tonight has no problem with make check on the build machine. Did you by any chance forget that Matrix is a recommended package and expected to
2016 Mar 04
2
R 3.2.4 rc issue
I generally run 'make; make check' (with more settings) when building the
Debian package. Running 3.2.4 rc from last night, I see a lot of package
loading issues during 'make check'. Here is splines as one examples:
checking package 'splines'
* using log directory '/build/r-base-3.2.3.20160303/tests/splines.Rcheck'
* using R version 3.2.4 RC (2016-03-02 r70270)
*
2016 Mar 04
1
R 3.2.4 rc issue
On 4 March 2016 at 09:11, peter dalgaard wrote:
| Thanks for the info, Dirk.
|
| The tarball builds don't run make check (because of a policy decision that it is better to have the sources available on all platforms for testing than to have none if it breaks on a single platform). However the build as of tonight has no problem with make check on the build machine. Did you by any chance forget
2014 Jun 27
2
[LLVMdev] [RFC] Add compiler scheduling barriers
Hi Philip,
> Aside: From the documentation, it's actually unclear how strong a barrier
> ISB actually is. The "fetched after the ISB" gives a lot of room for
> interpretation. (i.e. is it legal for a cpu to fetch every instruction in a
> function, queue them for execution under wait conditions, *then* fetch the
> ISB? This would be a *really* weird implementation,
2009 Feb 26
2
interpSpline with dates?
Dear R-helpers,
can I use a POSIXct date as the x variable in interpSpline? The help
page says x and y need to be numeric... is there a workaround?
example:
library(splines)
testdfr <- data.frame(Date=seq(as.POSIXct("2008-08-01"),as.POSIXct("2008-09-01"),
length=10))
testdfr$yvar <- rnorm(10)
sp <- interpSpline(yvar ~ Date, testdfr)
preddfr <-
2008 Oct 07
0
splinefun gives incorrect derivs when extrapolating to the (PR#13139)
--MP_/kvy20nVajVG/n.8m=_ZjLAX
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On Tue, 7 Oct 2008 19:31:03 +0800
Berwin A Turlach <berwin at maths.uwa.edu.au> wrote:
> The attached patch (against the current SVN version of R) implements
> the latter strategy. With this patch applied, "make check
> FORCE=FORCE" passes
2008 Oct 06
1
splinefun gives incorrect derivs when extrapolating to the left (PR#13132)
This is a low priority bug that has been around for a while, but I came acr=
oss it again while alpha testing 2.8.
The resulting function for splinefun gives incorrect deriv values when x is=
less than the smallest x-value used to create the function (at least in on=
e circumstance), but does the correct thing for x greater than the largest =
x-value.
Here is an example:
> x <- 1:10
>
2008 Oct 07
0
splinefun gives incorrect derivs when extrapolating to the (PR#13138)
--MP_/Rxf/JAvsQx5JLkhZFc9Jmn4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
G'day Greg,
On Mon, 6 Oct 2008 19:50:13 +0200 (CEST)
Greg.Snow at imail.org wrote:
> This is a low priority bug that has been around for a while, but I
> came across it again while alpha testing 2.8.
Indeed, that bug must have been around since
2013 Feb 11
1
UPS, ISB Sola basic, usb conection does not works
Hello people.
My name is Rub?n.
Firts, excuse me for my bad english.
I run Debian 6.0.6, kernel 2.6.32-5-amd64 in my machine.
I bought a ISB Sola basic UPS, model Micro SR inet, with usb conection.
I Configure the nut.conf file in standalone mode and I install de isbmex
driver.
The ups.conf:
[ISB_sola-basic]
driver = isbmex
port = auto
With de command upsdrvctl start the
2013 Feb 08
2
[PATCH] xen: arm32: Use system wide TLB flushes, not just inner-shareable
We currently setup page table walks etc as outer-shareable. Given we don''t
really make the distinction between inner- and outer-shareable yet err on
theside of safety.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Cc: Tim Deegan <tim@xen.org>
---
xen/include/asm-arm/flushtlb.h | 4 ++--
1 files
2008 Jul 04
0
A question about SWITCH field in the output of cpuinfo
Here is the example:
ID ADDR FLG NRUN BSPL PRI RNRN KRNRN SWITCH THREAD PROC
0 fffffffffbc259b0 1b 1 0 -1 no no t-0 ffffff0003e05c80
(idle)
| |
RUNNING <--+ +--> PRI THREAD PROC
READY
EXISTS
ENABLE
I was told that SWITCH stood for
2014 Jun 27
3
[LLVMdev] [RFC] Add compiler scheduling barriers
On 24 June 2014 01:55, Philip Reames <listmail at philipreames.com> wrote:
>
> On 06/19/2014 09:35 AM, Yi Kong wrote:
>>
>> Hi all,
>>
>> I'm currently working on implementing ACLE extensions for ARM. There
>> are some memory barrier intrinsics, i.e.__dsb and __isb that require
>> the compiler not to reorder instructions around their
2007 Oct 24
0
random walk w/ reflecting boundary: avoid control construct? [SEC=UNCLASSIFIED]
Hi Johannes,
I came up with the following (assuming that if step[i] is independent of step[i-1] then it is also independent of -step[i-1]):
Cheers Joe
> # your (unbounded) random walk
> k <- cumsum(c(0,sample(c(-1,1), 1000, rep = T)))
>
> #shift it to positive, to allow following calculations k <- k - min(k)
> # set your bound (remember min(k) is now zero) wid <- 10
2008 Dec 27
1
contour plot - smooth lines
Dear R-Users,
I am using 'contour' to plot a graph using values x,y and a matrix z.
I would like to obtain 'smooth lines' instead of no-smooth contour lines.
I tried with filled.contour too.
In a Post I found
yy <-predict(interpSpline(x, y))
I could use that method for each range that I want to plot but I hope
to find a easier method.
Thank you
Tommaso Letterio
DIAF - UniFi
2011 Apr 20
1
Extrapolating data points for individuals who lack them
Hi,
We have an experiment where individuals responses were measured over 5 days. Some responses were not obtained because we only allowed individuals to respond within a limited time-frame. These individuals are given the maximum response time as they did not respond, yet we feel they may have done if given time (and by looking at the rest of their responses over time, the non-response days stand
2012 May 03
1
Identifying case by groups in a data frame
Hi everyone,
I would like to identify the case by groups that is just bigger that
avg plus sd. For example, using species as group and petal.wid as my
variable in the iris data.
What's the better way to doit? creating a function?
So,the question is to identify the single element of each species that is just larger than a cut-off point (i.e. larger than mean + sd)
I made this, but I can not
2012 Sep 25
1
Extrapolating Cox predicted risk
Dear all
I generated predicted risk of death for each subject in the study by
means of Cox proportional hazards model at 8 year of follow-up, a time
point at which follow-up was more than 90% complete. It is possible to
extrapolate to 10-year the predicted risk of each subjet by assuming
an exponential distribution?
Any help would be greatly appreciated.
Thanks for your consideration.