SPSS logistic regression

I'm wondering if there is a way to get many single covariate logistic regression. I want to do it for all my variables because of the missing values. I wanted to have a multiple logistic regression but I have too many missing values. I don't want to compute a logistic regression for each variable in my DB, is there any automatic way?

Thank you very much!

Answers


You can code it using SPSS syntax.

For example:

LOGISTIC REGRESSION VARIABLES F2B16C -- Dependent variable


  /METHOD=BSTEP -- Backwards step - all variables in then see what could be backed out

  XRACE BYSES2 BYTXMSTD F1RGPP2 F1STEXP XHiMath  -- Independent variables

  /contrast (xrace)=indicator(6)  -- creates the dummy variables with #6 as the base case

  /contrast (F1Rgpp2)=indicator(6)

  /contrast (f1stexp)=indicator(6)

  /contrast (XHiMath)=indicator(5)

  /PRINT=GOODFIT CORR ITER(1) 

  /CRITERIA=PIN(0.05) POUT(0.10) ITERATE(20) CUT(0.5).`

If you do that you can also tell it to keep records with missing values where appropriate. add /MISSING=INCLUDE

If anyone knows of a good explanation of the implications of including the missing values, I'd love to hear it.


Need Your Help

Is cors not allowed on chrome by default even if server has implemented cors?

google-chrome cors

I'm developing a web application. During development, I want my locally hosted application can send xmlhttprequest to another domain.

Google app engine Calendar API

python google-app-engine google-calendar

I do the instalation in the site enter link description here, and works well but when I put a code from the example pf calendarsList it fails.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.