exp_par: Fitting causal log-linear models without the multiplicative...

Description Usage Arguments Value Author(s) References Examples

Description

exp_par calculates the causal parameters for a causal log-linear model under dummy code parametrization

Usage

1

Arguments

table

it is a table containing the frequency distribution of the variables

Value

exp_par returns the estimated causal parameters of the multiplicative form

Author(s)

Gloria Gheno

References

Gheno Gloria (2015), The causal analysis in the loglinear model

Examples

1
2
3
4
5
6
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))
exp_par(tableXZY)

efflog documentation built on May 2, 2019, 8:17 a.m.