1 #ifndef theplu_yat_regression_cox 2 #define theplu_yat_regression_cox 33 namespace regression {
87 void add(
double x,
double time,
bool event);
97 const std::vector<char>& event);
114 double b(
void)
const;
119 double z(
void)
const;
124 double p(
void)
const;
144 std::unique_ptr<Impl> pimpl_;
The Department of Theoretical Physics namespace as we define it.
double hazard_ratio_lower_CI(double alpha=0.95) const
Cox(void)
Default Constructor.
Cox & operator=(const Cox &other)
double hazard_ratio(void) const
double hazard_ratio_upper_CI(double alpha=0.95) const
This is the yat interface to GSL vector.
Definition: VectorBase.h:55
double p(void) const
two-sided p-value for the null-hypothesis that b is zero.
void add(double x, double time, bool event)