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


Please Help Members By Posting Answers For Below Questions

How substr function works in sas?

682


what is the function of catx syntax? : Sas-administrator

624


What are the parameters of scan function?

585


what is the difference between nodup and nodupkey options? : Sas programming

595


Enlist the syntax rules followed in sas statements.

592






how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

569


: and & modifiers.

842


What is the difference between using drop = data set option in data statement and set statement?

618


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?

2353


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.

1765


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1640


Difference between sum function and using “+” operator?

573


Hi, If anyone has base SAS certification dumps, please share.

1359


what is the purpose of _error_? : Sas programming

577


Name types of category in which SAS Informats are placed?

694