what is picture format? give any one example?
Answers were Sorted based on User's Feedback
Answer / bitla
picture format writes a template for numerics
proc format ;
picture sno
low - -1 = '00.00'
0-9='9.999'
10-99='99.99'
100-999='999.9'
;
When you specify zero as the digit selector, any leading
zeros in the number to be displayed are shown as
blanks. When nine is specified as the digit selector, the
leading zeros are displayed in the output.
| Is This Answer Correct ? | 13 Yes | 0 No |
picture format is used to Create a template for printing
numbers.
ex:
proc format ;
picture nozeros low - -1 = '00.00' (prefix='-')
-1< - < 0 = '99' (prefix='-.' mult=100)
0 - < 1 = '99' (prefix='.' mult=100)
1 - high = '00.00';
run;
| Is This Answer Correct ? | 5 Yes | 0 No |
proc format;
picture pctfmt low-high='009.90%';
run;
proc tabulate data=xyz;
class name gender;
var rbc wbc;
table (name all)*(genderb all),
rbc*(mean*f=9. pct*f=pctfmt7.2)
wbc*(mean*f=8. pct*f=pctfmt7.2);
keylabel rbc='red blood cell'
wbc='white blood cell'
pct='percent';
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
What type of tables you are using in YOUR reporting..???
2 Answers GSK GlaxoSmithKline,
Compare sas with other data analytics tools.
When you will use nowd option in report???
describe about physical data integration? : Sas-di
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
Name statements that function at both compile and execution time?
What is LAG function?How is it used? can any one explain
3 Answers TRE, Verinon Technology Solutions,
proc means? proc sort? proc append? proc freq? proc print? proc content?
which date function advances a date, time or datetime value by a given interval? : Sas programming
what is pdv? how it is related to input buffer in sas?
Can you continue to write code while the rest of the people on the floor where you work have a noisy party to which you were not invited?
data jagan1.s; input bp$; cards; 100/90 120/89 112/87 run; in the above code how to convert character data values to numeric data values?