Description Usage Arguments Value Examples
Test the fit of a power law to the degree distribution of the language network.
1 | testpl(model, getraw = F)
|
model |
A power law model already fitted to the raw data. |
If getraw = F, returns the raw bootstrap output. Can be used for further analysis or visualization. If getraw = T, returns means and sds of the estimated parameters from the bootstrap.
1 2 3 4 5 6 7 8 | testpl(model.pl, getraw = F)
# xmin mean, xmin sd, alpha mean, alpha sd, p value will be listed
# interpreting the p-value: if p value is not sig, cannot reject H0
# i.e., we cannot rule out the power law model
# H0: data is generated from a power law distribution.
# H1: data is not generated from a power law distribution.
bspresults <- testpl(model.pl, getraw = T)
# returns the raw outputs of the bootstrap
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.