RMSE.Rd
Computes the Root Mean Squared Error
RMSE(model, adj, null = FALSE)
model | nrm model estimate |
---|---|
adj | original adjacency matrix |
null | logical, whether to compute using null model |
numeric, root mean squared error of residuals of nrm model fit
data('highschool.predictors') highschool.m <- nrm(w=highschool.predictors[1], adj=contacts.adj, directed=FALSE, selfloops=FALSE) RMSE(highschool.m, contacts.adj)#> [1] 42.17002