
Extracts the sparse part from a (U,W) graphon mixture
extract_sparse.RdThis function extracts the sparse component from a (U,W) mixture graph by fitting two lines to the unique sorted log degree values. The first line gives the number of hubs in the sparse part and the remaining line fits the degrees of the dense part.
Value
a list with the following components:
num_hubsThe number of hubs in the sparse component.
phatThe probability vector of the sparse component. This is also known as the mass partition.
segment_sizesThe sizes of the two line segments.
line_equationsThe two equations of the lines.
cutoffThe best cut off for the two lines.
modelsThe models of the fitted lines.
mseThe mean squared error
dataThe degree data.