sentence1: it is a specific kind of generalized linear model , where its function is the logit function and the independent variable y is a binary or dicothomic variable which has a bernoulli distribution .
sentence2: it is a specific kind of generalized linear model where its function is the logit function and the dependent variable y is a binary or dichotomic variable which has a bernoulli distribution .