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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 379 views
  • 0 likes
  • 2 in conversation