Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume you use the SAS program PROC SORT DATA = DATA_1; BY ID; RUN; PROC SORT DATA = DATA_2; BY ID; RUN; DATA second; MERGE

Assume you use the SAS program

PROC SORT DATA = DATA_1; BY ID; RUN;

PROC SORT DATA = DATA_2; BY ID; RUN;

DATA second;

MERGE DATA_1 DATA_2;

BY ID;

RUN;

DATA_1

ID DATE

123 1/31/2013

456 9/15/2014

789 6/5/2015

DATA_2

ID DATE

123 9/5/2014

123 6/22/2014

333 2/9/2015

456 11/15/2013

Which of the following will happen?

a) The variable Date in DATA_1 will overwrite the variable Date in DATA_2 for observations with common ID values

b) The variable Date in DATA_2 will overwrite the variable Date in DATA_1 for observations with common ID values

c) Both Date variables will be included as separate variables

d) SAS will give you an error message

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algebra and Trigonometry

Authors: Ron Larson

10th edition

9781337514255, 1337271179, 133751425X, 978-1337271172

More Books

Students also viewed these Mathematics questions

Question

The only phyto hormone which is a gas at ordinary temperature?

Answered: 1 week ago

Question

The two fluids that circular in the body?

Answered: 1 week ago

Question

Eliminated from the body?

Answered: 1 week ago