R programming for beginners – statistic with R (t-test and linear regression) and dplyr and ggplot

Published 2017-06-08
R programming for beginners - This video is an introduction to R programming. I have another channel dedicated to R teaching: youtube.com/c/rprogramming101 In this video I provide a tutorial on some statistical analysis (specifically using the t-test and linear regression). I also demonstrate how to use dplyr and ggplot to do data manipulation and data visualisation. Its R programming for beginners really and is filled with graphics, quantitative analysis and some explanations as to how statistics work. If you’re a statistician, into data science or perhaps someone learning bio-stats and thinking about learning to use R for quantitative analysis, then you’ll find this video useful. Importantly, R is free. If you learn R programming you’ll have it for life.

This video was sponsored by the University of Edinburgh. Find out more about their programmes at edin.ac/2pTfis2

This channel focusses on global health and public health - so please consider subscribing if you’re someone wanting to make the world a better place – I’d love to you join this community. I have videos on epidemiology, study design, ethics and many more.

All Comments (21)
  • We’re paying thousands to the universities that pay thousands to lecturers, just to learn statistics for free in videos like this. This guy is the best statistics lecturer ever.
  • @majam1n
    Hi Greg. This video is the reason why I subscribed to your channel. Why? 1) The pacing of the information is just right (it's fast enough that it doesn't 'drone' on and on) ... and the rapid pace only works because ... 2) The zooming in on the where the audience's attention should be is VERY clear. 3) You chunk the different parts of the lesson, which helps to know what is being worked on. 4) You BUILD up on the final product, so the audience can see the incremental changes from beginning to end. 5) You MINI lesson concepts that you suspect the audience may not have complete knowledge of (t Tests, log plots, linear regression) 6) You save the in-depth explanation of certain sub-topics to other videos! Awesome. Focusing only on the lesson at hand. 7) You managed to squeeze an hour-long concept into a 15-minute video. 'Nuff said. 8) You didn't bother the audience with how to install R, R-Studio, etc. Thank you (this is probably just a personal preference). 9) I'm a teacher. This make me want to explain topics that I teach better.
  • @clairewhite2481
    You are an absolute beacon in the darkness that has been my understanding and application of R , and you helped me remember all the stats from my masters a decade ago. In short, I couldn't have done my assignment without you. Love your presenting style and method of demonstration. Thank you for passing on your affinity with R!
  • @nbr2737
    Although this isn't new to me, being at the end of my undergrad psych degree, I must say, this is the best introduction to statistics for University students I've ever come across (judged by pragmatism, conciseness, and spirit)
  • @cleidsonn
    This video was the one that "turned the key" in my head and made me understand the logics of R. Really great job.
  • @120perfecthalf
    This is really really great but far from being for beginners, when I was a beginner I did not understand probably 80% of what is being said here. You need to have a solid foundation in Stats to get this. Maybe this video acts a motivation for people to learn Stats and R.
  • @melkonya
    This is one of the most usefull R statistics video I have ever seen on Youtube. Thank you pal !
  • @markyu9933
    When following video from 6:26 to 7:07 it will get the average of the average_life. So what i did was first group by country: gapminder %>% group_by(country) %>% select(country, lifeExp) %>% filter(country == 'South Africa' | country == 'Ireland') %>% summarise(Average_life = mean(lifeExp) BTW im using R version 3.6.3 can't update any futher in jupyter notebook. just put this as reference for others thank you. nice vid! :D
  • @Aquila556
    University TAs are talking nonsense for hours and hours. This guy just taught me how to use R in 16 min.
  • @olenaberchuk8975
    Fantastic video! You've turned me into an R convert over from Stata!
  • I decided to watch all your lessons. Your preference style needs to be chosen as a standard. Сoncretely and just perfect!
  • you are a wonderful teacher. it would be great if you continued posting videos to your R channel. I'm sorta surprised that you are not posting to this channel during Covid-19.
  • Many thanks for the very good explanations. R is fantastic and you explained it super. Thanks for everything. Stay strong. Greetings from Germany Robert
  • Dear Greg Martin,R Programming introduced by you is highly appreciable.I have sent to all my beginners.Thanks,Dr.Gyanaranjan Padhy
  • @chouaibbio7673
    One of the best R tutorials that I ever seen, thank you vary much, I wich that you will bring more.
  • You just developed my interest in R. Thank you for presenting it in such an interesting way. It was amazing!
  • @kahlschlag17
    Brief, to the point, spot on, engaging, fast! If I had teachers like that I would not have dropped out of school.
  • Great epidemiology! Number one lesson I’m science, correlation doesn’t imply causation
  • Hey, thanks so much for this vid!! I'm currently struggling to do some data analysis on behavioural data for my thesis and this was very useful in helping me filter out some of the variables that I need excluded in another dataset. I just need to figure out how to do that now! 😅