after merging, with proc sql, different selection generate different numbers of obs
i want to compare the difference of these two datasets, i would prefer to have a new dataset, such as out=
proc compare base=emp95_byidnum compare=emp96_byidnum
out=result outnoequal outbase outcomp outdif
it seems that noprint option does not work
any advice, i do not want to compare the difference of these variables, but really want to see different obs whether they have any differences in dates (two variables, dayin and dayout) only
Please describe what you mean by "noprint option does not work". Since the example code you show is from the online documentation if you create the datasets for the example there is no printed output.
Please provide an example of some input data sets, preferrably as datastep code, and what you desire for the output.
When used with the TRANSPOSE option, ALLVARS displays unequal values in context with the values for other matching variables. If you omit the TRANSPOSE option, then ALLVARS invokes the ALLOBS option and displays the values for all matching observations and variables.
Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.
Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.
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.