View source: R/summary-stats.R
default_pic_stat | R Documentation |
Creates a list of the default test statistics to be used to asses model adequacy
default_pic_stat()
The following test statistics are produced by this function:
m.sig: The mean of the squared contrasts. This is equivalent to the REML estimate of sigsq.
c.var: The coefficient of variation of the absolute value of the contrasts.
s.var: The slope of a linear model fit between the contrasts and their expected variances.
s.anc: The slope of a linear model fit between the contrasts and their inferred ancestral state.
s.hgt: The slope of a linear model fit between the contrasts and the node height at which they were calculated.
d.cdf: The D-statistic from a KS test comparing the distribution of the contrasts to a normal distribution with mean 0 and variance equal to the square root of the squared mean of the contrasts.
a named list of functions
calculate_pic_stat
, pic_stat_msig
, pic_stat_cvar
,
pic_stat_svar
, pic_stat_sasr
, pic_stat_shgt
,
pic_stat_dcdf
## get default test statistics stats <- default_pic_stat() stats
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.