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 (February 2006, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 14 Feb 2006 05:23:24 -0500
Reply-To:   Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject:   Re: a class variable & proc boxplot question

don't know anything about proc mixed. The plot in one graph: you should try to define a axis with the axis-statement, which fits to your needs. Something with

axis1 order=(1 to 105 by 15);

and assign this axis by the option haxis=axis1, like:

plot w*week / boxstyle=schematic idsymbol=circle haxis=axis1 .....

On Tue, 14 Feb 2006 10:06:00 +0100, antoniababe@YAHOO.SE wrote:

>Hi, > >I have a variable group consists of values 1, 2, 3 and >4. When adding this variable in class statement like > >proc mixed data=one; >class group week; >model weight=group week; >run; > >sas uses the group 4 as the reference group and give >no estimate for this group. If I want to use the group >1 as the reference group intead of group 4, Is there >an easy way to do it? Like writting >group(ref='1') in the class statement. > > >Another question is, I have a box plot with variable w >on the vertical axis and week on horisontal axis. The >variable week has range from 1-105. When I plotted >these two variables against each other I got an output >on three pages with week ranged from 1-25 on first >page, 26-63 on the second page, and the last interval >on the third page. How do I write in the proc boxplot >so that these three pages(outputs) are collected in >just one output with the week interval 1-105 and not >with three week intervals ? Below is my sas code > >proc sort data=ny; >by week; >run; >title 'Box plots of inverse probability weights'; >proc boxplot data=ny; >plot w*week / boxstyle=schematic idsymbol=circle >idcolor=black cboxes=blue cboxfill=yellow >boxwidth=10; >inset nobs mean / header = 'Overall Stats' >pos = tm; >insetgroup min max /header = 'Stats by week'; >label week = 'week' >w = 'Inverse Probability Weights'; >run; > > > >Thanks for your help, >Yen,


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