Displaying 19 results from an estimated 19 matches similar to: "fitting problems in coxph.fit"
2011 Oct 03
2
number of copies
I'm looking at memory efficiency for some of the survival code. The
following fragment appears in coxph.fit
coxfit <- .C("coxfit2", iter=as.integer(maxiter),
as.integer(n),
as.integer(nvar), stime,
sstat,
x= x[sorted,] ,
...
Does this make a second copy of x to pass to the routine (my
2011 Jul 19
1
"may be used in an incorrect context"
R CMD check tells me
* checking R code for possible problems ... NOTE
agexact.fit.rds: ... may be used in an incorrect context: ?optim(init,
agfitfn, ...)?
Warning: <anonymous>: ... may be used in an incorrect context: ?optim(init, agfitfn, ...)?
Can anyone tell me what this message means? My searches haven't turned
up anything useful. This is with R 2.7 and 2.9.
The message
2004 Aug 13
1
How to use the whole dataset (including between events) in Cox model (time-varying covariates) ?
Hello,
coxph does not use any information that are in the dataset between event
times (or "death times") , since computation only occurs at event times.
For instance, removing observations when there is no event at that time in
the whole dataset does not change the results:
> set.seed(1)
> data <-
as.data.frame(cbind(start=c(1:5,1:5,1:4),stop=c(2:6,2:6,2:5),status=c(rep(
2006 Mar 08
2
Survival Plots by Strata
All,
I am struggling to create a survival plot using LTRC data for each year
of a 10 year period.
I have a set of individuals (birds) where 'entry' is the day of the
year (1-365) they are released (let out of pens) into the wild (2 year
data snip below). 'Entry' (e.g., day of year the first bird is
released for each year) is highly variable, ranging from 48 to >250.
When I
2007 Dec 17
2
Capture warning messages from coxph()
Hi,
I want to fit multiple cox models using the coxph() function. To do
this, I use a for-loop and save the relevant results in a separate
matrix. In the example below, only two models are fitted (my actual
matrix has many more columns), one gives a warning message, while the
other does not. Right now, I see all the warning message(s) after the
for-loop is completed but have no idea which model
2004 Nov 17
1
frailty and time-dependent covariate
Hello,
I'm trying to estimate a cox model with a frailty variable and time-dependent covariate (below there is the statement I use and the error message). It's seems to be impossible, because every time I add the time-dependent covariate the model doesn't converge. Instead, if I estimate the same model without the time-dependent covariate it's converge. I'd like knowing if
2018 Oct 02
3
maximum matrix size
I am now getting the occasional complaint about survival routines that are not able to
handle big data.?? I looked in the manuals to try and update my understanding of max
vector size, max matrix, max data set, etc; but it is either not there or I missed it (the
latter more likely).?? Is it still .Machine$integer.max for everything??? Will that
change??? Found where?
I am going to need to go
2018 Oct 02
0
maximum matrix size
Does this help a little?
https://cran.r-project.org/doc/manuals/r-release/R-ints.html#Long-vectors
One thing I seem to remember but cannot find a reference for is that
long vectors can only be passed to .Call calls, not C/Fortran. I
remember rewriting .C() in my WGCNA package to .Call for this very
reason but perhaps the restriction has been removed.
Peter
On Tue, Oct 2, 2018 at 9:43 AM
2001 Feb 22
3
[newbie] Cox Baseline Hazard
Hello everybody.
First of all, I would like to present myself.
I'm a french student in public health and I like statistics though I'm
not that good in mathematics (but I try to catch up). I've discovered R
recently while trying to find a statistical program in order to avoid
rebooting my computer under windows when I need to do some statistical
work.
And here is my first question.
2005 Mar 14
4
[patch/unstable] page table cleanups
Hi,
In many places xen uses "unsigned long" instead of the l*_pgentry_t
types to pass around page table entries. Here is a patch which fixes
this in a number of places (mostly in shadow mode code). Thats what
I''ve trapped in so far, maybe more of these patches follow.
Fixing this is needed for adding PAE support to xen. In PAE paging mode
the page table entries are 64 bit
1997 Dec 14
1
R-beta: survival4 in R-0.60.1
Hi there,
Here is a record of an R session:
> library(survival4)
Autoloading required package: splines
> coxph(Surv(c(1,2,3,4), c(1,1,1,1)) ~ c(1,0,1,0))
Error in .C("coxfit2", iter = as.integer(iter.max), as.integer(n),
as.integer(nvar), : C/Fortran function not in load table
Why is "coxfit2" not in the load table? How do I fix it?
System is Linux.
Goran
2010 Mar 19
0
Different results from survreg with version 2.6.1 and 2.10.1
---------------------------- Original Message ----------------------------
Subject: Different results from survreg with version 2.6.1 and 2.10.1
From: nathalcs at ulrik.uio.no
Date: Fri, March 19, 2010 16:00
To: r-help at r-project.org
--------------------------------------------------------------------------
Dear all
I'm using survreg command in package survival.
2010 May 25
2
Relative Risk/Hazard Ratio plots for continuous variables
Dear all,
I am using Windows and R 2.9.2 for my analyses. I have a large dataset and
I am particularly interested in looking at time to an event for a continuous
variable. I would like to produce a plot of log(relative risk) or relative
risk (also known as hazard ratio) against the continuous variable.
I have spent a long time looking for advice on how to do this but my search
has proved
2005 Aug 29
0
Core dump during lazy loading of "survival" at installation time (PR#8106)
Full_Name: D Kreil
Version: 2.1.1
OS: HP-UX B.11.23 U ia64 0029870451 unlimited-user license
Submission from: (NULL) (62.178.15.60)
I sadly get a core-dump during installation, when it tries to lazyload package
survival. Any idea what to do about this?
Best regards,
D.
...
include -fPIC -g -O2 -c survindex2.c -o survindex2.o
gcc -I/bi/common/src/R-2.1.1/include
2004 Sep 21
0
SV: compilation failed for package
Thanks to Roger Bivand, my problem was solved. binutils 2.14 was updatet to binutils 2.15, as indicated under.
Geir Helge Systad
Norwegian Institute for Nature Research
Arctic Ecology, Polarmilj??senteret, N-9296 Troms??, Norway
Adress aug-04 to feb-05:
Albert Pettersonsvei 13, N-5750 Odda
fax +47 85 03 82 14
phone +47 53 64 24 94
mobil +47 91 63 70 55
E-mail: geir.systad at nina.no
2004 Sep 20
1
compilation failed for package
Hello,
I am new to R on Linux (and to LINUX), running a 1.9.1 on a Linux MDK10.0. When updating or installing different packages, I get messages like this (under), the package doesn't install. Can anyone help me? I know this is all to little information, but I don't know were to start. I think there is something wrong in how or were the C++ or fortran compilator is installed??
Thanks, Geir
1998 Jan 27
1
R-beta: survival4
Hmm... I have the same problem on hpux10.20. I put the additional libs into a
subdir called contrib, and R INSTALL from there. I have R-0.61.1 Alpha Dec21
1997. Without restored data they work OK.
Osman
> ----------
> From: Goran Brostrom[SMTP:gb at stat.umu.se]
> Sent: Tuesday, January 27, 1998 3:07 AM
> To: r-help at stat.math.ethz.ch
> Subject: R-beta: survival4
>
>
2005 Apr 07
3
R-beta 2004-04-07 build failed on AIX
I thought I'd give this another shot before the official release. I tried
building R-beta_2004-04-07 on the AIX system that I have access to, and it
seemed to failed at lazy-loading survival. I'd very much appreciate any
pointer on what to try or look for next.
1. I set OBJECT_MODE to 64 for building 64-bit binary.
2. I edited config.site with the following:
CC="xlc_r"
2010 Mar 09
2
vacation script
hi All,
One of my users created this sieve script via roundcube's avelsieve
implementation:
# This script has been automatically generated by avelsieve
# (Sieve Mail Filters Plugin for Squirrelmail)
# Warning: If you edit this manually, then the changes will not
# be reflected in the users' front-end!