Description Details Author(s) See Also Examples
Construct the simultaneous confidence intervals for
ratios of means of Log-normal populations with zeros. It also has a Python module that do the same thing,
it can be applied to multiple comparisons of parameters of any k mixture distribution. And it provide four methods,
the method based on generalized pivotal quantity with order statistics (GPQH
and GPQW
),
and the method based on two-step MOVER intervals (FMW
and FMWH
).
At present, these four function perform better than other methods that can be used to calculate the simultaneous confidence interval of log-normal populations with excess zeros.
Jing Xu, Xinmin Li, Hua Liang
[1] Besag I, Green P, Higdon D, Mengersen K, 1995. Bayesian computation and Stochastic-systems.
[2] Hannig J, Abdel-Karim A, Iyer H, 2006. Simultaneous fiducial generalized confidence intervals for ratios of means of lognormal distribution.
[3] Hannig J, Lee T C M, 2009.Generalized fiducial inference for wavelet regression.
[4] Li X, Zhou X, Tian L, 2013. Interval estimation for the mean of lognormal data with excess zeros.
[5] Schaarschmidt F, 2013. Simultaneous confidence intervals for multiple comparisons among expected values of log-normal variables.
[6] Jing Xu, Xinmin Li, Hua Liang. Simultaneous Confidence Intervals for Ratios of Means of Log-normal Populations with Zeros.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | ## Not run:
#====================GPQW================
alpha <- 0.05
p <- c(0.1,0.15,0.1)
n <- c(30,15,10)
mu <- c(1,1.3,2)
sigma <- c(1,1,1)
N <- 1000
GPQW(n,p,mu,sigma,N)
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;
GPQW(n,p,mu,sigma,N,C2 = C2)
#====================GPQH===============
alpha <- 0.05
p <- c(0.1,0.15,0.1)
n <- c(30,15,10)
mu <- c(1,1.3,2)
sigma <- c(1,1,1)
N <- 1000
GPQH(n,p,mu,sigma,N)
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;
GPQH(n,p,mu,sigma,N,C2 = C2)
#====================FMW=================
alpha <- 0.05
p <- c(0.1,0.15,0.1)
n <- c(30,15,10)
mu <- c(1,1.3,2)
sigma <- c(1,1,1)
N <- 1000
FMW(n,p,mu,sigma,N)
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)
#====================FMWH================
alpha<-0.05
p <- c(0.1,0.15,0.1)
n <- c(30,15,10)
mu <- c(1,1.3,2)
sigma <- c(1,1,1)
N <- 1000
FMWH(n,p,mu,sigma,N)
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;
FMWH(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.