View source: R/halfnorm.randomnr.ci.R

Confidence intervals for Rosenthal's fail-safe number assuming a half normal distribution with a random number of studies | R Documentation |

Confidence intervals for Rosenthal's fail-safe number assuming a half normal distribution with a random number of studies.

halfnorm.randomnr.ci(stat, se, alpha = 0.05, type = "dist")

`stat` |
A vector with the statistics. |

`se` |
A vector with the standard errors of the stat. |

`alpha` |
The significance level, set to 0.05 by default. |

`type` |
The type of confidence intervals to construct. Based on distributional assumptions ("dist") or based on the method of moments ("mom") or both "both". |

The function computes confidence intervals assuming a half normal distribution assuming that the number of studies is random and estimating the variance either via MLE or moments or bootstrap as described in Fragkos, Tsagris & Frangos (2014).

A list including:

`Nr` |
Rosenthal's fail safe number. |

`variance` |
The variance of Rosenthal's fail safe number. |

`ci` |
The (1-alpha)% confidence interval for the true Rosenthal's fail safe number. |

Michail Tsagris and Constantinos Frangos

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Constantinos Frangos kfragkos@outlook.com.

Konstantinos C. Fragkos, Michail Tsagris and Christos C. Frangos (2014). Publication Bias in Meta-Analysis: Confidence Intervals for Rosenthal's Fail-Safe Number. International Scholarly Research Notices, Volume 2014.

```
halfnorm.fixednr.ci den.plot, rosenthal,
convergence.rate
```

stat <- rnorm(30, 3, 0.2) se <- rchisq(30, 1) halfnorm.fixednr.ci(stat, se)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.