Description Usage Arguments Details Value
View source: R/get_gof_measures.R
Compare flexsurv and survfit
1 | get_gof_measures(KM_fit, m_flexsurvreg)
|
KM_fit: |
a |
m_flexsurvreg: |
a |
# Returns a data.frame
with the columns
fit_mse: The mean squared error of the linear model
mse: average of the squared difference between
rho_KM_flex: correlation between
loglik: log likelihood of the model
p_ks_test: p-value of the Kolmogorov-Smirnov test ks.test()
: A data.table
with the comparison results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.