Description Usage Arguments Value Examples
pwr_cv
performs leave-one-out cross-validation to select the optimal bandwidth to the decay function used
in the PWR estimation.
1 |
|
an igraph network object. |
|
the dependent variable of the PWR model |
|
a matrix of covariates for the model. |
|
the values for the bandwidth search. Default searchs over the following values |
|
sample size for the CV search. We suggest the user to reduce the sample to 500 observations for computational reasons. Default is the entire network. |
it returns a list with two objects: the optimal bandwidth and a graph showing the selection
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.