Learn R Programming

lame (version 1.3.4)

simZ: Simulate a latent relational Gaussian array

Description

Draws a latent normal array from the social relations model: each directed cell has mean EZ and marginal variance s2, and the two cells of a dyad share within-dyad correlation rho. Rectangular (bipartite) inputs carry no within-dyad correlation and are drawn independently.

Usage

simZ(EZ, rho, s2 = 1)

Value

a simulated value of Z

Arguments

EZ

expected value of Z

rho

dyadic correlation

s2

dyadic variance

Author

lame authors