Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Cox proportional hazards regression

returns
a `b`

= coxphfit(`X`

,`T`

)*p*-by-1 vector, `b`

, of coefficient
estimates for a Cox proportional hazards
regression of the observed responses in an *n*-by-1
vector, `T`

, on the predictors in an *n*-by-*p* matrix `X`

.

The model does not include a constant term, and `X`

cannot
contain a column of 1s.

returns
a vector of coefficient estimates, with additional options specified
by one or more `b`

= coxphfit(`X`

,`T`

,`Name,Value`

)`Name,Value`

pair arguments.

`[`

also returns the loglikelihood, `b`

,`logl`

,`H`

,`stats`

]
= coxphfit(___)`logl`

,
a structure, `stats`

, that contains additional statistics,
and a two-column matrix, `H`

, that contains the `T`

values
in the first column and the estimated baseline cumulative hazard,
in the second column. You can use any of the input arguments in the
previous syntaxes.

Was this topic helpful?