momentClaire {saebnocov}R Documentation

Estimates alpha and beta parameter with Moment method by Claire E.B.O.

Description

Estimates alpha and beta parameter with Moment method by Claire E.B.O.

Usage

momentClaire(data.dir, pcap)

Arguments

data.dir

Direct estimates of the data from function pcapdir

pcap

weighted sample mean and variance from function pcapdir

Value

This function returns a data frame with following objects :

alpha_cap

an alpha estimator by Moment method of Claire E.B.O.

beta_cap

a beta estimator by Moment method of Claire E.B.O.

Examples

## load dataset with no weight value
data(dataEB)
temp = pcapdir(dataEB[,-c(3)])
momentClaire(data.dir = temp$direst, pcap = temp$pcap)

##load dataset with weight value
data(dataEB)
temp = pcapdir(dataEB[,-c(3)])
momentClaire(data.dir = temp$direst, pcap = temp$pcap)


[Package saebnocov version 0.1.0 Index]