Description Usage Arguments Value References Examples
Computes prediction intervals for a GLS regression. When the variance covariance matrix is based on a phylogeny, this computes the prediction intervals for a phylogenetic regression (PGLS).
1 | gls.pi(Y, X, Sigma, k)
|
Y |
Dependent variable. |
X |
Independent variable. |
Sigma |
Matrix describing the covariance among data points. For the phylogenetic regression, this is based on a phylogeny (vcv(tree)). |
k |
The sample size of the estimated future points. |
GLS results.
Prediction intervals of the estimates ('PI').
Prediction intervals of unobserved values of Y ('PI.plot').
Smaers & Rohlf (2016) Testing species' deviations from allometric preductions using the phylogenetic regression. Evolution. 70 (5): 1145-1149.
1 | see https://smaerslab.com/software/
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.