BookmarkSubscribeRSS Feed
Ravikumarkummari
Quartz | Level 8

Hi all. The data is in excel file. your valid comments are welcome. I tried but the output result is missing. So is there any procedure how we achieve this.

thanks in advance

1 REPLY 1
Cynthia_sas
SAS Super FREQ

Hi:

  Here are my comments:

1) this looks like a homework assignment

2) what code have you tried -- you say that "you tried but the output result is missing" So what did you try.

3) do you want an output report or do you want a dataset

4) you ask if there is any procedure to achieve what you want, but since it is not clear what you want, that is a hard question to answer. If you use PROC SQL, you will have to find the week number where the amount is GE 20000 and then remerge that weeknumber back with all the rows grouped by that person. So if you are going to have to do a remerge, then you could do this with a DATA step program or with a hash table.

5) if you had shown the code you tried, we would have had some idea of whether you are at a level for SQL vs DATA step vs HASH table, but in the absence of what you've tried, then it is nearly impossible to make constructive suggestion.

6) putting your data into a PDF file doesn't really help anyone -- it is more helpful if you do have sample data to post a program that makes your test data and then shows us what code you've tried with the test data. As it stands now, people either have to exporrt from the PDF file and strip out the output column and write one program to read the data and THEN write another program to try to help you.

cynthia

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
  • 1 reply
  • 674 views
  • 0 likes
  • 2 in conversation