sure whether adding this extra initial state is a valid
option?
Thanks in advance for anyone who can help me out,
Lucy Leigh
mstate: An R Package for the Analysis of Competing Risks
...<https://www.jstatsoft.org/article/view/v038i07>
www.jstatsoft.org
Authors: Liesbeth C. de Wreede, Mart
Hi,
I wish to simulate some data from a Weibull distribution. The rweibull function
in R uses the parameterisation
'with shape parameter a and scale parameter b has density given by f(x) = (a/b)
(x/b)^(a-1) exp(- (x/b)^a)'.
However, it would be much more useful for me to simulate data using a
Awesome, thankyou!
From: Joshua Wiley [mailto:jwiley.ps...@gmail.com]
Sent: Wednesday, 3 September 2014 12:04 PM
To: Lucy Leigh
Cc: r-help@R-project.org
Subject: Re: [R] Simulating from a Weibull distribution
Hi Lucy,
Try the gamlss.dist package, specifically the rWEI2() function.
Cheers
Hi everyone,
I am attempting to use the R package 'rms'
http://biostat.mc.vanderbilt.edu/wiki/Main/Rrms
to implement a PH weibull model, using the pphsm() function.
However, I get the following error,
f.ph - pphsm(f)
Warning message:
In pphsm(f) :
at present, pphsm does not return the correct
Hi everyone,
I am currently attempting to simulate some survival data, based on a Weibull
model. I basically need to simulate some survival data
so that I can then test out a program I'm writing, before applying it to some
real data.
I've managed to create failure time data, using the rweibull
))
}
if (Y[i] censorT){
Y[i] - censorT
death[i] - 0}
else
{Y[i] - Y[i]
death[i] - 1
}
}
Thankyou for the tip about the random seed.
Lucy
-Original Message-
From: Dennis Murphy [mailto:djmu...@gmail.com]
Sent: Monday, 24 March 2014 4:12 PM
To: Lucy Leigh
Subject: Re: [R] Simulating
Excellent! Thank you for your help.
-Original Message-
From: Therneau, Terry M., Ph.D. [mailto:thern...@mayo.edu]
Sent: Monday, 17 March 2014 11:15 PM
To: Lucy Leigh; r-help@R-project.org
Cc: David Winsemius
Subject: Re: survfit question - Q1 and Q3 survival time?
Try help
Hello,
I am using the function survfit in the 'survival' package. Calling the function
produces the median survival
time automatically, as below.
sleepfit - survfit(Surv(timeb, death)~1)
sleepfit
Call: survfit(formula = Surv(timeb, death) ~ 1)
records n.max n.start events median 0.95LCL
Hi everyone,
I am not new to R, but new to running survival models in R.
I am trying to create some basic KM curves, using the following code:
library(survival)
library(KMsurv)
(import data etc - basic right censored, with continuously observed time of
death)
sleepfit - survfit(Surv(timeb,
the time to write it all out for
me.
Regards,
Lucy Leigh
Prof Brian Ripley rip...@stats.ox.ac.uk 12/07/2013 6:03 am
On 11/07/2013 20:21, David Winsemius wrote:
On Jul 11, 2013, at 1:37 AM, Rolf Turner wrote:
On 11/07/13 17:57, Prof Brian Ripley wrote:
On 11/07/2013 01:22, David Winsemius
...@gmail.com 9/07/2013 5:30 pm
Hi Lucy:
Did you look at the R Installation and Administration manuals? There's
a
good section about installing on Windows via Rtools.
On Mon, Jul 8, 2013 at 10:18 PM, Lucy Leigh
lucy.le...@newcastle.edu.auwrote:
Great thank you - are there any resources that step
Hi,
I have a source package that isn't available as a windows zip file. Can
anyone explain to me how I can install this on my windows R platform?
When I use the following code:
install.packages(PReMiuM_3.0.21.tar.gz, type = source)
I get this error message:
* installing *source* package
Great thank you - are there any resources that step through how to use
RTools to compile the
source package and install it in R on (64-bit windows) ?
Berend Hasselman b...@xs4all.nl 8/07/2013 6:38 pm
On 08-07-2013, at 02:15, Lucy Leigh lucy.le...@newcastle.edu.au
wrote:
Hi,
I have a source
13 matches
Mail list logo