Excel - Simple Histogram with unequal bin widths

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • Instructional video on creating a simple Histogram with Excel (2016) when bin (or class) widths are unequal.
    Companion website at PeterStatistics...

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

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

    Thank you so much!! This video was so helpful :)

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

      Glad it was helpful!

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

    Very helpful and well explained video, thank you! 😊

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

      Glad it was helpful!

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

    Thank you so much sir, this video was of great help to me.

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

      Glad it helped

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

    Thank you very much, this helps alot.

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

      Glad it helped!

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

    Thank you, this was very helpful!

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

      Glad it was helpful!

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

    This is great...many thanks..You've helped me a lot

    • @stikpet
      @stikpet  6 ปีที่แล้ว

      Glad you enjoyed the video.
      On a side note, TH-cam has cancelled my partner program since I don't have enough subscribers, so it would really help if you subscribe (and all your friends) 😉

  • @yara8447
    @yara8447 7 หลายเดือนก่อน

    hello, I am using Mac and when pressing on the date for x-axis it did not work to straigten up the lines

    • @stikpet
      @stikpet  7 หลายเดือนก่อน

      Unfortunately I don't have a Mac so cannot check if this works or doesn't on a Mac. It's hard to troubleshoot if I can't replicate the issue.

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

    How would you add cumulative frequency to this?

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

      Not sure how to actually add them in the histogram and also still showing the frequency densities, think it becomes messy and usually a chart is there to clarify results.
      Petry and Friesen (2012, p. 20) even argue that cumulative frequency densities are pointless. If you insist I'd think to divide the cumulative frequency then by the total class with, starting with the lower bound of the first category and ending with the upper bound of the category for which you want the cumulative frequency density.
      Reference
      Petry, R. G., & Friesen, B. (2012). STAT 100; Elementary Statistics for Applications. Campion College. amberlin.asuscomm.com/university_of_regina_copies/stat_100_lecture_notes_v2/intro_stats_v2.pdf

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

      @@stikpet thank you for the help

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

    For my specific case, I am working with sieves and powders, so my data values don't numerically conform with the bins. I have intervals of sieve sizes, then the amount of powder in mass that is left behind. See below:
    sieve size (um) : 1000, 710, 500, 355, 250, 180, 125, 0
    granule mass on sieve mesh (g)
    : 0, 0, 1.32, 10.35, 11.12, 13.09, 8.47, 5.61
    frequency (g/um*100):
    0, 0.62 7.13 10.59, 18.7, 15.4, 4.48
    As you can tell, I can't really make excell see that 10.35 fit 355-500 for example, I am not sure what to do. Those are the frequency calculations as well. Any help would be greatly appreciated on how I can make a histogram of that data (size on x-axis and frequency on y-axis with unequal bin widths)

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

      Not really sure what the frequency represents here. Do you perhaps simply want to plot the sieve size vs. granule mass in a scatterplot?
      Or sieve size vs. frequency, or granule mass vs. frequency. For each of these the histogram can be made in the same way as the video. Or am I missing something..

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

      @@stikpet Frequency, in this case, is the percentage of total granule mass on each different sieve size. The goal is to create a histogram of sieve size vs. frequency (x and y-axis respectively).
      The unequal bin widths stem from the unequal differences between the sieve sizes.

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

      @@stikpet So far, I've been able to create a histogram that has those trapezoid-triangle columns, but once I change it to date-axis it becomes all "spikey" and messed up lol

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

      @@AhmedShadi95 hard to tell what's going wrong. If its just this one histogram you might try using an XY scatterplot with connected dots to mimic the histogram. Its explained on this site: peltiertech.com/excel-histogram-using-xy-andor-area-charts/ Hope that helps

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

    i attempted this with class boundary values that were not intergers (in terms of 0.5) and they keep getting rounded down. Any solution for this? Thanks for the amazing video :)

    • @stikpet
      @stikpet  4 ปีที่แล้ว

      since the trick used is to convert it to days, these are to my knowledge always integers. Only solution would be to multiply all scores and boundaries by 10 so the boundaries become integer.
      Note that this video is if you have unequal bin widths, if they are all equal you can use th-cam.com/video/n9hUd-gcoSE/w-d-xo.html . Hope this still helps a bit.

  • @jeebsl.6341
    @jeebsl.6341 4 ปีที่แล้ว

    Hi! I was just wondering how I'd then able to add a line graph to the same graph. Thank you for the vid!

    • @stikpet
      @stikpet  4 ปีที่แล้ว

      good question. Haven't tried this myself, but you could try to add the data to the diagram, and then use a secondary axis for that data series?

  • @shehzadshah351
    @shehzadshah351 4 ปีที่แล้ว

    How would you do this with negative numbers?

    • @stikpet
      @stikpet  4 ปีที่แล้ว

      not sure what you mean. The horizontal axis can start at a negative number, the vertical axis are frequencies and don't know how frequencies could be negative. Could you perhaps explain a bit more your intentions?

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

    It is soooo useful

  • @socheatasam4737
    @socheatasam4737 5 ปีที่แล้ว

    thanks

    • @stikpet
      @stikpet  5 ปีที่แล้ว

      you're welcome. glad it helped. Happy holidays.