APIMtoTrans: APIMtoTrans

Description Usage Arguments Value Examples

Description

Transforms APIM beta-coefficients into an equivalent transition matrix. (only implemented for binary dyadic sequences!)

Usage

1
APIMtoTrans(B0_1, AE_1, PE_1, Int_1, B0_2, AE_2, PE_2, Int_2)

Arguments

B0_1

Intercept if the first sequence is the dependent variable

AE_1

Actor-Effect if the first sequence is the dependent variable

PE_1

Partner-Effect if the first sequence is the dependent variable

Int_1

Actor*Partner-Intercation-Effect if the first sequence is the dependent variable

B0_2

Intercept if the second sequence is the dependent variable

AE_2

Actor-Effect if the second sequence is the dependent variable

PE_2

Partner-Effect if the second sequence is the dependent variable

Int_2

Actor*Partner-Intercation-Effect if the second sequence is the dependent variable

Value

myTrans a transition matrix

Examples

1
2
3
4
5
6
7
8
trans1<-APIMtoTrans(B0_1=0.1, AE_1=0.2, PE_1=0.3, Int_1=0.4,
                   B0_2=0.5, AE_2=0.6, PE_2=0.7, Int_2=0.8)

#inspecting the equivalent matrix
trans1

#backtesting by transforming the matrix back into beta-coefficients
round(TransToAPIM(trans1),6)

PeFox/DySeq documentation built on May 8, 2019, 1:28 a.m.