# fic v1.0.0

0

0th

Percentile

## Focused Information Criteria for Model Comparison

Compares how well different models estimate a quantity of interest (the "focus") so that different models may be preferred for different purposes. Comparisons within any class of models fitted by maximum likelihood are supported, with shortcuts for commonly-used classes such as generalised linear models and parametric survival models. The methods originate from Claeskens and Hjort (2003) <doi:10.1198/016214503000000819> and Claeskens and Hjort (2008, ISBN:9780521852258).

## Functions in fic

 Name Description fic.default Focused information criteria: main user interface fic.coxph Focused information criteria for Cox proportional hazard regression models melanoma Malignant melanoma survival data summary.fic Summarise focused model comparison results fic-package Focused Information Criteria for Model Comparison expand_inds Form fic model indicator argument in presence of factors fic.lm Focused information criteria for linear models newdata_to_X Convert data frame of covariate values to a design matrix get_H0 Interpolate cumulative hazard function from a fitted Cox model fic.msm Focused information criteria for multi-state models for panel data fic.survreg Focused information criteria for parametric survival models fic_core Focused information criteria: core calculation functions ggplot_fic Plot focused model comparison statistics: ggplot2 method focus_fns Built-in focus functions and their derivatives fit_submodels Fit submodels of a general linear wide model, defined by a matrix of indicators for inclusion of covariates fic.flexsurvreg Focused information criteria for flexible parametric survival models fic.glm Focused information criteria for generalized linear models birthwt Risk factors associated with low infant birth weight all_inds.default Form indicator matrix describing all submodels of a general linear wide model plot.fic Plot focused model comparison statistics: base graphics method No Results!