newtonRaphsonC {saebnocov} | R Documentation |
Estimates alpha and beta parameter with Newton Raphson method by Claire E.B.O.
Description
Estimates alpha and beta parameter with Newton Raphson method by Claire E.B.O.
Usage
newtonRaphsonC(data.dir, pcap, maxiter, tol)
Arguments
data.dir |
Direct estimates of the data from function pcapdir |
pcap |
weighted sample mean and variance from function pcapdir |
maxiter |
the Maximum iteration value |
tol |
Tolerance error value in iteration |
Value
This function returns a data frame with following objects :
alpha_cap |
an alpha estimator by Newton Raphson method of Claire E.B.O. |
beta_cap |
an beta estimator by Newton Raphson method of Claire E.B.O. |
Examples
## load dataset with no weight value
data(dataEB)
temp = pcapdir(dataEB[,-c(3)])
newtonRaphsonC(data.dir = temp$direst, pcap = temp$pcap,
maxiter = 100, tol = 0.00001)
##load dataset with weight value
data(dataEB)
temp = pcapdir(dataEB[,-c(3)])
newtonRaphsonC(data.dir = temp$direst, pcap = temp$pcap,
maxiter = 100, tol = 0.00001)
[Package saebnocov version 0.1.0 Index]