Description Usage Arguments Value Examples
Fit Winner's Curse Model
1 2 3 4 5 6 7 8 9 | fit.WinCurse(
theta,
se,
pi = NULL,
tau2 = NULL,
eps = 1e-06,
maxit = 100,
report = FALSE
)
|
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? |
Object of class 'winCurse' containing:
@Assignments
: Maximum a posteriori component assignment
and assignment entropy.
@Estimates
: Estimated model parameters.
@Expectations
: Posterior expected effect sizes.
@Responsibilities
: Probabilities the parameter came from the null and
non-null components.
1 2 3 4 5 | data(wc_data)
fit <- fit.WinCurse(
theta = wc_data$theta,
se = wc_data$se
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.