
Extracts the sparse part from a (U,W) graphon mixture
extract_sparse.Rd
This 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_hubs
The number of hubs in the sparse component.
phat
The probability vector of the sparse component. This is also known as the mass partition.
segment_sizes
The sizes of the two line segments.
line_equations
The two equations of the lines.
cutoff
The best cut off for the two lines.
models
The models of the fitted lines.
mse
The mean squared error
data
The degree data.