BookmarkSubscribeRSS Feed
NoorulIyn
Calcite | Level 5

This was a question in a certification guide.Could  someone explain this y id statement is declared 3 times ?


This question will ask you to provide a line of missing code. Given the following data set LABS(only first 10 lines shown):

What statement that completes the program to produce the desired output

Response:

IDLABTEST;,IDLABTEST;,

IDLABTEST;

IDLABTEST;,IDLABTEST;,IDLABTEST

4 REPLIES 4
Reeza
Super User

Can you point a reference to the certification guide?

All of those look incorrect to me since they don't have a space after the word ID.

NoorulIyn
Calcite | Level 5

Unfortunately i dont have the link since i copied and closed.But is it possible to have 3 id statements in proc transpose

art297
Opal | Level 21

: Out of curiosity I did a google search for "idlabtest sas" and came across the following: http://wenku.baidu.com/view/b58a1605a8114431b90dd8a3.html

The problem wasn't multiple choice but, rather, fill in the blank.

However, what the site showed as the answer was obviously incorrect:

Answer: IDLABTEST;,IDLABTEST;,IDLABTEST

How they came up with that is a really good question!

Reeza
Super User

Problem with automating extractions.

I was initially going to say contact tech support, but then realized that the question/answer wasn't in a standard SAS format and figured it came from a site like this. 

At any rate, the answer above is wrong. You get what you pay for in these cases :smileymischief:

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
  • 4 replies
  • 1185 views
  • 0 likes
  • 3 in conversation