Description Usage Arguments Details Examples
Generate the comparison plots using GLM method and Wilcoxon Rank Sum Test with different mu1.
1 | samplesize.plot(SS.matrix,link.type)
|
link.type |
the type of link used in the beta regression(or Wilcoxon Rank Sum Test). You can choose one or more of the following: "logit", "probit", "cloglog", "cauchit", "log", "loglog", "wilcoxon", "all" |
SS.matrix |
the matrix obtained by the function sample.size.(the formula was described as the output formula in the function sample.size) |
samplesize.plot() returns a series of plots equal to the number of mu1 used in the procedure. Y-axis denotes minimum sample size and X-axis denotes minimum power.
1 2 3 4 5 6 | SSmat <- sample.size(mu0=0.56, sd0=0.255, mu1.start = 0.60, mu1.end = 0.70, mu1.by = 0.05,
power.start = 0.7, power.end = 0.9, power.by = 0.1, link.type = "all")
samplesize.plot(SSmat, "all")
SSmat2 <- sample.size(mu0=0.56, sd0=0.255, mu1.start = 0.60, mu1.end = 0.70, mu1.by = 0.05,
power.start = 0.7, power.end = 0.9, power.by = 0.1, link.type = c("logit","loglog","log"))
samplesize.plot(SSmat2,link.type = c("logit","loglog","log"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.