newtonRaphsonC {saebnocov} | R Documentation |
Estimates alpha and beta parameter with Newton Raphson method by Claire E.B.O.
newtonRaphsonC(data.dir, pcap, maxiter, tol)
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 |
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. |
## 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)