
GET FILE='e:\demo power\power data.sav'.

GRAPH
  /HISTOGRAM=time_o2
  /PANEL ROWVAR=sex ROWOP=CROSS .

temporary.
select if (sex eq 3).
GRAPH
  /HISTOGRAM=time_o2.

temporary.
select if (sex eq 4).
GRAPH
  /HISTOGRAM=time_o2.

* obtain t value, sample sizes and dfs for input to spss program

T-TEST
  GROUPS = sex(3 4)
  /MISSING = ANALYSIS
  /VARIABLES = time_o2
  /CRITERIA = CI(.95) .