Concurvity occurs when some smooth term in a model could be approximated by one or more of the other smooth terms
in the model. This is often the case when a smooth of space is included in a model, along with smooths of other covariates
that also vary more or less smoothly in space. Similarly it tends to be an issue in models including a smooth of time,
along with smooths of other time varying covariates.Concurvity can be viewed as a generalization of co-linearity, and causes similar problems of interpretation. It can also make estimates somewhat unstable (so that they become sensitive to apparently innocuous modelling details, for example).
This routine computes three related indices of concurvity, all bounded between 0 and 1, with 0 indicating no problem,
and 1 indicating total lack of identifiability. The three indices are all based on the idea that a smooth term, f,
in the model can be decomposed into a part, g, that lies entirely in the space of one or more other terms
in the model, and a remainder part that is completely within the term's own space. If g makes up a large part of f then there is a concurvity problem. The indices used are all based on the square of ||g||/||f||, that is the ratio of the squared
Euclidean norms of the vectors of f and g evaluated at the observed covariate values.
The three measures are as follows
[object Object],[object Object],[object Object]