0
$\begingroup$

I am using binary logistic regression; the dependent variable is 1 or 0; the independent variables are two groups: the first group includes continuous variables (LNTA: logarthim of total assets, ROA: return on assets, and Leverage; the second group includes categorical variables (Type of auditor: 1 or 0, Industry sector: 1,2,3, and 4, country: 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10), and finally region: 1 or 2. The problem is that when I put all these independent variables together, I get results only for 8 countries not for 9 countries. I know that I have 10 countries and in the results table only 9 countries will appear as the country number 10 is reference category; but this case is different because both countries 9 and 10 are not included in the table.

$\endgroup$
  • $\begingroup$ What software are you using (eg, SAS)? Can you post your code (eg, proc logistic)? $\endgroup$ – gung - Reinstate Monica Dec 18 '12 at 14:47
  • $\begingroup$ I am using SPSS $\endgroup$ – Salem Eltkhtash Dec 18 '12 at 17:30
  • $\begingroup$ @gung is right to ask for the syntax (if necessary, use "Paste" in the regression dialog box), and in order to help you people might also need to see any output tables that list the country categories. $\endgroup$ – rolando2 Dec 18 '12 at 22:11
  • $\begingroup$ One additional clarification request: you say "The problem is that when I put all these independent variables together, I get results only for 8 countries not for 9 countries." Does this mean that if you run a model with a restricted set of predictors (e.g. just one or two predictors) that you get 9 country parameters in your output? $\endgroup$ – James Stanley Dec 19 '12 at 20:28
1
$\begingroup$

This was going to be a comment asking for clarification, but I wanted to give a screenshot.

A quick question (which you might already know the answer to) -- do you have missing data from any of your variables? I'd suspect the most likely culprit is that you have at least one missing datapoint for all of the observations from "Country 9" and hence all of the Country 9 observations are excluded from analysis?

Running Logistic Regression in SPSS should start off with a "Case Processing Summary" table that will answer this for you. Here's an example from a dataset with no missing variables (I just blanked out the raw data filename).

enter image description here

EDIT: Example two, parameter specification. Just in case!

Another issue with SPSS is that the "Parameter Coding" doesn't necessarily correspond to your original values.

e.g. in the "Variables in the Equation" table, Country(7) doesn't necessarily mean the Country with the numerical value of 7, but rather the seventh parameter associated with the Country factor. You should check the "Categorical Variables Codings" table to make sure that all nine countries are showing up in that list.

In the example figure below, I mocked up a dataset with five countries and two regions. All values of the outcome for country 3 were set to missing (but all values of Region were complete). Country 3 is skipped from the parameter coding -- but you'll see that Country(3) [the third column of coding for the Country factor] actually pertains to Country==4 in the dataset.

Second set of tables showing parameter specification

| cite | improve this answer | |
$\endgroup$
  • $\begingroup$ Thanks, yes I have missing data, but this will not affect the whole country; this only affects the company in that country; and thus, this company will not be included and the other companies in that country "country 9" will be included in the analysis $\endgroup$ – Salem Eltkhtash Dec 19 '12 at 8:43
  • $\begingroup$ Thanks. I just updated the answer above for a bit more nuance in looking at this issue. It would be helpful if you could post a similar version of this second set of tables (as per the comments to your question) with the command syntax you've run as well. $\endgroup$ – James Stanley Dec 19 '12 at 20:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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