what is the difference between SET and MERGE?

Answer Posted / swetha

We use merge when we have information abouth the topic in
two or more datasets. So that by merging we get the
complete information about the topic in one dataset.It is
combining the data horizontally.

But we use set, when the datasets are mutually exclusive.
i.e. information in dataset A in not depending the
information in dataset B.It is combining the data
vertically.

Is This Answer Correct ?    24 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can read the variables that you need?

645


what is the use of sas management console? : Sas-di

605


Differentiate input and infile.

586


Can you execute macro within another macro? : sas-macro

515


what is null hypothesis? why do you consider that?

2407






How can you limit the variables written to output dataset in data step?

739


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

694


What is run-group processing?

614


How would you define the end of a macro?

691


what is hash files in sas and why we are using this one in sas?

1716


Difference between SAS STATA & SPSS?

668


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1655


What are all the problems you faced while validating tables and reports?

2996


What is the differnce between SDTM 3.1.2 to 3.1.1 version

4595


Explain the difference between informat and format with an example.

673