Description Usage Arguments Value Author(s) References
This is a simple implementation of the semiparametric two-sample testing problem of given X_1, X_2, …, X_n i.i.d. F and Y_1, Y_2, …, Y_m i.i.d. G, test the null hypothesis of F = G against the alternative hypothesis of F \not = G.
1 2 | gs.test.semipar(g1, g2, k = NULL, nsamples = 2 * max(gorder(g1),
gorder(g2)), test = "R", verbose = FALSE)
|
g1 |
input graph, as an igraph object. See |
g2 |
input graph, as an igraph object. See |
k |
dimension of the latent position that graphs are embeded into. Defaults to |
nsamples |
Number of bootstrap samples when performing hypothesis tesing. Defaults to |
test |
the type of test statistic to use. Defaults to
|
verbose |
logical indicating whether to print output to console. Defaults to |
a list containing the following:
|
The observed test statistic for whether |
|
A length |
|
the p-value associated with the semiparametric two-sample test; the fraction of times |
Eric Bridgeford ericwb95@gmail.com
Athreya, A., Fishkind, D. E., Levin, K., Lyzinski, V., Park, Y., Qin, Y., Sussman, D. L., Tang, M., Vogelstein, J. T., Priebe, C. E. Statistical inference on random dot product graphs: a survey
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.