2.13.5.3 weibullfit(Pro)

Menu Information

Statistics: Survival Analysis: Weibull Fit

Brief Information

Perform a Weibull fit on survival data

Additional Information

This feature is for OriginPro only.

Command Line Usage

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;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

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.

  • Time data range
Specify time data column
  • Censor data range
Specify censor data column
Censoring Value(s) censor

Input

vector

Specify the censored value.

Estimation Method method

Input

int

1

Specify the estimation method. Two methods are supported:

Confidence Level(%) for Parameters conf

Input

double

95

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

0

Select this check box to output covariance matrix. It is only accessible when Estimation Method = Least Squares.

Probability Plot pplot

Input

int

1

Specify whether to output a Weibull probability plot in the report sheet.

Percentile Line percentile

Input

Treednode

1

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

0

Select this check box to export survival plot.

Hazard Plot hazard

Input

int

0

Select this check box to export Hazard plot

X Minimum xmin

Input

double

1

For information on calculation of Auto value, see the Origin Help File.

X Maximum xmax

Input

double

99

For information on calculation of Auto value, see the Origin Help File.

Output Results rt

Output

ReportTree

[<input>]<new>

Specify the report worksheet destination

Plot Data rd

Output

ReportData

[<input>]<new>

Specify the destination of the plot data.

Description

This X-Function is used to perform Weibull fit on survival data.

Percentile Line Tree Details

  • Percentile Line Tree

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:
  • 0: Percent(%)
    Specify percentile lines by percentage.
  • 1: Time
    Specify percentile lines by time.
percentileValue Percent Value(%)/Time Value int 50 Specify the percent value (time value) when Percent(%) (Time) is selected for Specify Percentile Lines by.

More Information

For more information,please refer to our User Guide.

Related X-Functions

kaplanmeier, phm_Cox