BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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
3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12
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
deleted_user
Not applicable
hi

the version of sas that I am using is 9.1

Regards
deleted_user
Not applicable
Ok I've figured it out the out option needs to go with the BIVAR statement and not the kde

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 644 views
  • 0 likes
  • 2 in conversation