Hi:
Since I was a Literature major, I don't dabble in statistics and weights much. However, I do know how to read the documentation.
A WEIGHT
statement will apply to ALL the analysis variables, as described here:
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#/documentation/cdl/en...
However, PROC TABULATE allows you to have multiple CLASS statements and multiple VAR statements just for the purpose of specifying different
options for different category and analysis variables.
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#/documentation/cdl/en...
As it says in the documentation on the VAR statement:
Tip: Use the WEIGHT option in multiple VAR statements to specify different weights for the analysis variables.
The general syntax for having multiple VAR and CLASS statements is:
[pre]
VAR peso / weight=xxxxx;
VAR var1 var2 funcion;
CLASS ambito / preloadfmt;
CLASS estado tiempo / style={background=pink};
[/pre]
cynthia