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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1215 views
  • 0 likes
  • 3 in conversation