Programming the statistical procedures from SAS

proc NPAR1WAY, DSCF option not working

Reply
Regular Contributor
Posts: 188

proc NPAR1WAY, DSCF option not working

I am trying following but its not working:

PROC NPAR1WAY data=sales_mkt DSCF WILCOXON;

    class product;

    exact WILCOXON;

    var sec_pos;

    run;

its throwing error for DSCF option.

Any suggestions?

Respected Advisor
Posts: 2,655

Re: proc NPAR1WAY, DSCF option not working

Guessing here.  The DSCF may be incompatible with the EXACT specification for Wilcoxon.  What happens with:

PROC NPAR1WAY data=sales_mkt DSCF WILCOXON;

    class product;

    var sec_pos;

    run;

If this throws the same error, then contacting Tech Support is probably in order.

Steve Denham

Regular Contributor
Posts: 188

Re: proc NPAR1WAY, DSCF option not working

It throws the same error. Syntax error.

Respected Advisor
Posts: 3,780

Re: proc NPAR1WAY, DSCF option not working

My suggestion is to show the error message.  Perhaps also include the version of SAS you are using.

Regular Contributor
Posts: 188

Re: proc NPAR1WAY, DSCF option not working

I am using SAS 9.2. Error message is syntax error.

The CLASS variable has 6 products.

Respected Advisor
Posts: 2,655

Re: proc NPAR1WAY, DSCF option not working

There is the answer.  The DSCF option doesn't appear in the documentation until SAS/STAT12.3 (SAS9.3).  Prior versions (9.2, 9.22) would likely throw a syntax error.

Steve Denham

Respected Advisor
Posts: 3,780

Re: proc NPAR1WAY, DSCF option not working

That option is not available in SAS 9.2

Super User
Posts: 18,567

Re: proc NPAR1WAY, DSCF option not working

The DSCF analysis is available when the number of CLASS variable levels (samples) is greater than 2.

How many levels in your Class variable?

Error message and full log is useful as well.

Ask a Question
Discussion stats
  • 7 replies
  • 823 views
  • 0 likes
  • 4 in conversation