Description Usage Arguments Value Examples
Statistically test nested models for the rejection of the null model in favor of the alternative model.
1 |
data |
A vector of class 'circular' |
null_model |
character string indicating the null model to be used. Must be one of c("M1", "M2A", "M2B", "M2C", "M3A", "M3B", "M4A", "M4B", "M5A", "M5B"). |
alt_model |
character string indicating the alternative model to be used. Must be one of c("M1", "M2A", "M2B", "M2C", "M3A", "M3B", "M4A", "M4B", "M5A", "M5B"). |
A list with elements:
$null_model: Vector with the model name and number of free parameters
$alt_model: Vector with the model name and number of free parameters
$lr: likelihood ratio test statistic 2 * (-log(L1) - -log(L2))
$df: degrees of freedom (difference in number of parameters between models)
$p_val: probability of rejecting null model in favor of alternative model due to chance (e.g, if <0.05, data favors alternative model).
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.