2
$\begingroup$

I have so far used the ordinary least squares (Classical Linear Regression Model) for several projects. There I used to check whether the assumptions such as homoskedasticity, lack of multicollinearity, normality of residuals etc. hold to a satisfactory degree to make sure that the hypothesis tests are valid.

For a new project I am working on, for the first time, I am advised to use the Logit model of the following form--

$$P(Y=1)=f(\beta_0 + \beta_1 X_1 + \beta_2 X_2 + \beta_3 X_1 X_2)$$

$$f(x) = \frac{1}{1+e^{-x}}$$

Here $Y, X_1$ and $X_2$ are all dummy variables.

I want to test hypotheses of the following form--

$$\beta_1 \neq 0$$ $$\beta_2 \neq 0$$ $$\beta_3 \neq 0$$

How should I go about doing that? And for any method you suggest, I wished to know what are the assumptions that I need to check to make sure the hypothesis tests in this logit regression are valid. Are the assumptions the same as that of CLRM? Any addition or subtraction? Or are the assumptions completely different?

Also, I currently use IBM SPSS mostly, can those assumptions be checked there?

$\endgroup$
5
  • 2
    $\begingroup$ Can you pleas spell out CLRM? Your model is logistic regression, so see this list of relevant posts. $\endgroup$ Jul 15, 2020 at 15:50
  • $\begingroup$ By CLRM I meant the Classical Linear Regression Model. I also saw the list you suggested, there are similar questions but what I seek to know is a way to attain p-values for the beta coefficients (assuming the coefficients are 0 as the null hypothesis) and the required assumptions for those p-values to be valid, the answer to which I didn't find there. $\endgroup$ Jul 15, 2020 at 17:21
  • $\begingroup$ Please edit your post to include the explication of CLRM there. Not everybody reads comments. $\endgroup$ Jul 15, 2020 at 19:57
  • 2
    $\begingroup$ This question is too vague to be answerable yet, because the answer depends on how you test those hypotheses--and there are several different methods in common use. Please indicate that in your edits to the question. $\endgroup$
    – whuber
    Jul 16, 2020 at 13:47
  • $\begingroup$ Added the how part $\endgroup$ Jul 16, 2020 at 14:12

1 Answer 1

4
$\begingroup$

Assuming you want to use the Wald tests or the Likelihood ratio tests, which are standard, you need to verify that the likelihood function is correct. A major assumption is that the binary dependent variable data values are conditionally independent, given the predictor variables' data. This assumption is needed to allow for the construction of the likelihood function as the product of individual likelihoods. You can assess this assumption first by knowledge of the data-generating process - is it time series? Is it repeated measures or longitudinal? Cluster samples? All those cases would indicate possible dependence structure. After that, if the data generating mechanism does follow such a dependence producing mechanism, you can "test" whether it is a problem by fitting a model that allows such a dependence structure and comparing a likelihood-based measure of fit with that of a comparable model that assumes independence.

There is no normality or homoscedasticity assumption here; both are subsumed under the assumption of a Bernoulli distribution for the dependent variable, which is automatically true with binary response, and therefore need not be tested. (Both normality and homoscedasticity are obviously false here because of the Bernoulli response, but you don't care, because you are in fact assuming a Bernoulli response.)

The other major assumption needed for correctness of the likelihood function is that the conditional probability of a particular outcome is linearly related to the predictor variables on the logit scale. While this assumption is crucial, it is obviously false to one degree or another, except in degenerate cases such as when there is only one predictor variable that can itself take only two values. To assess the validity of this assumption you can fit models that allow curvature, such as models with transformed X variables, models with interactions, models with quadratics, etc., and compare likelihood-based measures of fit.

A final caveat, some might call it an assumption: These tests are large sample tests, so they are better with large sample sizes. You can assess whether the the sample sizes are large enough by repeatedly simulating data from a process like the one that produced your data, but with zero effects, using the same sample size, and counting the proportion of p<.05 rejections. If close to .05, then the sample size caveat is not of concern.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.