Cloglin_mult {efflog} | R Documentation |
Fitting a causal log-linear model with the multiplicative interaction
Description
Cloglin_mult is used to fit causal log-linear models and under dummy code parametrization
Usage
Cloglin_mult(table)
Arguments
table |
it is a table containing the frequency distribution of the variables |
Value
Cloglin_mult returns the estimated causal parameters of the additive form, their standard errors and their p-values which test the null hypothesis H_0: parameter=0.
Author(s)
Gloria Gheno
References
Gheno Gloria (2015), The causal analysis in the loglinear model
Examples
tableXZY<-data.frame(expand.grid(
X=factor(c("0","1"),levels=c("0","1")),
Z=factor(c("0","1"),levels=c("0","1")),
Y=factor(c("0","1"),levels=c("0","1"))),
count=c(57,47,21,39,31,40,20,95))
Cloglin_mult(tableXZY)
[Package efflog version 1.0 Index]