fit.WinCurse: Fit Winner's Curse Model

Description Usage Arguments Value Examples

View source: R/Estimation.R

Description

Fit Winner's Curse Model

Usage

1
2
3
4
5
6
7
8
9
fit.WinCurse(
  theta,
  se,
  pi = NULL,
  tau2 = NULL,
  eps = 1e-06,
  maxit = 100,
  report = FALSE
)

Arguments

theta

Parameter estimates.

se

Parameter standard errors.

pi

Initial value of pi, the proportion of null parameters.

tau2

Initial value of tau, the variance component.

eps

Tolerance for Newton-Raphson iterations.

maxit

Maximum number of NR iterations.

report

Report fitting progress?

Value

Object of class 'winCurse' containing:

Examples

1
2
3
4
5
data(wc_data)
fit <- fit.WinCurse(
  theta = wc_data$theta,
  se = wc_data$se
)

zrmacc/WinCurse documentation built on April 2, 2021, 3:40 a.m.