Loading…
CONDITIONAL INDEPENDENCE TEST FOR CATEGORICAL DATA USING POISSON LOG-LINEAR MODEL
We demonstrate how to test for conditional independence of two variables with categorical data using Poisson log-linear models. The size of the conditioning set of variables can vary from 0 (simple independence) up to many variables. We also provide a function in R for performing the test. Instead o...
Saved in:
Published in: | Journal of Data Science 2021-03, Vol.15 (2), p.351-360 |
---|---|
Main Author: | |
Format: | Article |
Language: | English |
Citations: | Items that cite this one |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | We demonstrate how to test for conditional independence of two variables with categorical data using Poisson log-linear models. The size of the conditioning set of variables can vary from 0 (simple independence) up to many variables. We also provide a function in R for performing the test. Instead of calculating all possible tables with for loop we perform the test using the log-linear models and thus speeding up the process. Time comparison simulation studies are presented. |
---|---|
ISSN: | 1683-8602 1680-743X 1683-8602 |
DOI: | 10.6339/JDS.201704_15(2).0010 |