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

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/beta.mom.R

Description

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

Usage

1
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

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

Example output

Loading required package: blockmodeling
To cite package 'blockmodeling' in publications please use package
citation and (at least) one of the articles:

  Žiberna, Aleš (2007). Generalized blockmodeling of valued networks.
  Social Networks 29(1), 105-126.

  Žiberna, Aleš (2008). Direct and indirect approaches to blockmodeling
  of valued networks in terms of regular equivalence. Journal of
  Mathematical Sociology 32(1), 5784.

  Žiberna, Aleš (2014). Blockmodeling of multilevel networks. Social
  Networks 39, 4661. https://doi.org/10.1016/j.socnet.2014.04.002.

  Žiberna, Aleš (2020).  Generalized and Classical Blockmodeling of
  Valued Networks, R package version 1.0.0.

To see these entries in BibTeX format, use 'print(<citation>,
bibtex=TRUE)', 'toBibtex(.)', or set
'options(citation.bibtex.max=999)'.
Loading required package: gplots

Attaching package:gplotsThe following object is masked frompackage:stats:

    lowess

Loading required package: testthat

EBSeq documentation built on Nov. 8, 2020, 6:52 p.m.