Displaying 20 results from an estimated 1200 matches similar to: "help ! calculating relative mortality using survival5"
2000 Apr 05
1
problem with survexp in survival5
survexp in survival5 doesn't seem to work for me. see below:
> library(survival5)
Attaching Package "package:survival5":
The following object(s) are masked from package:base :
sort.list
> library(chron)
> data(ratetables)
> survexp(~ratetable(year=julian(6,1,1991),
+ sex=1,age=35*365.24),times=(0:30)/6*365.24)
Error in as.character(as.date(c(min(R[, 3]),
2010 Dec 20
0
survexp - unable to reproduce example
Dear All,
when I try to reproduce an example of survexp, taken from the help
page of survdiff, I receive the error message
"Error in floor(temp) : Non-numeric argument to mathematical function"
.
It seems to come from match.ratetable. I think, it has to do with
character variables in a ratetable.
I would be interested to know, if it works for others. With an older
version of
2010 Dec 31
3
survexp - example produces error
Dear All,
reposting, because I did not find a solution, maybe someone could
check the example below.
It's taken from the help page of survdiff. Executing it, gives the error
"Error in floor(temp) : Non-numeric argument to mathematical function"
best regards,
Heinz
library(survival)
## Example from help page of survdiff
## Expected survival for heart transplant patients based
2008 Jul 03
2
Relative Mortality Risk second part
Hi everyone,
We are looking for some data sets working with relative risk mortality.
so, someone know where can I find the data.mgus dataset and the data.mgus?
Using 1384 records from Minnesota.
This data set are used in the :
Robert A. Kyle, Terry M. Therneau, S. Vincent Rajkumar, Janice R. Offord,
Dirk R. Larson, Matthew F. Plevak, and L. Joseph Melton III. A long-term
study of prognosis in
2003 Oct 27
1
Bioassays Yielding concentration-Mortality data
Dear all,
I'm trying reproduce an example of bioassays Yielding Concentration-Mortality Data particularly control - adjustment model from book Bioassay of Entomopathogenic Microbes and Nematodes chapter 7 with R.
I used glm with family=binomial and link=probit, but I do not know how to implement parameter gamma (control mortality - mortality of the untreated control insect in this exaple)
2011 Jun 16
0
coxph: cumulative mortality hazard over time with associated confidence intervals
Dear R-users,
I computed a simple coxph model and plotted survival over time with
associated confidence intervals for 2 covariate levels (males and
females).
M1 <- coxph(survobject~sex, data=surv)
M1
survsex <- survfit(survobject~sex,data=surv)
summary(survsex)
plot(survsex, conf.int=T, col=c("black","red"), lty = c(1,2),
lwd=c(1,2), xlab="Time",
2007 Jun 05
0
New Package on Lancet Surveys of Iraq Mortality
Hello,
I have placed a package on CRAN about two surveys of mortality in Iraq
that were published in the Lancet.
http://cran.at.r-project.org/src/contrib/Descriptions/lancet.iraqmortality.html
> install.packages("lancet.iraqmortality")
...
> library(lancet.iraqmortality)
Loading required package: foreign
> ?lancet.iraqmortality
> vignette("mortality")
This is
2007 Jun 05
0
New Package on Lancet Surveys of Iraq Mortality
Hello,
I have placed a package on CRAN about two surveys of mortality in Iraq
that were published in the Lancet.
http://cran.at.r-project.org/src/contrib/Descriptions/lancet.iraqmortality.html
> install.packages("lancet.iraqmortality")
...
> library(lancet.iraqmortality)
Loading required package: foreign
> ?lancet.iraqmortality
> vignette("mortality")
This is
2010 Oct 19
3
plot CI and mortality rate
Dear R Users:
I have the individual mortality rate and 95% CI of 100 hospitals,
how to do the plot with the individual hospital in the Yaxis, and the
mortality rate and 95% CI in the Xais and a overall mean as a reference
line?
Thanks and regards,
Xin
[[alternative HTML version deleted]]
2013 Dec 09
1
Plot mortality data and show trend
I have a mortality data over many years and I wish to plot the data and also add some smoother to clearly highlight the trend. How could I do that in R with base graphics or ggplot? I have the following sample data: require(lubridate) mdate<-seq(ymd('2000-01-01'),ymd('2010-12-31'), by = '1 day') death<- rnorm(4018, 80, 45) df<-cbind(mdate,death)
2005 Dec 15
2
survexp ratetables for european contries?
Dear All,
Does someone have, or know of survexp ratetables for european contries,
especially Austria and Germany?
I know only about slopop in the package relsurv.
Thanks in advance
Heinz T??chler
1999 May 25
1
survival5
> data(package=survival5)
Warning: no data listing found
Warning: package `survival5' contains datasets but no index
The data loads OK.
Mai Zhou
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2003 Apr 23
3
documentation for survival5?
Dear R-Helpers:
What other references are there on the capabilities of the survival5
package other than the help files and the chapter on survival analysis
in every edition of Modern Applied Statistics with S? I'm thinking of
something like "An Introduction to Survival Analysis in R" with worked
examples that might complement or extend the chapter in MASS.
Thanks,
Spencer
1999 May 24
1
survival5 for windows
I downloaded binary of survival5 for windows95
(also the splines, date).
The function survsum shows up in content, has a help page,
but the function itself is missing.
Can we cut and paste the survsum from survival4 ?
Mai Zhou
P.S.
I am not picking on R, not even complaining.
I think R is great and I am try to contribute my (small) part
to make it even better in way of bug report (or
1999 Nov 09
0
Problem with installing survival5
Prof Brian D Ripley wrote:
> On 5 Nov 1999, Peter Dalgaard BSA wrote:
>
> > "Richard A. Bilonick" <rab at nauticom.net> writes:
> >
> > > Hi. I'm using 0.65.1 under Linux (Red Hat 6.0). I installed splines and then
> > > survival5. I used library(survival) and was able to create obs using Surv. But I
> > ...
> > > -lg2c -lm
1999 Apr 21
0
survival5
A nearly complete port of the new survival5 package has been sent to CRAN
and will soon be appearing on a mirror near you in the contrib/devel
area.
This new package, the successor to survival4, has a more stable likelihood
maximiser for parametric survival models and incorporates penalised
likelihoods for adding smoothing splines, ridge regression, and
(approximately) frailties to survival
2001 Jan 15
1
announce: survival5 bug fix
Anyone using the penalised partial likelihood routines in survival5 should
update their version.
A bug has been fixed in the S package: in coxph() models with penalised
likelihood and strata it was possible in some circumstances to get an
infinite loop or perhaps an incorrect answer.
The new version (2.3) is on cran.r-project.org and will percolate through
CRAN in the next few days.
-thomas
2001 Jan 15
1
announce: survival5 bug fix
Anyone using the penalised partial likelihood routines in survival5 should
update their version.
A bug has been fixed in the S package: in coxph() models with penalised
likelihood and strata it was possible in some circumstances to get an
infinite loop or perhaps an incorrect answer.
The new version (2.3) is on cran.r-project.org and will percolate through
CRAN in the next few days.
-thomas
2011 Apr 20
2
survexp with weights
Hello,
I probably have a syntax error in trying to generate an expected
survival curve from a weighted cox model, but I can't see it. I used
the help sample code to generate a weighted model, with the addition
of a "weights=albumin" argument (I only chose albumin because it had
no missing values, not because of any real relevance). Below are my
code with the resulting error
2010 Sep 13
0
using survexp and ratetable with coxph object that includes a factor term
Hello,
I'm attempting to use the ratetable argument to
survexp in the survival package. I use
the example from the ?survexp help page below,
and then slightly modify it to produce an error.
library(survival)
data(pbc)
#fit a model without any factors
pfit1 <- coxph(Surv(time, status > 0) ~ trt + log(bili) +
log(protime) + age + platelet, data=pbc)
#this works as expected