computeQhat: Internal Function for calculating the posterior expectation...

Description Usage Arguments Details Value Note Author(s)

Description

internal function not called by user

Usage

1
2
3
4
computeQhat(vec.teststats,
            alpha,
            nsims,
            part1)

Arguments

vec.teststats
alpha

The significance level for the test.

nsims

The current number of simulations being investigated

part1

a vector of length two containing test statistic and variance estimate (results from getCutoffTaleTwo/getCutoffTableThree)

Details

This function is used in the BayesWays function to calculate the posterior expectation of qualitles for a set of test statistics

Value

returns a numeric representing posterior expectation of quantiles

Note

internal function not called by user

Author(s)

Lori A. Shepherd, Wan-Min Tsai, Albert Vexler, Jeffrey C. Miecznikowski


dbEmpLikeNorm documentation built on May 2, 2019, 3:45 p.m.