The two-stage procedure first estimates the centralities then regress the outcome of interest to the estimated centralities and other covariates.
two_stage(A, X, y, r = 1, scaled = 1, weights = rep(1, length(y)), ...)
A | The adjacency matrix of the input network |
---|---|
X | The design matrix |
y | The response vector |
r | The rank of the input adjacency matrix |
scaled | Scale \(u\) and \(v\) of norm \(\sqrt{n}\) |
weights | The weight vector for each observation in (X,y) |
Output a two_stage
object
The estimated hub centrality
The estimated authority centrality
The scaled estimated regression coeffcients
The original estimated regression coeffcients without scaling.
The residuals of the regression
The predicted response
The estimated \(\sigma_a\)
The estimated \(\sigma_y\)
The adjacency matrix of the input network
The input design matrix
The input response
The estimation method: two_stage
Auxiliary output from lm.fit