Modify network to ensure stationarity.
This function ensures that the eigenvalues of the network structure matrix are smaller or equal to 1, thereby ensuring stationarity of the regression. This is done by removing edges at random until the condition is satisfied.
Original network structure, a matrix of size NumNodes by NumNodes.
Number of nodes.
Returns a network with fewer eigenvalues than the original network, but satisfying the stationarity condition.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.