get_p_tbl: Compute threshold values and proportions of correct model...

Description Usage Arguments Value Author(s)

View source: R/get_p_tbl.R

Description

Given a set of parameters, computes the 5th and 95th percentile of the log-likelihood ratio for DD trees and TD trees, respectively, and the proportion of trees of the other distribution with log-likelihood ratio scores beyond those thresholds; i.e., the probability that the right model is recovered from such a tree.

Usage

1
get_p_tbl(paras)

Arguments

paras

numeric or character vector, a set of para values. See arg_para for possible values.

Value

a tibble with the parameter values corresponding to para, the threshold values based on percentiles, and the proportion of trees beyond the threshold for each model.

Author(s)

Théo Pannetier


TheoPannetier/DDvTDtools documentation built on Oct. 22, 2020, 2:31 p.m.