Description Usage Arguments Details Value Author(s) References Examples
The normal scan statistic evaluates the statistic which compares the node attribute within the subgraph with that outside the subgraph while the node attribute follows the normal distribution.
1 | norm.stat(obs, pop = 1, zloc)
|
obs |
Numeric vector of observation values. |
pop |
Numeric vector of population values ; default = 1. |
zloc |
Numeric vector of selected nodes. |
A network with interested attributes is denoted as G=(V,E,X), where X=(x_1,…,x_{|V|}) follows a defined distribution. Suppose a subgraph, Z, is selected.
λ_A(Z)=n\ln (√{(\hat{σ}^2))}-n\ln (√{(2 \hat{σ}_z^2)}),
where \hat{σ}^2=∑_{i=1}^n(x_i-\bar{x})^2/n, and \hat{σ}_z^2=[∑_{i \in Z}(x_i-\bar{x}_z)^2-∑_{j \notin Z}(x_j-\bar{x}_x)^2]/n, in which n is the number of nodes, and \bar{x}_z=∑_{i \in Z} x_i/n_z and \bar{x}_c=∑_{j \notin Z} x_j/(n-n_z). It is equivalent to minimize the variance within the subgraph Z.
Three values will be returned. The first value is test statistic. The second is the estimated means which estimated outside the selected nodes. The third is the estimated means estimated within the selected nodes.
Taichi Wang <taichi43@stat.sinica.edu.tw>
Kulldorff, M., Huang, L., & Konty, K. (2009). A scan statistic for continuous data based on the normal probability model. International journal of health geographics, 8(1), 58.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.