Loglinear Models Use loglm With (In) R Software
https://yamcode.com/stata-loglm
Event probability regression of Occurrence of events models Use stpreg With STATA 18
https://yamcode.com/rsoftware-stpreg