Model 4
graph LR;
A --> C;
A --> B --> C;
Its definition file
Setting up the models for analysis
Out = ['', 'B', 'C']
In = [[],['A'],['A','B']]
Inter = [ [[]], [[]], [[]] ]
Estimating the regression equations
regstats(B,[A])
regstats(C,[A B])
graph LR;
A --> C;
A --> B --> C;
Out = ['', 'B', 'C']
In = [[],['A'],['A','B']]
Inter = [ [[]], [[]], [[]] ]
regstats(B,[A])
regstats(C,[A B])