Examples (USE command)

USE ALL.
  • This command includes all observations in the file in the USE range.
  • This specification is the same as USE THRU or USE FIRST THRU LAST.
    USE Y 1960.
  • This command selects observations starting with a YEAR_ value of 1960 through the last observation in the file. It is equivalent to USE Y 1960 THRU LAST.
    USE THRU D 5.
  • This command selects all cases from the first case in the file to the last one with a DAY_ value of 5. It is equivalent to USE FIRST THRU D 5.
    USE THRU 5.
  • This command selects cases starting with the first case and ending with the fifth case.
    USE Y 1955 M 6 THRU Y 1960 M 6.
  • This selects cases from June, 1955, through June, 1960.
    USE W 16 D 3 THRU W 48 D 3.
  • This example selects cases from day 3 of week 16 through day 3 of week 48.
    USE CYCLE 2 OBS 4 THRU CYCLE 2 OBS 17.
  • This example selects observations 4 through 17 of the second cycle.