Tuesday
mishrass
Obsidian | Level 7
Member since
08-08-2016
- 10 Posts
- 11 Likes Given
- 0 Solutions
- 6 Likes Received
-
Latest posts by mishrass
Subject Views Posted 58 Tuesday 44 Tuesday 3317 12-23-2024 06:13 AM 273 12-10-2023 01:37 AM 1625 08-08-2016 08:44 AM 1643 08-08-2016 07:33 AM -
Activity Feed for mishrass
- Posted Re: Learning Legends | The Journey to Teaching Excellence on SAS Communities Library. Tuesday
- Posted Re: Learning Legends| Bringing Learning to Life on SAS Communities Library. Tuesday
- Posted Re: Creating a Model Nutrition Label: Model Cards for SAS Model Studio Models on SAS Communities Library. 12-23-2024 06:13 AM
- Got a Like for 2024 Customer Awards: Transport Accident Commission - Innovative Problem Solver. 02-02-2024 09:40 AM
- Got a Like for 2024 Customer Awards: Transport Accident Commission - Innovative Problem Solver. 01-23-2024 03:02 AM
- Got a Like for 2024 Customer Awards: Transport Accident Commission - Innovative Problem Solver. 01-22-2024 02:34 PM
- Got a Like for 2024 Customer Awards: Transport Accident Commission - Innovative Problem Solver. 01-22-2024 02:09 AM
- Posted 2024 Customer Awards: Transport Accident Commission - Innovative Problem Solver on SAS Customer Recognition Awards (2024). 12-10-2023 01:37 AM
- Liked Re: Fun with SAS ODS Graphics: Total eclipse of the sun edition for Jay54. 06-17-2021 05:12 AM
- Liked Re: Fun with SAS ODS Graphics: Total eclipse of the sun edition for PeterClemmensen. 06-17-2021 05:12 AM
- Liked Re: Join datasets by group in sql for novinosrin. 06-12-2021 07:05 AM
- Liked Re: Join datasets by group in sql for Kurt_Bremser. 06-12-2021 07:05 AM
- Posted Re: Need Help writing macro array and transpose statements on SAS Programming. 08-08-2016 08:44 AM
- Posted Need Help writing macro array and transpose statements on SAS Programming. 08-08-2016 07:33 AM
-
Posts I Liked
Subject Likes Author Latest Post 12 3 1 2 -
My Liked Posts
Subject Likes Posted 4 12-10-2023 01:37 AM
Tuesday
I would encourage people to take their own learning journey in SAS programming to enhance their career in data science.
... View more
Tuesday
I have always found instructor led training very useful, however you would also need good mentor to slightly guide and support at work to fully develop skills.
... View more
12-23-2024
06:13 AM
Very useful tool and one stop shop for all modelling work.
... View more
12-10-2023
01:37 AM
4 Likes
<Company Logo here> Company: Transport Accident Commission Company background: The Transport Accident Commission is the statutory insurer of third-party personal liability for road accidents in the State of Victoria, Australia. It was established under the Transport Accident Act 1986. Its purpose is to fund treatment and support services for people injured in transport accidents. Contact: Suryaprakash Mishra Title: Senior Analyst Country: Australia Award Category: Innovative Problem Solver Tell us about the business problem you were trying to solve? Use the SAS programming for data management, analysis and tabulation to create tables for the Victorian Road Safety Action Plan 2 in collaboration with the Department of Transport and Planning Similarly used the SAS programming to create datasets for the investment modelling to plan and implement pl How did you use SAS to solve that business problem? What products did you use and how did you use them? We have SAS EG8.13 What were the results or outcomes? - Description analysis and proc tabulate to create tables Why is this approach innovative? This was the first time I used the SAS EG to develop coding practice by creating common variables, coding the definitions What advice would you give to new SAS users? SAS is easy to learn and use to innovate to solve business problems. Its helping us to use SAS for decision making to reduce fatal and serious injuries on Victorian Roads. <Supporting visuals: Please include any supporting visuals/graphics into your above answers. Use the editor toolbar buttons to add them into your text in the location you want them to appear. We will accept videos for this entry -- add them using the Insert Video button. >
... View more
Labels:
08-08-2016
07:33 AM
*Working code...; data test; set ssh.sshbindicatorstable28jul2016; run; proc contents data=test; run; proc sort data =test; by hsnum year sex age arhsres: wt: disadvqt denom schpatt sch supptype year: agegrp region ariaplusc lhd10 phn_2015_code pcode pcoderes indigene; run; Data m_mental5 (keep= hsnum year sex age arhsres: wt: disadvqt denom schpatt sch supptype year: agegrp region ariaplusc lhd10 phn_2015_code pcode pcoderes indigene m_mental5 m_mental5_txt); set test; m_mental5_txt_1=m_mental5_1_txt; m_mental5_txt_2=m_mental5_2_txt; m_mental5_txt_3=m_mental5_3_txt; m_mental5_txt_4=m_mental5_4_txt; m_mental5_txt_5=m_mental5_5_txt; m_mental5_txt_6=m_mental5_6_txt; m_mental5_txt_7=m_mental5_7_txt; m_mental5_txt_8=m_mental5_8_txt; array a (8) m_mental5_1-m_mental5_8; array b (8) m_mental5_txt_1-m_mental5_txt_8; do i=1 to 8; m_mental5= a(i); m_mental5_txt=b(i); if not missing (m_mental5_txt) then output; end; run; *Macro code generating error; %macro multiresponse (ds=); Data &ds (keep= hsnum year sex age arhsres: wt: disadvqt denom schpatt sch supptype year: agegrp region ariaplusc lhd10 phn_2015_code pcode pcoderes indigene &ds &ds._txt); set test; %do i=1 %to 8; &&ds_txt_i=&&ds_i_txt; %end; run; array a (*) &ds_1-&ds_8; array b (*) &ds._txt_1-&ds._txt_8; do i=1 to dim(&ds._txt_8) &ds= a(i); &ds_txt=b(i); if not missing (&ds._txt) then output; run; end; %mend; %multiresponse (ds=m_mental5); *Also tried using transpose but again generating error; %macro msh(ds=, vars=); proc transpose data=test out=&ds (drop=_name_ rename=(_label_=Category Col1=Value)); by hsnum year sex age arhsres: wt: disadvqt denom schpatt sch supptype year: agegrp region ariaplusc lhd10 phn_2015_code pcode pcoderes indigene; VAR &vars; run; %mend; %msh(ds=m_mental5, vars=&ds1 &ds2 &ds3 &ds4);
... View more