Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The degrees of freedom of a higher order network are not computed correctly when the data is not complete #53

Open
user1246638 opened this issue Nov 11, 2019 · 0 comments

Comments

@user1246638
Copy link
Collaborator

user1246638 commented Nov 11, 2019

I made a few corrections to the computation of the degrees of freedom of a higher order network, so that it works now, if the size of the data is large enough. If it isn't, the degrees of freedom will be overestimated.

The calculation goes as follows: we need to compute the number of links of a higher order network, and the number of nodes with a non-zero out-degree. The first, we infer from the first order network (sum of elements of the power of the adjacency matrix). The second we calculate by iterating through higher order nodes, and counting the ones with the non-zero out-degree.

The degrees of freedom are the difference of the two numbers:
< dof > = < number of higher-order links > - < number of higher order non-zero out-degree nodes >

Since the first order network is recovered whole with not much data, the first quantity is determined correctly. The second quantity, however, is underestimated when the data is insufficient, because the higher-order network is not complete.

This means that we overestimate the degrees of freedom of an order when we do not have enough data for the order. It finds the correct value when the data is large enough to visit all the nodes, however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant