A 'method' for objects of class phylog.lm. Summarizes the results of
the fitted linear models for the simulated (and original) data and
returns p-values. There is a print 'method' for this summary.
Usage
# S3 method for phylog.lm
summary(object, ...)
Arguments
object
an object of class phylog.lm returned from a previous call to
lm.phylog.
...
further arguments passed to or from other methods
(currently not used).
Value
A list (of class summary.phylog.lm) with components
call
the call to lm.phylog
original.model
the model fitted to the original data.
original.Fvalue
the F-values from the original data.
p.value
the p-values for the marginal F-tests and overall F.
quant.F.value
the quantiles of the distribution of F-values
from the simulated data.
num.simul
the number of simulations used in the analyses
Details
The p-value is computed as the (number of simulated data sets
with F-value larger than original (''real'') data + 1) / (number of simulated
data sets + 1).
The quantiles are obtained with the function quantile, and thus linear interpolation is used.
References
Diaz-Uriarte, R., and Garland, T., Jr., in prep. PHYLOGR:
an R package for the analysis of comparative data via Monte Carlo
simulations and generalized least squares approaches.