DATA Step, Macro, Functions and more

Record vs observation

Reply
Contributor
Posts: 53

Record vs observation

Hi,

 

I am reading topics on creating multiple observations from a single record {@,@@) and creating one observation per detail record.

 

I am getting confused between record and observation. Is there a easy way to understand the difference?

 

Thanks,

Archana

Super User
Posts: 5,079

Re: Record vs observation

There's no real difference.  They both mean a single row of data.  SAS documentation uses "observation" to mean a row of data in a SAS data set, and "record" to mean a row of data from any other source.

SAS Super FREQ
Posts: 8,742

Re: Record vs observation

Hi:
These all mean the same thing:
observation=row=record
variable=column=field
dataset=table=file

For example, observation, variable and dataset are SAS terms; row, column and table are relational database terms; row, column and sheet are Excel terms; record, field and file are mainframe file terminology.

cynthia
Ask a Question
Discussion stats
  • 2 replies
  • 289 views
  • 1 like
  • 3 in conversation