Histograms and Density Plots with {ggplot2}

  Рет қаралды 2,997

yuzaR Data Science

yuzaR Data Science

9 ай бұрын

Histograms display the shape of the distribution of continuous numeric data. The distribution can be symmetrical, right-skewed, left-skewed, unimodal, or multimodal? Knowing the shape of the distribution helps us decide which statistical test is appropriate. For example, if the distribution is symmetrical, we could use a t-test or linear regression. However, if the distribution is skewed, we’d need to use the Mann-Whitney test or median regression. Moreover, when the data has several peaks, we might need to transform the data before analyzing it. Otherwise, when we calculate central tendencies like the average, we will heavily misrepresent reality. Histograms also help to identify outliers, which is very useful for cleaning the data. So, visualizing the distribution with histograms and density plots helps us avoid these pitfalls.
If you only want the code (or want to support me), consider join the channel (join button below any of the videos), because I provide the code upon members requests.
Enjoy! 🥳
Welcome to my VLOG! My name is Yury Zablotski & I love to use R for Data Science = "yuzaR Data Science" ;)
This channel is dedicated to data analytics, data science, statistics, machine learning and computational science! Join me as I dive into the world of data analysis, programming & coding. Whether you're interested in business analytics, data mining, data visualization, or pursuing an online degree in data analytics, I've got you covered. If you are curious about Google Data Studio, data centers & certified data analyst & data scientist programs, you'll find the necessary knowledge right here. You'll greatly increase your odds to get online master's in data science & data analytics degrees. Boost your knowledge & skills in data science and analytics with my engaging content. Subscribe to stay up-to-date with the latest & most useful data science programming tools. Let's embark on this data-driven journey together!

Пікірлер: 19
@ibrahimlawan9663
@ibrahimlawan9663 9 ай бұрын
Great Job. I always learn a lot from your videos
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
Glad to hear it! Thanks for watching!
@GFXHDTV
@GFXHDTV 9 ай бұрын
love this thank you so much and please do more and keep it up
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
Thank you! Will do!
@hikeaway1596
@hikeaway1596 9 ай бұрын
thanks for another cool video!
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
Thanks for watching! And for your continuous support!
@yominorwemajor7235
@yominorwemajor7235 9 ай бұрын
I really enjoy your videos! Do you consider doing a video for the use of flextable package?😊
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
Great suggestion! I will put it on the list. But not too long ago, I made a video on {gtsummary} package. It's also about tables. And, to be honest, I never needed another one. So, if you did not see gtsummary, give it a chance. And you did, thanks you for watching!
@aram5704
@aram5704 9 ай бұрын
Great video! Keep going.
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
Thanks, will do!
@GreenManXY
@GreenManXY 9 ай бұрын
Good work! Recently learned about the after_stat function, really useful to enhance the information in the graph. One suggestion for a video would be how to enhance some of the graphs that are drawn for the whole data set by packages like DataExplorer. It's really useful to get a whole set of graphs by just writing plot_bar(mtcars, by = "cyl") but I found it hard to easily modify the resulting graphs, for example to add labels or percentages.
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
Great suggestion! I also have realised that some packages can actually accept the ggplot2 function on top of them. For example sjPlot or effects packages have no problem. But thanks, I'll have a look at it, and if I find a meaningful solution and enough material for the video, I'll produce one. Thanks for watching!
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
by the way, I have to explore "after_stat()" more, it's a new function as far as I know.
@chacmool2581
@chacmool2581 9 ай бұрын
Do a vid on violin plots which combine boxplots with probability density plots. I rather prefer those to histograms.
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
I have actually done a whole video on box-violin-plots earlier: All you need to Know Box-Plots. So, I am not sure I need another one. Let's me know if you thing so and tell why?
@chacmool2581
@chacmool2581 9 ай бұрын
@@yuzaR-Data-Science No, probably not. I'll have to check out that video. Thanks.
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
it's an old one: kzbin.info/www/bejne/hWXaqWCAasxnhMU so, don't be surprised about the quality and delivery ;)
@maicelmonzonperez
@maicelmonzonperez 9 ай бұрын
great
@yuzaR-Data-Science
@yuzaR-Data-Science 9 ай бұрын
glad you liked it!
7 Reasons to Master Scatter Plots in {ggplot2} with World Happiness Data
14:36
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 12 МЛН
Bar Charts with {ggplot2}
13:38
yuzaR Data Science
Рет қаралды 4,8 М.
Histograms and Density Plots for Numeric Variables | Statistics Tutorial | MarinStatsLectures
7:34
MarinStatsLectures-R Programming & Statistics
Рет қаралды 47 М.
Quantile Regression  EViews
14:55
Eddie's Econometrics Knowledge Hub
Рет қаралды 878
Transform Your Data Like a Pro with {tidyr} and Say Goodbye to Messy Data!
13:17
Mastering {dplyr}: 50+ Data Wrangling Techniques!
17:35
yuzaR Data Science
Рет қаралды 4,3 М.
Master Simple Linear Regression with Numeric Predictor in R
12:31
yuzaR Data Science
Рет қаралды 1,7 М.
Make Multiplots Like a Pro with {patchwork} | R package reviews
10:26
yuzaR Data Science
Рет қаралды 2,5 М.
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 12 МЛН