Description Usage Arguments Value Author(s) References Examples

This is a method to summarize the results from either the best fitting or all of the estimated models from a WCE object.

1 2 |

`object` |
A WCE object |

`...` |
Optional; other parameters to be passed through to |

`allres` |
Logical. If TRUE, then a summary is produced for every model from the WCE object. If FALSE, then a summary is produced only for the best fitting model, as determined by AIC or BIC. Default to FALSE. |

The `summary`

method prints to screen the estimated coefficients, standard errors and p-values for the coefficients (if any) included in the WCE model. It also provides the partial likelihood and AIC or BIC value, and the number of events used in the estimation of the model.

Marie-Pierre Sylvestre

marie-pierre.sylvestre@umontreal.ca

Sylvestre MP, Abrahamowicz M. Flexible modeling of the cumulative effects of time-dependent exposures on the hazard. Stat Med. 2009 Nov 30;28(27):3437-53.

1 2 3 4 |

```
*** Right-constrained estimated WCE function (Proportional hazards model).***
Estimated coefficients for the covariates:
coef exp(coef) se(coef) z p
age 0.0114 1.0115 0.0040 2.8815 0.004
sex 0.6805 1.9748 0.1187 5.7307 0.000
Partial log-likelihood: -1896.541 BIC: 3822.821
Number of events: 383
Use plot(wce) to see the estimated weight function corresponding to this model.
If you report these results, please cite Sylvestre MP, Abrahamowicz M. Flexible Modeling of the Effects of Time-Dependent Exposures on the
Hazard. Statistics in Medicine 2009; 28(27):3437-3453.
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.