quartetStarTest {MSCquartets}R Documentation

Hypothesis test for quartet counts fitting a star tree under the MSC

Description

Perform hypothesis test for star tree for a vector of quartet counts to fit expected frequencies of (1/3,1/3,1/3). The test performed is a standard Chi-square with 2 degrees of freedom.

Usage

quartetStarTest(obs)

Arguments

obs

vector of 3 counts of resolved quartet frequencies

Value

p-value

Examples

obs=c(16,72,12)
quartetStarTest(obs)


[Package MSCquartets version 2.0 Index]