Changes between Version 5 and Version 6 of WikiStart
 Timestamp:
 Dec 11, 2012, 1:51:30 PM (11 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

WikiStart
v5 v6 3 3 4 4 [[BR]] 5 This R package contains two functions. The betabinomial test ('''bb.test''') can be used for significance analysis of independent samples (two or more groups). The inverted betabinomial test ('''ibb.test''') can be used for paired sample testing (e.g. pretreatment and posttreatment data). 5 6 7 [[BR]] 8 9 All rights reserved by the author. This software package is provided for research purposes in a noncommercial environment. Please do not redistribute. 6 10  7 11 … … 20 24 === Arguments === 21 25 22 x: A vector or matrix of counts. When xa matrix, the test is performed row by row.26 ''x'': A vector or matrix of counts. When ''x'' a matrix, the test is performed row by row. 23 27 24 tx: A vector or matrix of the total sample counts. When tx is a matrix, the number of rows must be equal to the number of rows of x.28 ''tx'': A vector or matrix of the total sample counts. When ''tx'' is a matrix, the number of rows must be equal to the number of rows of ''x''. 25 29 26 group: A vector of group indicators.30 ''group'': A vector of group indicators. 27 31 28 alternative: A character string specifying the alternative hypothesis: "two.sided" (default), "greater" or "less".32 ''alternative'': A character string specifying the alternative hypothesis: "two.sided" (default), "greater" or "less". 29 33 30 n.threads: The number of threads to be used.34 ''n.threads'': The number of threads to be used. 31 35 32 36 === Details === 33 37 34 When n.threads is 0, the maximal number of CPU cores is used. When n.threadsis 1, one CPU core less than the maximum is used, and so on.38 When ''n.threads'' is 0, the maximal number of CPU cores is used. When ''n.threads'' is 1, one CPU core less than the maximum is used, and so on. 35 39 36 40 === Value === 37 41 38 A list with a single component is returned 42 A list with a single component is returned: 39 43 40 p.value: The pvalue of the test.44 ''p.value'': The ''p''value of the test. 41 45 42 46 === Author === … … 73 77 === Arguments === 74 78 75 x: A vector or matrix of counts. When xis a matrix, the test is performed row by row.79 ''x'': A vector or matrix of counts. When ''x'' is a matrix, the test is performed row by row. 76 80 77 tx: A vector or matrix of the total sample counts. When tx is a matrix, the number of rows must be equal to the number of rows of x.81 ''tx'': A vector or matrix of the total sample counts. When ''tx'' is a matrix, the number of rows must be equal to the number of rows of ''x''. 78 82 79 group: A vector of group indicators. There should be two groups of equal size. The samples are matched by the order of appearance in each group.83 ''group'': A vector of group indicators. There should be two groups of equal size. The samples are matched by the order of appearance in each group. 80 84 81 alternative: A character string specifying the alternative hypothesis: "two.sided" (default), "greater" or "less".85 ''alternative'': A character string specifying the alternative hypothesis: "two.sided" (default), "greater" or "less". 82 86 83 87 ''n.threads'': The number of threads to be used.