Description Usage Arguments Author(s) Examples
A function to compute SCIs for lon-normal populations with zeros.
1 | GPQW(n1, n2, n3, p1, p2, p3, mu1, mu2, mu3, sigma1, sigma2, sigma3, alpha, N, C2)
|
ni |
the ith sample size,must be an integer |
pi |
Sample i's zero probability |
mui |
Non-zeros sample i's mean after log transformation |
sigmai |
Non-zeros sample i's variance after log transformation |
alpha |
like alpha=0.05 |
N |
The number of independent generated data sets |
C2 |
Matrix C, You can refer to reference [6] for specific forms |
Jing Xu, Xinmin Li, HuaLiang
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
#-----GPQW Example---------------------------------
alpha<-0.05
N<-5000;
M<-5000;
p<-c(0.1,0.15,0.1)
n<-c(30,15,10)
mu<-c(1,1.3,2)
sigma<-c(1,1,1)
GPQW(n[1],n[2],n[3],p[1],p[2],p[3],mu[1],mu[2],mu[3],sigma[1],sigma[2],sigma[3],alpha,N);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.