Description Usage Arguments Details Value Author(s) Examples
A method based on the method based on two-step MOVER intervals(also see FMWH
) to construct the simultaneous confidence intervals for
Ratios of Means of Log-normal Populations with Zeros.
1 |
n |
The sample size of the mixture distributions,must be an integer vector. |
p |
The zero probability of the mixture distribution,it has the same length to the n params. |
mu |
The mean of the non-zero samples,which after log-transformation. |
sigma |
The variance of the non-zero samples,which after log-transformation. |
N |
The number of independent generated data sets. |
C2 |
Matrix C,You can refer to the paper of Xu et al. for specific forms. |
alpha |
The confidence level,it always set alpha=0.5 |
More information about FMW, you can read the paper: Simultaneous Confidence Intervals for Ratios of Means of Log-normal Populations with Zeros.
The method will return the Simultaneous Confidence Intervals(SCIs) and the time consuming
Jing Xu, Xinmin Li, Hua Liang
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | alpha <- 0.05
p <- c(0.1,0.15,0.1)
n <- c(30,30,30)
mu <- c(0,0,0)
sigma <- c(1,1,1)
N <- 500
FMW(n,p,mu,sigma,N)
## Not run:
p <- c(0.1,0.15,0.1,0.6)
n <- c(30,15,10,50)
mu <- c(1,1.3,2,0)
sigma <- c(1,1,1,2)
C2 <- rbind(c(-1,1,0,0),c(-1,0,1,0),c(-1,0,0,1),c(0,-1,1,0),c(0,-1,0,1),c(0,0,-1,1))
N <- 1000
FMW(n,p,mu,sigma,N,C2 = C2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.