View source: R/compare.fitted.fstats.R
compare.fitted.fstats | R Documentation |
Compare fitted f2, f3 and f4 f-statistics of an admixture graph with estimated ones
compare.fitted.fstats(fstats, fitted.graph, n.worst.stats = 5)
fstats |
Object of class fstats containing estimates of fstats (as obtained with compute.fstats) |
fitted.graph |
Object of class fitted graph (as obtained with fit.graph function). |
n.worst.stats |
The number of worst statistics to be displayed in the terminal |
Compare fitted and estimated f-statistics may allow identifying problematic edges on the graph.
A matrix with 3 columns for each test (row names of the matrix corresponding to the test):
The estimated f-statistics (mean across block-Jackknife samples)
The fitted f-statistics (obtained from the fitted grah parameters
A Z-score measuring the deviation of the fitted values from the estimated values in units of standard errors (i.e., Z=(fitted.value-target.value)/se(target.value))
See compute.fstats
and fit.graph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.