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>
Subject: Difference between 2 N's
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';