Programming the statistical procedures from SAS

proc NPAR1WAY, DSCF option not working

Reply
Regular Contributor
Posts: 196

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

Posted in reply to munitech4u

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: 196

Re: proc NPAR1WAY, DSCF option not working

Posted in reply to SteveDenham

It throws the same error. Syntax error.

Respected Advisor
Posts: 3,805

Re: proc NPAR1WAY, DSCF option not working

Posted in reply to munitech4u

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

Regular Contributor
Posts: 196

Re: proc NPAR1WAY, DSCF option not working

Posted in reply to data_null__

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

Posted in reply to munitech4u

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,805

Re: proc NPAR1WAY, DSCF option not working

Posted in reply to munitech4u

That option is not available in SAS 9.2

Super User
Posts: 20,735

Re: proc NPAR1WAY, DSCF option not working

Posted in reply to munitech4u

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
  • 897 views
  • 0 likes
  • 4 in conversation