beta.mom {EBSeqHMM}R Documentation

Method of moments estimation ( beta distribution )

Description

Method of moments estimation ( beta distribution )

Usage

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

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

[Package EBSeqHMM version 1.22.0 Index]