BookmarkSubscribeRSS Feed

FAQ for students and independent learners

Started ‎03-30-2021 by
Modified ‎12-04-2023 by
Views 31,559

Getting Started in Communities

I need help! What do I do now?
Where should I post my questions?
How can I contact someone for help?

 

 

Resources for Students

Do students get free access to software?
Do students get access to free training?
I’m considering a SAS Certification. What resources are available to me?
How can I use SAS in my career?

 

 

Resources for Independent Learners

Do independent learners get free access to SAS software?
Is there any training that independent learners can access for free?
I'm thinking about becoming SAS Certified. What resources are available to me?
How can learning SAS benefit my career?
Comments

Here i Need a solution for below problem. i need output should be like 25.45 only that to be by using string functions.

 

data ex1 ;

mynumber=25.45789;

Hi @Allihaveneed892, please post your question on one of our forums, like the New SAS Users or Programming communities. Experts who can help you are monitoring those forums.

Hi @Pivot_e ,

 

The below code might help you. But I'd recommend to post this question on other forums, like the New SAS Users or Programming communities. Also provide some more details about input data set. 

 

proc sql;
create table new_dataset as select *,
CASE WHEN disease_code between 000 and 100 THEN 1
ELSE 0 END as Dx_G1 ,
CASE WHEN disease_code between 101 and 200 THEN 1
ELSE 0 END as Dx_G2 ,
CASE WHEN disease_code between 201 and 300 THEN 1
ELSE 0 END as Dx_G3

from input_dataset;
quit;

 

@MayurJadhav 

Many thanks  @MayurJadhav .

I have posted it on New SAS Users.

I will as well try this

 

@MayurJadhav . Please note for instance the Dx_G1 should check three variables  (disease_code1, disease_code2, diseases_code3) if there are codes 000 to 100 and then generate Dx_G1 as 1

The answers to these questions are standard everywhere. You can even find them on google. But it was hard for me in college when they asked air pollution essay, I used https://studydriver.com/air-pollution-essay/ for this. So all the difficulties are still to be faced. Students don't know where they are! If something is a joke.

Version history
Last update:
‎12-04-2023 06:25 PM
Updated by:

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags