Statistics: Survival Analysis: Weibull Fit
Perform a Weibull fit on survival data
This feature is for OriginPro only.
1. weibullfit irng:=(1,2) censor:=0 2. weibullfit irng:=(1,2) censor:=0 conf:=99 rt:=<new name:= Weibull> 3. weibullfit irng:=(1,2) censor:=0 xmin:=1E-4 xmax:=200;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input | irng |
Input Range |
|
Specify input data range, including time data range and censor data range.
|
Censoring Value(s) | censor |
Input vector |
|
Specify the censored value. |
Estimation Method | method |
Input int |
|
Specify the estimation method. Two methods are supported: |
Confidence Level(%) for Parameters | conf |
Input double |
|
Text box to enter a confidence level to be used when computing errors for the survival function and upper and lower limits of the quartile estimates. |
Covariance Matrix | cov |
Input int |
|
Select this check box to output covariance matrix. It is only accessible when Estimation Method = Least Squares. |
Probability Plot | pplot |
Input int |
|
Specify whether to output a Weibull probability plot in the report sheet. |
Percentile Line | percentile |
Input Treednode |
|
Available only when Probability Plot is selected. Select this checkbox to add percentile lines to P-P plot. See details below. |
Survival Plot | sf |
Input int |
Select this check box to export survival plot. | |
Hazard Plot | hazard |
Input int |
Select this check box to export Hazard plot | |
X Minimum | xmin |
Input double |
For information on calculation of Auto value, see the Origin Help File. | |
X Maximum | xmax |
Input double |
For information on calculation of Auto value, see the Origin Help File. | |
Output Results | rt |
Output ReportTree |
|
Specify the report worksheet destination |
Plot Data | rd |
Output ReportData |
|
Specify the destination of the plot data. |
This X-Function is used to perform Weibull fit on survival data.
The Percentile Line tree specifies percentile line options.
Syntax: percentile.Treenode:=<value>
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
percentileType | Specify Percentile Lines by | int | 0 | Specify the type of percentile lines. Option list:
|
percentileValue | Percent Value(%)/Time Value | int | 50 | Specify the percent value (time value) when Percent(%) (Time) is selected for Specify Percentile Lines by. |
For more information,please refer to our User Guide.