pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Output ONLY sig. level in binary logistic regression


From: Oren Ish-Shalom
Subject: Output ONLY sig. level in binary logistic regression
Date: Tue, 14 Dec 2021 07:11:51 +0200

Hi all,
I’m running 200,000 binary logistic regressions
(loop from a bash linux terminal)
I’m only interested in extracting the significance level.
Here is my sps script:

GET DATA
/TYPE=TXT
/FILE='example_data.csv'
/DELIMITERS=','
/FIRSTCASE=2
/VARIABLES=
    serial F32
    gene A64
    time F8.8
    survived F1.

LOGISTIC REGRESSION survived WITH time.
EXECUTE.

When I run it I get three tables but only need the significance (0.436 here):

            Variables in the Equation
+---------------+-----+----+----+--+----+------+
|               |  B  |S.E.|Wald|df|Sig.|Exp(B)|
+---------------+-----+----+----+--+----+------+
|Step 1 depth   | 2.36|3.03| .61| 1|.436| 10.62|
|       Constant|-2.75|2.90| .90| 1|.344|   .06|
+---------------+-----+----+----+--+----+------+

Any way to print just this value ?
Thanks !


reply via email to

[Prev in Thread] Current Thread [Next in Thread]