Cox proportional hazards regression
returns
a p-by-1 vector, b
= coxphfit(X
,T
)b
, of coefficient
estimates for a Cox proportional hazards
regression of the observed responses T
on
the predictors X
, where T
is
either an n-by-1 vector or an n-by-2
matrix, and X
is an n-by-p matrix.
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.