llsrmRho function

SRM log likelihood evaluated on a grid of rho-values

SRM log likelihood evaluated on a grid of rho-values

Calculation of the SRM log-likelihood over a grid of rho-values

llsrmRho(Y, Sab, rhos, s2 = 1)

Arguments

  • Y: sociomatrix assumed to follow a mean-zero SRM distribution
  • Sab: covariance matrix of additive effects
  • rhos: vector of rho-values at which to calculate the log-likelihood
  • s2: current value of s2

Returns

a vector of log-likelihood values

Author(s)

Peter Hoff

  • Maintainer: Peter Hoff
  • License: GPL-3
  • Last published: 2024-02-20