Description Usage Arguments Value Author(s) References See Also Examples
Calculate a Wilcoxon two group rank test statistic, with optional propensity score weighting.
1 |
p |
a numeric vector of observed p values from a list of SNPs or a matrix, with each column representing a vector under a different permutation of the dataset. |
snps.in |
a numeric vector indicating which members of p form the test group (their complement form the control group). |
weights |
optional propensity score weights. These are binned according to binsize, and a weight calculated which is inversely proportional to the probability of sampling a member of the test group in that bin. |
binsize |
see weights, above. |
A numeric value or, if p is a matrix, a numeric vector.
Chris Wallace
Propensity weights are described
Rosenbaum, P. R. & Rubin, D. B. The central role of the propensity score in observational studies for causal effects. Biometrika, 1983, 70, 41-55
Rosenbaum, P. R. Model-based direct adjustment. Journal of the American Statistical Association, 1987, 82, 387-394
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.