t_conditional_ncp_mle: A function for computing the MLE of a t distribution...

Description Usage Arguments

Description

A function for computing the MLE of a t distribution conditional on selection

Usage

1
2
t_conditional_ncp_mle(x, df = Inf, pval_threshold, threshold = NULL,
  iterlim = 1000)

Arguments

x

the observed value

df

the degrees of freedom of x.

pval_threshold

the pvalue corresponding to the t-statistic (under the null) must be below this value to be observed.

threshold

an alternative way to specify the selection threshold. If specificed, then the selection rule is assumed to be abs(x) > threshold. Takes precedence to pval_threshold.

iterlim

maximum number of numerical optimization iterations. See nlm for details.


ammeir2/CoReAnalysis documentation built on May 17, 2019, 1:28 p.m.