tRoot: This function is used to find the root for a t-distribution...

Description Usage Arguments Value

View source: R/ep.R

Description

This function returns the difference between the lower tail probability of a non-central t-distribution and a confidence level q where the t-distribution has df degrees of freedom and non-centrality parameter delta.

Usage

1
tRoot(delta, test_stat, df, conf_level)

Arguments

delta

Non-centrality parameter

test_stat

Test statistic at which to evaluate the t-distribution

df

Degrees of freedom

conf_level

Confidence level (usually alpha/2 or 1-alpha/2)

Value

dif Difference between t-distribution quantile and confidence level


exceedProb documentation built on Aug. 27, 2019, 9:02 a.m.