Web Images Videos Maps News Groups Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
SOLVED: Remove the "and" from Proc Tabulate Header Box
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
webonomic  
View profile  
 More options Jan 29, 6:04 pm
Newsgroups: comp.soft-sys.sas
From: webonomic <webono...@gmail.com>
Date: Thu, 29 Jan 2009 15:04:07 -0800 (PST)
Local: Thurs, Jan 29 2009 6:04 pm
Subject: SOLVED: Remove the "and" from Proc Tabulate Header Box
In response to my own thread (http://groups.google.ca/group/comp.soft-
sys.sas/browse_thread/thread/bb16cc848bfde4ce/aefecb4dbdd1f55f?
lnk=gst&q=Remove+the+%22and%22#aefecb4dbdd1f55f)

List member Howard kindly asked that I provide more details about my
question.  I can do more than that because the mystery has been
solved.

The answer came from the SUGI paper "Anyone can Learn Proc Tabulate"
which discussed the _PAGE_ variable and Three dimensional proc tabs.
(http://www.google.ca/url?sa=t&source=web&ct=res&cd=1&url=http%3A%2F
%2Fwww2.sas.com%2Fproceedings
%2Fsugi27%2Fp060-27.pdf&ei=FzSCSdf_OYT8NPrM5dQD&usg=AFQjCNHbAxhRG4V4MrFupQH lvpaXWgi-
dA&sig2=jD4nS6WXzhRpDzuxxm6FwQ).

In a Three dimensional Proc Tabs, if you don't supply labels for the
Page dimension, it will simply print out their values.  See this
following example which prints the values for "origin" and "make" on
the top left .

PROC TABULATE DATA=sashelp.cars noseps;
CLASS make type origin drivetrain;
table origin = ' ' * make = ' ',
type = ' ' , drivetrain = ' ' ;
RUN;

Now if we add a label (e.g. origin = 'Origin is equal to ') then SAS
puts an "and" between origin and make.

PROC TABULATE DATA=sashelp.cars noseps;
CLASS make type origin drivetrain;
table origin = 'origin is equal to = ' * make = 'make is equal to =
',
type = ' ' , drivetrain = ' ' ;
RUN;

In the top left you should see " origin is equal to = USA
                       and make is equal to = Saturn"

My original question was if the "and" could be removed.  I still don't
know the answer, but I sure learned a lot about Proc Tabulate.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google