what is picture format? give any one example?
Answer Posted / gaurav verma
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 |
Post New Answer View All Answers
How substr function works in sas?
what is the function of catx syntax? : Sas-administrator
What are the parameters of scan function?
what is the difference between nodup and nodupkey options? : Sas programming
Enlist the syntax rules followed in sas statements.
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
: and & modifiers.
What is the difference between using drop = data set option in data statement and set statement?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
Difference between sum function and using “+” operator?
Hi, If anyone has base SAS certification dumps, please share.
what is the purpose of _error_? : Sas programming
Name types of category in which SAS Informats are placed?