Skip to content

Methods · Network analysis · Statistical network models

p2 Random-Effects Model for Directed Binary Networks (Laplace-Approximated Maximum Likelihood)

Models each pair of actors in a directed network through the joint chance of the two possible ties, with an overall density, a reciprocity effect, covariates on the tie, and random sender and receiver effects that capture how active and how popular each actor is. The likelihood is integrated over the random effects by the Laplace approximation.

방향이 있는 연결망에서 두 행위자 쌍마다 서로 향하는 두 연결이 생길 결합 확률을 모형화합니다. 전체 밀도, 상호성 효과, 연결에 대한 공변량, 그리고 각 행위자가 얼마나 연결을 많이 보내고 받는지를 나타내는 무작위 발신·수신 효과를 포함하며, 무작위 효과에 대한 적분은 라플라스 근사로 계산합니다.

In an advice network of 70 employees, are advice ties reciprocated beyond chance, and do seniority and same-department membership raise the chance of a tie once differences in activity and popularity are allowed for?

직원 70명의 조언 연결망에서 활동성과 인기의 차이를 고려해도 조언이 상호적으로 오가고, 직급과 같은 부서 여부가 연결 가능성을 높입니까?

Density, reciprocity and covariate effects with standard errors, the sender and receiver variances and their correlation, a test of the actor effects and estimated activity and popularity of actors.

When to use p2 Random-Effects Model for Directed Binary Networks (Laplace-Approximated Maximum Likelihood)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The p2 model gave a reciprocity effect of [value] (SE [value]) with a sender variance of [value] and a receiver variance of [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 3 reference tests compare the results with NetworkX, SciPy and direct computations (formulas, enumeration or simulation).

    독립 계산. NetworkX·SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 3건 통과.

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run p2 Random-Effects Model for Directed Binary Networks (Laplace-Approximated Maximum Likelihood) on Quorant

Data you need
a table (CSV or Excel) with source and target
Price
600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q63058 · Reviewed 2026-10-25