BookmarkSubscribeRSS Feed
Andygray
Quartz | Level 8

My understanding is Dictionary.tables and sashelp.vtable are the same. Am i right? If yes, I am using sashelp.vtable to retrieve certain information about the metadata. However, I am confused having seen two kinds of variables in the sashelp.vtable dataset. One has a name "Number of logical Observations" and the other with the name "Number of Physical Observations".

1. What is the difference between the two?

2. Which one is actually denotes the count of observations?

1 REPLY 1
ballardw
Super User

If you look at the additional variable "Number of Deleted Observations" where logical and physical vary I think you'll get a better understanding of what is going on.

I believer you are likely looking for Logical for further processing.

Since are there are two types of counts then the count desired depends on what your are doing.

Unless you are doing manual operations on your data, such as delete row in Viewtable, you'll likely have both values the same.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 421 views
  • 0 likes
  • 2 in conversation