Traffic lighting for character variables? On Fri, 5 Mar 2010 18:23:47 -0500, Ya Huang <ya.huang(a)AMYLIN.COM> wrote: Hi there, For numeric var, we can define range in format to control the cell background/foreground. What about character var? data xx; s='123523'; output; s=' 234'; output; s='Abc dd'; output; run; ods pdf file="c:\t... 8 Mar 2010 13:02
Two Do Blocks in SAS hI All , I ant to create three new column variables :- Week , Revenues and SameDayDelivery from the column variables given in the data sales.The code i used is - data weekly_sales_revenues; set sales; IF "01/11/2009" <= DateofSale < "08/11/2009" THEN Week = "Week1"; Else IF "08/11/2009" <= DateofSale... 7 Mar 2010 12:56
Graph Help Hello all, I am a novice to graphs. I have a task here. I finished a bar chart of mean score across several visits of different groups. I had mean scores on the bars as well. Along with them I need to put P values on the bars. Can I have a code help for annotation(I did not do that before)? I can search in google ... 5 Mar 2010 20:42
Graph help Hello all, I am a novice to graphs. I have a task here. I finished a bar chart of mean score across several visits of different groups. I had mean scores on the bars as well. Along with them I need to put P values on the bars. Can I have a code help for annotation(I did not do that before)? I can search in goo... 6 Mar 2010 14:04
Traffic lighting for character variables? Hi there, For numeric var, we can define range in format to control the cell background/foreground. What about character var? data xx; s='123523'; output; s=' 234'; output; s='Abc dd'; output; run; ods pdf file="c:\temp\junk.pdf" style=printer; proc format; value $msbg low-high='white' other='blac... 5 Mar 2010 19:36
Proc Tabulate Hello , I've used the folllowing code :- /* Find Revenues for the different period sales*/ data revenues; set sales; if Laptopmodel="AT3600" then do; if warranty=1 then revenue=UnitsSold*(1199.99+39); if warranty=0 then revenue=UnitsSold*1199.99; end; else if Laptopmodel="AP3965" then do; i... 7 Mar 2010 15:09
Driving Distances? Mary, I'm obviously NOT Mike and normally wouldn't even attempt to answer for him. However, this time I can, without question, speak for him. Take a look at: http://www.sascommunity.org/wiki/Driving_Distances_and_Drive_Times_using_SA S_and_Google_Maps or, in short form: http://xrl.us/bexy8q HTH, Art ... 5 Mar 2010 18:28
censoring when you have events Hi, I have a longitidinal dataset with two surgeries (right and left). However I want to look at first surgery (event) which will be either right or left. the data looks something likes this: ID visit sxr sxl 1 1 0 0 1 2 0 1 1 3 1 0 1 4 0 ... 6 Mar 2010 17:23
Nobyline- table is splitting Hi, I am using the code below to produce a word doc: options nobyline; ods rtf file='C:\projects\Tox Reports.doc'; proc print data=max_grade_counts_tran width=min noobs; by set group; run; ods rtf close; In truth, I am using some extra statements including a title statement with #byval but the problem I ... 5 Mar 2010 16:12
A Proq Freq or Univariate or count quesion - Thanks a lot for Hi Seth, Thanks for the solution, but it does not work. Count is not correct. can you please check it? Thanks ... 5 Mar 2010 16:12 |