Premium

SAS Base Latest Interview Preparation (Q&A)



Question-: What is the observation in the SAS Dataset?

Answer: As you can see in the previous data, each record in the table is known as observation. There are currently 5 observations.


Question-: What is a Data value?

Answer: Each separate information for a variable and an entity is known as data value.


Question-: Can you please explain, what is an entity and a data value?

Answer: As you can see in the below SAS Dataset, it has detail about the 5 different persons.
FirName LastName Gender Height Weight
Amit Jain Male 162 58
Rakesh Gupta Male 159 57
Nutan Jain Female 148 51
John Fernandes Male 178 78
Venkat Upala Male 167 71

Here, each person is known as an entity. Hence, this dataset represents the 5 entities. Where each entity has some characteristics, which varies from entity to entity (person to person) for example their name, height etc. Hence, the characteristics or the features that varies needs to be represented by a variable. And each individual entity has some value for each variable like Amit has weight 58 kg. Hence, here 58 and Amit all are the Data values. So, an observation contains the Data value for one entity. In the given Dataset we can say
- Total 5 Entity or 5 observations
- Total 5 variables or features
- Total 25 Data values.


Question-: How do you create a new Data set in the SAS?

Answer: In the SAS we use the DATA step to create a new SAS Data set.

Related Questions


Question-: Is case sensitivity matters for the variable name and how internally they are represented?

Question-: What is the SAS Procedure?

Question-: What is the purpose of PRINT procedure?

Question-: What is the difference between procedure and proc step?

Question-: Then what is the proc statement?

Question-: What is the purpose of the “RUN� statement?

Question-: What all are the possible output from the SAS program?

Question-: What all information and data can be stored by the SAS Data sets?