Displaying 20 results from an estimated 2000 matches similar to: "Weibull Prediction?"
2008 Oct 28
2
Fitting weibull and exponential distributions to left censoring data
Dear R-users
I have some datasets, all left-censoring, and I would like to fit
distributions to (weibull,exponential, etc..). I read one solution using the
function survreg in the survival package. i.e
survreg(Surv(...)~1, dist="weibull") but it returns only the scale
parameter.
Does anyone know how to successfully fit the exponential, weibull etc...
distributions to left-censoring
2008 Oct 22
2
Weibull parameter estimation
Dear R-users
I would like to fit weibull parameters using "Method of moments" in order to
provide the inital values of the parameter to de function 'fitdistr' . I
don`t have much experience with maths and I don't know how to do it.
Can anyone please put me in the rigth direction?
Borja
[[alternative HTML version deleted]]
2008 Oct 07
3
Fitting weibull, exponential and lognormal distributions to left-truncated data.
Dear All,
I have two questions regarding distribution fitting.
I have several datasets, all left-truncated at x=1, that I am attempting
to fit distributions to (lognormal, weibull and exponential). I had
been using fitdistr in the MASS package as follows:
fitdistr<-(x,"weibull")
However, this does not take into consideration the truncation at x=1. I
read another posting in this
2012 Mar 06
1
Scale parameter in Weibull distribution
Hi all,
I'm trying to generate a Weibull distribution including four covariates in
the model. Here is the code I used:
T = rweibull(200, shape=1.3,
scale=0.004*exp(-(-2.5*b1+2.5*b2+0.9*x1-1.3*x2)/1.3))
C = rweibull(n, shape=1.5, scale=0.008) #censoring time
time = pmin(T,C) #observed time is min of censored and true
event = time==T # set to 1 if event is observed
2006 Sep 21
1
survival function with a Weibull dist
Hi
I am using R to fit a survival function to my data
(with a weibull distribution).
Data: Survival of individuals in relation to 4
treatments ('a','b','c','g')
syntax:
---- > survreg(Surv(date2)~males2, dist='weibull')
But I have some problems interpreting the outcome and
getting the parameters for each curve.
--------- Value Std.
2009 Dec 13
1
Non-linear Weibull model for aggregated parasite data
Hi,
I am trying to fit a non-linear model for a parasite dataset. Initially, I
tried log-transforming the data and conducting a 2-way ANCOVA, and found
that the equal variance of populations and normality assumptions were
violated. Gaba et al. (2005) suggests that the Weibull Distribution is best
for highly aggregated parasite distributions, and performs better (lower
type 1 and 2 error rates)
2005 Jun 09
2
Weibull survival modeling with covariate
I was wondering if someone familiar
with survival analysis can help me with
the following.
I would like to fit a Weibull curve,
that may be dependent on a covariate,
my dataframe "labdata" that has the
fields "cov", "time", and "censor". Do
I do the following?
wieb<-survreg(Surv(labdata$time,
labadata$censor)~labdata$cov,
2009 Nov 13
2
survreg function in survival package
Hi,
Is it normal to get intercept in the list of covariates in the output of survreg function with standard error, z, p.value etc? Does it mean that intercept was fitted with the covariates? Does Value column represent coefficients or some thing else?
Regards,
-------------------------------------------------
tmp = survreg(Surv(futime, fustat) ~ ecog.ps + rx, ovarian,
2005 Nov 24
4
Survreg Weibull lambda and p
Hi All,
I have conducted the following survival analysis which appears to be OK
(thanks BRipley for solving my earlier problem).
> surv.mod1 <- survreg( Surv(timep1, relall6)~randgrpc, data=Dataset,
dist="weibull", scale = 1)
> summary(surv.mod1)
Call:
survreg(formula = Surv(timep1, relall6) ~ randgrpc, data = Dataset,
dist = "weibull", scale = 1)
2012 Jan 26
1
3-parametric Weibull regression
Hello,
I'm quite new to R and want to make a Weibull-regression with the survival package. I know how to build my "Surv"-object and how to make a standard-weibull regression with "survreg".
However, I want to fit a translated or 3-parametric weibull dist to account for a failure-free time.
I think I would need a new object in survreg.distributions, but I don't know how
2005 Nov 22
3
Weibull and survival
Hi
I have been asked to provide Weibull parameters from a paper using
Kaplan Meir survival analysis.
This is something I am not familiar with.
The survival analysis in R works nicely and is the same as commercial
software (only the graphs are superior in R).
The Weibull does not and produces an error (see below).
Any ideas why this error should occur?
My approach may be spurious.
2004 Jan 14
1
estimation of lambda and gamma with std errors for a weibull model
Dear R experts,
How should lambda and gamma (with std.errors) be calculated for a weibull model with age as an independent predictor? I have assumed that this can be done with survreg with e. g. (summary(survreg(Surv(time, status) ~ age, dist = 'weibull')) ) and predict.survreg with e.g. (predict(model, se.fit = T, newdata = data.frame(age = seq(50, 80, 5)) but unfortunately I'm
2004 Nov 23
6
Weibull survival regression
Dear R users,
Please can you help me with a relatively straightforward problem that I
am struggling with? I am simply trying to plot a baseline survivor and
hazard function for a simple data set of lung cancer survival where
`futime' is follow up time in months and status is 1=dead and 0=alive.
Using the survival package:
lung.wbs <- survreg( Surv(futime, status)~ 1, data=lung,
2009 Mar 08
2
survreg help in R
Hey all,
I am trying to use the survreg function in R to estimate the mean and
standard deviation to come up with the MLE of alpha and lambda for the
weibull distribution. I am doing the following:
times<-c(10,13,18,19,23,30,36,38,54,56,59,75,93,97,104,107,107,107)
censor<-c(1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0)
survreg(Surv(times,censor),dist='weibull')
and I get the following
2004 Jul 28
2
Simulation from a model fitted by survreg.
Dear list,
I would like to simulate individual survival times from a model that has been fitted using the survreg procedure (library survival). Output shown below.
My plan is to extract the shape and scale arguments for use with rweibull() since my error terms are assumed to be Weibull, but it does not make any sense. The mean survival time is easy to predict, but I would like to simulate
2002 Jan 17
1
weibull in R
Hi all
I try to make a weibull survival analysis on R.
I know make this on GLIM, and now I try to make the GLIM exercice GLEX8 on R
to learning and compare the test.
The variables are:
time censor group bodymass
In GLIM I make:
$calc %s=1 $ to fit weibull rather than exponential
$input %pcl weibull $
$macro model group*bodymass $endmac$
$use weibull t w %s $
Then, GLIM estimate an alpha for the
2008 Apr 08
1
Weibull maximum likelihood estimates for censored data
Hello!
I have a matrix with data and a column indicating whether it is censored
or not. Is there a way to apply weibull and exponential maximum
likelihood estimation directly on the censored data, like in the paper:
Backtesting Value-at-Risk: A Duration-Based Approach, P Chrisoffersen
and D Pelletier (October 2003) page 8?
The problem is that if I type out the code as below the likelihood
2005 Aug 10
2
Exponential, Weibull and log-logistic distributions in glm()
Dear R-users!
I would like to fit exponential, Weibull and log-logistic via glm() like
functions. Does anyone know a way to do this? Bellow is a bit longer
description of my problem.
Hm, could family() be adjusted/improved/added to allow for these distributions?
SAS procedure GENMOD alows to specify deviance and variance functions to
help in such cases. I have not tried that option and I do not
2009 Apr 29
12
Una pregunta de estadística (marginalmente relacionada con R)
Hola, ¿qué tal?
Tengo una pregunta de esta
2009 Oct 02
1
Weibull survival regression model with different shape parameters
Dear R users,
I'm trying to fit a parametric survival model using the survreg function
with a Weibull distribution.
I'm studying the time to death of individuals from different families
and I would like to fit different shape parameters (ie 1/scale in R) for
each of the families. I looked it up in the help pdf and on the
internet, but I couldn't find anything.
Would it be possible to