Help using Base SAS procedures

kde

Reply
N/A
Posts: 0

kde

hi

I'm trying to use kde to generate a bivariate density estimate, but although the procedure runs and produces a plot it does not put the results into a SAS dataet. The code I'm using is:

ods html;
ods graphics on;

proc kde data=datain out=devn;
BIVAR VAR1 VAR2;
run;

ods graphics off;
ods html close;

and the data set size is ~510715 records.

The message I get back after the calculation is performed is:

NOTE: Processing BIVAR statement number 1.
NOTE: The data set WORK.DEVN has 0 observations and 0 variables

Anyone have any ideas?

Cheers
Trusted Advisor
Posts: 2,113

Re: kde

What version of SAS? The use of the OUT= changed between 8.2 and 9.2.

See page 2888
http://support.sas.com/documentation/cdl/en/statugkde/61796/PDF/default/statugkde.pdf
N/A
Posts: 0

Re: kde

hi

the version of sas that I am using is 9.1

Regards
N/A
Posts: 0

Re: kde

Ok I've figured it out the out option needs to go with the BIVAR statement and not the kde
Ask a Question
Discussion stats
  • 3 replies
  • 159 views
  • 0 likes
  • 2 in conversation