Learn R Programming

EBSeqHMM (version 1.6.0)

beta.mom: 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.

Value

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

Details

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

Examples

Run this code
beta.mom(rbeta(10,1,1))

Run the code above in your browser using DataLab