beta.mom: Fit the beta distribution by method of moments

View source: R/beta.mom.R

beta.momR Documentation

Fit the beta distribution by method of moments

Description

'beta.mom' fits the beta distribution by method of moments.

Usage

beta.mom(qs.in)

Arguments

qs.in

A vector contains the numbers that are assumed to follow a beta distribution.

Value

alpha.hat

Returns the estimation of alpha.

beta.hat

Returns the estimation of beta.

Author(s)

Ning Leng

References

Ning Leng, John A. Dawson, James A. Thomson, Victor Ruotti, Anna I. Rissman, Bart M.G. Smits, Jill D. Haag, Michael N. Gould, Ron M. Stewart, and Christina Kendziorski. EBSeq: An empirical Bayes hierarchical model for inference in RNA-seq experiments. Bioinformatics (2013)

See Also

DenNHist, DenNHistTable

Examples

#tmp = rbeta(5, 5, 100)
#param = beta.mom(tmp)

wiscstatman/EBSeq documentation built on June 3, 2023, 7:34 a.m.