

APIM with count data and proportion data 

Message/Author 

Biru Zhou posted on Thursday, October 10, 2013  2:21 pm



Hello, I am very new to SEM and Mplus. I have some questions regarding anlayzing proportion data or count data in actor partner interdependence models (APIM). My questions are as follows: 1) What are the appropriate estimators for count and proprotion data for APIM in the context of SEM? 2) APIM with count and proportion data can also be analyzed in the MLM approach using link functions = log and logit repectively (Loeys et al., 2013). What would the interpretation be like in SEM with the appropriate estimators? Would it be the same as in MLM, the results can be interpreted in terms of odds ratios? Many thanks! 


1. Maximum likelihood estimation is used for count variables. See the COUNT option in the user's guide to see the available models. Proportion=Count / N ... you can then use offset modeling with a count variable – see the following post. http://www.statmodel.com/discussion/messages/23/781.html 2. The results are in the log rate scale. When it is exponentiated, it is a mean. 

Biru Zhou posted on Wednesday, October 16, 2013  4:24 pm



Thank you for your reply, Linda. If I have two variables that are proportions (i.e., S2 and P2) and I want to run a simple APIM with S1 and P1 as IVs and S2, P2 as DVs, nS1 as the number of trails for S1 and nP1 as the number trials for P1, would the following syntax be correct: VARIABLE: NAMES ARE id S1 S2 P1 P2 nS1 nP1; USEVARIABLES ARE S1 S2 P1 P2 offset1 offset2; COUNT = S2 P2; DEFINE: offset1=log(nS1); offset2=log(nP1) ANALYSIS: Type = General; Estimator = mlr; MODEL: S2 ON offset1@1 S1; S2 ON offset1@1 P1; P2 ON offset2@1 S1; P2 ON offset2@1 P1; Many thanks! Sincerely, Biru 

Biru Zhou posted on Thursday, October 17, 2013  5:11 am



Hello, in my previous post, I realized that I missed one statement in the model: P2 ON offset2@1 P1; S2 WITH P2; Since S2 and P2 are proportions, should I model is as: offset1@1 WITH offset2@1 ? Sincerely, Biru 


WITH statements are not allowed with count DVs. Instead, a factor can be defined by the 2 DVs; this lets them correlate beyond what their predictors explain. You should not use WITH for the offsets. 

Back to top 

