dySEM: حزمة R لنمذجة المعادلات الهيكلية الثنائية مع المتغيرات الكامنة dySEM: An R Package for Dyadic Structural Equation Modeling with Latent Variables

شارك:
المجلة: The Journal of Open Source Software، المجلد: 11، العدد: 121
DOI: https://doi.org/10.21105/joss.10115
تاريخ النشر: 2026-05-19
المؤلف: John Kitchener Sakaluk وآخرون
الموضوع الرئيسي: المنهجيات النفسية والاختبار

نظرة عامة

حزمة dySEM، التي تم تطويرها لـ R، تعزز من وظائف حزمة lavaan لتناسب نماذج المعادلات الهيكلية (SEMs) المصممة خصيصًا للبيانات الثنائية، والتي تتضمن أزواج مترابطة مثل الشركاء الرومانسيين أو الأصدقاء. كانت الحزمة في البداية تركز على اختبار الثبات الثنائي – لضمان التكافؤ النفسي للاستجابات داخل الأزواج – وقد تطورت لدعم مجموعة أوسع من تطبيقات SEM. تشمل الآن أدوات لتحديد، وتناسب، وتقرير نماذج ثنائية متنوعة تستخدم المتغيرات الكامنة.

تستوعب dySEM عدة أنواع من SEMs الثنائية: نماذج “بناء واحد”، حيث يتم تقييم كلا عضوين الزوج على نفس البناء (مثل، رضا العلاقة)؛ نماذج “بناءين”، حيث يتم تقييم كل عضو على بناء مختلف، وغالبًا ما تستخدم أطر مثل نموذج الاعتماد المتبادل بين الشريك والممثل (APIM)؛ ونماذج “متعددة البناء”، التي تشمل عدة بناءات تقاس عبر كلا عضوي الزوج، مثل التقييمات متعددة الأبعاد لجودة العلاقة. هذه الوظائف الشاملة تجعل dySEM مصدرًا قيمًا للباحثين الذين يحللون العلاقات المعقدة المترابطة.

نقاش

في قسم النقاش، يؤكد المؤلفون على ضرورة أن تتناول نماذج البيانات الثنائية تحديين تحليليين رئيسيين: التخفيف من آثار الملاحظات غير المستقلة وتمثيل الاعتماد المتبادل بدقة، وهو أمر حاسم في البحث الثنائي. يجادلون بأن الجمع بين نمذجة المعادلات الهيكلية (SEM) والمتغيرات الكامنة يمكن أن يعالج هذه القضايا بفعالية مع تقليل التحيزات المرتبطة بخطأ القياس، والذي يكون شائعًا بشكل خاص في تحليل البيانات الثنائية. ومع ذلك، يعترفون بأن تعقيد تحديد وتفسير نماذج SEM الثنائية يمكن أن يثني الباحثين، خاصة أولئك الجدد على هذه المنهجية. لمعالجة هذه الحواجز، يقدم المؤلفون dySEM، وهو برنامج مفتوح المصدر مصمم لتبسيط عملية إجراء تحليلات SEM الثنائية.

يسلط المؤلفون الضوء على الميزات الفريدة لـ dySEM، بما في ذلك وظائف البرمجة سهلة الاستخدام التي تقلل بشكل كبير من كمية الشيفرة المطلوبة لتناسب النماذج مقارنةً ببرامج SEM التقليدية مثل lavaan. يؤكدون أن dySEM يتميز بطبيعته مفتوحة المصدر، واختبار الوحدات الواسع، والدعم القوي لنماذج المتغيرات الكامنة. تم تصميم البرنامج لتعزيز الشمولية في تحليل البيانات من خلال الافتراض بنماذج غير قابلة للتمييز، مما يستوعب أنواع الأزواج المتنوعة. بالإضافة إلى ذلك، يسهل dySEM التقرير القابل للتكرار والتصور للنتائج، مما يعزز سير العمل البحثي بشكل عام. منذ إصداره، اكتسب dySEM شعبية في مجتمع البحث، كما يتضح من اعتماده في الدراسات المنشورة وورش العمل، مما يدل على اهتمام متزايد بمنهجيات SEM الثنائية.

Journal: The Journal of Open Source Software, Volume: 11, Issue: 121
DOI: https://doi.org/10.21105/joss.10115
Publication Date: 2026-05-19
Author(s): John Kitchener Sakaluk et al.
Primary Topic: Psychometric Methodologies and Testing

Overview

The dySEM package, developed for R, enhances the functionality of the lavaan package for fitting structural equation models (SEMs) specifically tailored for dyadic data, which involves interdependent pairs such as romantic partners or friends. Initially focused on testing dyadic invariance—ensuring psychometric equivalence of responses within dyads—the package has evolved to support a broader range of SEM applications. It now includes tools for specifying, fitting, and reporting various dyadic models that utilize latent variables.

dySEM accommodates several types of dyadic SEMs: “uni-construct” models, where both members of the dyad are assessed on the same construct (e.g., relationship satisfaction); “bi-construct” models, where each member is evaluated on different constructs, often employing frameworks like the Actor-Partner Interdependence Model (APIM); and “multi-construct” models, which involve multiple constructs measured across both dyad members, such as in multidimensional assessments of relationship quality. This comprehensive functionality positions dySEM as a valuable resource for researchers analyzing complex interdependent relationships.

Discussion

In the discussion section, the authors emphasize the necessity for models of dyadic data to address two primary analytic challenges: mitigating the effects of non-independent observations and accurately representing interdependence, which is crucial in dyadic research. They argue that the combination of Structural Equation Modeling (SEM) and latent variables can effectively tackle these issues while reducing biases associated with measurement error, which is particularly prevalent in dyadic data analysis. However, they acknowledge that the complexity of specifying and interpreting dyadic SEM models can deter researchers, especially those new to this methodology. To address these barriers, the authors introduce dySEM, an open-source software designed to simplify the process of conducting dyadic SEM analyses.

The authors highlight dySEM’s unique features, including its user-friendly scripting functions that significantly reduce the amount of code required to fit models compared to traditional SEM software like lavaan. They assert that dySEM is distinguished by its open-source nature, extensive unit testing, and robust support for latent variable models. The software is designed to promote inclusivity in data analysis by defaulting to indistinguishable models, thereby accommodating diverse couple types. Additionally, dySEM facilitates reproducible reporting and visualization of results, enhancing the overall research workflow. Since its release, dySEM has gained traction in the research community, evidenced by its adoption in published studies and workshops, indicating a growing interest in dyadic SEM methodologies.