Arrays in SAS | Using IN & OF Operators and DO Loop With Arrays |SAS Arrays Guide With Real Examples

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ม.ค. 2025

ความคิดเห็น • 53

  • @aperxmim
    @aperxmim 2 หลายเดือนก่อน +1

    Very good reference.

  • @silverclouds3725
    @silverclouds3725 ปีที่แล้ว +3

    This was well worth my time... saving this one for reference!!

    • @learnerea
      @learnerea  ปีที่แล้ว +1

      Glad, it was helpful

  • @kmh2000
    @kmh2000 ปีที่แล้ว +1

    I am freshly start sas your video help more than Institute sir 😍 thank 🙏

    • @learnerea
      @learnerea  ปีที่แล้ว +1

      Glad it was helpful

  •  4 ปีที่แล้ว +1

    15:41 array x(7) day1-day7;
    Why $ sign is not used while creating the array as all elements are character value here ( A or P is character)

  • @tonyjangu8634
    @tonyjangu8634 3 ปีที่แล้ว +2

    Hello ,this was so informative you have given me tricks ,I appreciate sir.

    • @learnerea
      @learnerea  3 ปีที่แล้ว

      Glad you liked it

  • @SanjayKumar-rs3ls
    @SanjayKumar-rs3ls 3 ปีที่แล้ว +2

    Way of presentation is very good.
    Nice class

    • @learnerea
      @learnerea  3 ปีที่แล้ว

      Glad you liked it

  • @deepakkumaar9665
    @deepakkumaar9665 3 ปีที่แล้ว +1

    Wonderful insight. Thanks sir

  • @judywang656
    @judywang656 2 ปีที่แล้ว +1

    very helpful! thank you!

    • @learnerea
      @learnerea  2 ปีที่แล้ว

      I'm glad you liked it

  • @shadowworld735
    @shadowworld735 3 ปีที่แล้ว +1

    Could you please explain how to sum of data in a column ? Like the sales example, you hsowed us to find out the max n min form Jan to Dec. What is I wnat to fina out the total sale for each month?

  • @అదన్నమాట
    @అదన్నమాట 4 ปีที่แล้ว +5

    This is Best class I even been listening.
    Can you start classes About ODS please?
    And graphs also....

    • @learnerea
      @learnerea  4 ปีที่แล้ว +1

      Thank you for your kind words bustop b. We will definitely make videos on ODS as well once we are done with what we already have in our bucket

    • @అదన్నమాట
      @అదన్నమాట 4 ปีที่แล้ว +1

      @@learnerea Oh.. Thank you

  • @DietitianSafaManasrah
    @DietitianSafaManasrah 3 ปีที่แล้ว +2

    thank you very much this was very helpful but the voice was very low

  • @MadireddyKarnakar
    @MadireddyKarnakar 6 หลายเดือนก่อน

    Please add classes on R programming in sas

  • @sachinpawar8518
    @sachinpawar8518 3 ปีที่แล้ว +2

    this video has very low volume, is it possible to fix it? Also can you add a full detail video on proc report please?

  • @4psantosh
    @4psantosh 3 ปีที่แล้ว

    Hi Thanks for the explaination.

    • @learnerea
      @learnerea  3 ปีที่แล้ว

      Glad you liked it 🙏🏻

  • @vaibhavdalvi8355
    @vaibhavdalvi8355 2 ปีที่แล้ว +1

    why we didn't use ($) in array syntax while looking for IN Operator example? the observation are of character type in a1-a10 variables

  • @reemadhanke
    @reemadhanke 3 ปีที่แล้ว

    Can you please share video of proc report in detail if possible.

  • @shadowworld735
    @shadowworld735 3 ปีที่แล้ว

    In the presence data set,you did not use the $ as day1-day2 is character value as you mentioned while explaining the syntax?

  • @neerajrcit
    @neerajrcit 2 ปีที่แล้ว +2

    hi, your videos are great platform to learn SAS. just one thing, is there any way sort out this audio issue in some of your videos? it will be a great help. thank you. 🙂

    • @learnerea
      @learnerea  2 ปีที่แล้ว

      Thankyou for watching this, yes this is the problem with some of the videos, unfortunately, to your disappointment, TH-cam is not providing any facility to make corrections may be we will try to upload the copy of this with better sound quality

  • @tejuB2006
    @tejuB2006 4 หลายเดือนก่อน +1

    worth those 30 min to learn arrays and do loop

    • @learnerea
      @learnerea  4 หลายเดือนก่อน

      Glad it was helpful

  • @NobixLee
    @NobixLee ปีที่แล้ว +1

    This was almost perfect, couldn't hear a thing though and that diminished my experience of this video.

    • @learnerea
      @learnerea  ปีที่แล้ว

      Apologies for the sound issue

  • @prashanthjaila3412
    @prashanthjaila3412 2 ปีที่แล้ว +1

    Bro
    There are only 3 statements in Arrays
    IN, OF , DO LOOPS,
    or else any included ?
    Im completely depending on your videos bro.
    Pls comment if any other bro pls

  • @xcetam
    @xcetam 3 ปีที่แล้ว +1

    Hi Man,
    Can you please help me in identifying whats wrong in the below code?
    data sas;
    set sashelp.applianc ;

    array Alu [*] units_1-units_22;
    do i= 1 to 22;
    if (Alu(i) > 20) then sum=(of Alu (*)) ;
    output;
    end;
    run;
    76
    ERROR 388-185: Expecting an arithmetic operator.
    ERROR 76-322: Syntax error, statement will be ignored.

    • @learnerea
      @learnerea  3 ปีที่แล้ว +1

      Hi @sudhanshu
      Like the error itself suggests "Expecting an arithmetic operator"
      all you need to do is use the sum function after equal sign, just like below:
      if (Alu(i) > 20) then sum=sum(of Alu (*)) ;

    • @xcetam
      @xcetam 3 ปีที่แล้ว

      @@learnerea thanks man. But the problem is it's not filtering for values gt than 20 from units_1 to 24.

    • @learnerea
      @learnerea  3 ปีที่แล้ว

      @@xcetam Try below:
      data testing2;
      set sashelp.applianc;
      array alu[*] units_1 - units_22;
      array alu_new {22};
      do i = 1 to dim(alu);
      if alu(i)>20 then alu_new(i) = alu(i);
      end;
      sum_total = sum(of alu_new1-alu_new22);
      drop alu_new1-alu_new22 i;
      run;

    • @xcetam
      @xcetam 3 ปีที่แล้ว

      @@learnerea Thanks Man :)
      FOr some reason it is not filtering values gt 20 and thats the issue. With this code also its the same issue:(

  • @rajisri7502
    @rajisri7502 3 ปีที่แล้ว

    The class is very good. But the audio is too low. Can you please look into it

    • @learnerea
      @learnerea  3 ปีที่แล้ว

      Hi Raji Sri,
      Apologies for the inconvenience, we will try this not to happen in the upcoming videos. Alternatively, please use the headphones for better performance

  • @poonamgotal
    @poonamgotal 2 ปีที่แล้ว +1

    sound is very low ..

    • @learnerea
      @learnerea  2 ปีที่แล้ว

      Hi Poonam,
      Thanks for watching this. Yes it's an identified issue which havppened because of some technical glitch and we are taking care of the same in all of the upcoming videos. Unfortunatlly we can not make any changes in the existing one.
      Hope you like other videos

  • @rajugadeela7226
    @rajugadeela7226 2 ปีที่แล้ว

    Audio Volume very low in video

    • @learnerea
      @learnerea  2 ปีที่แล้ว

      appologies for that

  • @RajatMadaanmaddy
    @RajatMadaanmaddy 3 ปีที่แล้ว

    hi , i just started watching your video to learn about array ,, can you please increase you voice pitch ,, its too low.

    • @learnerea
      @learnerea  3 ปีที่แล้ว +1

      apologies, it happened because of some technical issue which will be taken care of in subsequent videos

    • @naneenaidu
      @naneenaidu 3 ปีที่แล้ว

      @@learnerea Yes voice is very low not able to understand even headphones please re upload the same

  • @ravitejaravada8641
    @ravitejaravada8641 3 ปีที่แล้ว

    Sound is less I can't hear

    • @learnerea
      @learnerea  2 ปีที่แล้ว

      Sorry for that inconvenience.... has been taken care of in the upcoming videos

  • @Don-kt7nq
    @Don-kt7nq 3 ปีที่แล้ว

    Very bad audio quality..

  • @weaponslab7361
    @weaponslab7361 2 ปีที่แล้ว

    Sound not proper

    • @learnerea
      @learnerea  2 ปีที่แล้ว

      Hi Weapon...
      It happened because of the technical glitches which are being taken care of upcoming videos... hope you don't get similar inconvenience in all those videos

  • @vin8889
    @vin8889 ปีที่แล้ว

    Bad audio

    • @learnerea
      @learnerea  ปีที่แล้ว +1

      feedback taken