
| Index | Input A | Input B | Output |
| A | 1 | 0 | 1 |
| B | 1 | 1 | 1 |
| C | 0 | 1 | 0 |
| D | 0 | 1 | 0 |
| E | 1 | 0 | 1 |
Data matrix in effect and dummy coding with interaction effect
Datenmatrix in Effekt- und Dummy-Kodierung mit Interaktionseffekt

Likelihood function
Set up the likelihood and log likelihood for a model with a constant, but only use input B.
Likelihoodfunktion
Stellen Sie die Likelihood- und Log-Likelihood für ein Modell mit Konstante auf, berücksichtigen sie aber nur Input B.
