beta.mom: Method of moments estimation ( beta distribution )

Description Usage Arguments Details Value Author(s) Examples

View source: R/beta.mom.R

Description

Method of moments estimation ( beta distribution )

Usage

1
beta.mom(qs.in)

Arguments

qs.in

A vector contains the numbers that will be fitted with a beta distribution.

Details

beta.mom() function can be used to estimate parameters in a Beta function using method of moments

Value

alpha.hat,beta.hat: Returns the estimation of alpha and beta.

Author(s)

Ning Leng

Examples

1
beta.mom(rbeta(10,1,1))

Example output

Loading required package: EBSeq
Loading required package: blockmodeling
Loading required package: gplots

Attaching package: 'gplots'

The following object is masked from 'package:stats':

    lowess

Loading required package: testthat

Attaching package: 'EBSeqHMM'

The following object is masked from 'package:EBSeq':

    f0

[1] 1.0338827 0.9305037

EBSeqHMM documentation built on Nov. 8, 2020, 5:22 p.m.