LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2005, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 30 Sep 2005 07:08:35 -0700
Reply-To:     Alex Pavluck <apavluck@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Alex Pavluck <apavluck@GMAIL.COM>
Organization: http://groups.google.com
Subject:      Difference between 2 N's
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset="iso-8859-1"

Hello. I have a dataset where I want to display the number of observations for 2 different variables and the difference between them. Right now I am using the following code but I am not sure about how to get the difference. Thanks in advance.

proc means data=combined N; var DUBPARTS PARTICIPANTS; label DUBPARTS='Count of Person_ID from original dataset' PARTICIPANTS='Count of unique Person_ID'; title 'Breakdown of participants'; run;


Back to: Top of message | Previous page | Main SAS-L page