estimateCensoredParamModel: A function for estimating parametric model 2 (censoring)

Description Usage Arguments

View source: R/parametricExampleOptim.R

Description

Parametric model 2 assumes that mu ~ N(0, b) and x ~ N(mu, 1), where x is discarded if x > threshold[1] and x < threshold[2]

Usage

1

Arguments

x

the observed data z-scores

threshold

the selection threshold for the selection rule x < threshold[1] or x > threshold[2]. If a scalar is provided, then threshold is set to c(-abs(threshold), abs(threshold)).


ammeir2/selectiveTweedy documentation built on May 24, 2019, 3:02 a.m.