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 !