how to find AIC values for both models using R software?

705 Views Asked by At

I'm studying survival analysis.

I estimated both Cox regression model and Buckley&James regression model.

In order to determine which model is better for my dataset, I used Akaike Information Criteria (AIC). Well, How to find AIC values for both models using R software?

1

There are 1 best solutions below

3
On BEST ANSWER

For a coxph object (the Cox regression) you can use the extractAIC command from the stats package. For more details see here.