As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Tips:Weighting in PROC CORR

From sasCommunity
Jump to: navigation, search

Some analysts use weights in their correlation analysis. This can be implemented easily in PROC CORR as it allows for the WEIGHT statement.

PROC CORR <statements>;
    <Other statements>;
    WEIGHT <Weight Variable>;

The WEIGHT statement is used when you want observations to contribute unequally in the fitting of the model. For example, a weighting variable could be a calculated criteria for a study that measures adherence to your enterprise vision and mission.

However, the weight statement does not work with some options, and you should be sure to understand the ramifications of zero or missing weights.

....see also

Submitted By Murphy Choy From Singapore