Detection of Evolutionary Shifts in Both Optimal Value and Variance
Backward Selection for OU Model Shift Correction
Fit OU Model with Shifts in Mean and Variance
Generate Design Matrix
Model Selection for OU Shifts in Optimal value and Variance
Estimate Shifts in Optimal Trait Values and Variance
OU.vcv
Plot Method for ShiftModel Objects
Print Method for Summary of ShiftModel
ShiVa: Automatic Shift Detection in Mean and Variance
Soft Thresholding
Summary of a ShiVa Shift Model
Update Step for Gamma
Implements statistical methods for detecting evolutionary shifts in both the optimal trait value (mean) and evolutionary diffusion variance. The method uses an L1-penalized optimization framework to identify branches where shifts occur, and the shift magnitudes. It also supports the inclusion of measurement error. For more details, see Zhang, Ho, and Kenney (2023) <doi:10.48550/arXiv.2312.17480>.