- 24
- 20 685
Average Joe Statistics
Приєднався 2 сер 2023
You'll probably learn something!
No-nonsense statistics, data science, and programming videos from a real statistics professor, Joe Guinness from Cornell University.
No-nonsense statistics, data science, and programming videos from a real statistics professor, Joe Guinness from Cornell University.
Advanced R Programming - R Packages
Building your own R packages, unit testing, automatic documentation, automatic checks. What happens on your computer when you install an R package.
Code:
github.com/averagejoestats/advancedR/tree/main/package
Code:
github.com/averagejoestats/advancedR/tree/main/package
Переглядів: 924
Відео
Advanced R - Multiple Linear Modeling of Ames Housing Data
Переглядів 5709 місяців тому
Code: raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/modeling.R Data: raw.githubusercontent.com/averagejoestats/advancedR/main/datasets/ames_housing.csv
Advanced R - Logistic Regression of Titanic Survival Data
Переглядів 4859 місяців тому
Code: raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/modeling.R Data: raw.githubusercontent.com/averagejoestats/advancedR/main/datasets/titanic5.csv
Advanced R Programming - Data Science with dplyr (tidyverse)
Переглядів 9669 місяців тому
Operations on data frames using the dplyr R package, which is part of the tidyverse set of R packages. Subset columns using "select", subset rows using "filter", summary statistics using "group_by" and "summarize", joining data frames using "left_join" and "inner_join" Code raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/dplyr.R Men's Marathon Dataset (used in video): raw.gi...
Advanced R Programming - Machine Learning Optimization
Переглядів 1,2 тис.10 місяців тому
Introduction to continuous optimization relevant to machine learning and statistics. Newton's method, gradient descent, fisher scoring. Code: raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/cont_optimization.R Notes: github.com/averagejoestats/advancedR/blob/main/video_code/continuous_optimization.pdf
Advanced R Programming - Floating Point Numbers
Переглядів 35010 місяців тому
Ever wondered how decimal numbers get represented on your computer? We demystify the floating point number system. It's really not as complicated as you might think! Code: raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/numbers.R This video follows Chapter 2 of Monahan's Numerical Methods of Statistics: www.cambridge.org/core/books/numerical-methods-of-statistics/ED2D1845F52...
Advanced R Programming - Performance
Переглядів 90710 місяців тому
How to write fast R code. General principles. Profiling (timing) code with profvis. Extended example processing a large dataset. Code: raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/performance.R raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/performance_funs.R This course roughly follows "Advanced R" by Hadley Wickham. This book is worth reading cover ...
Advanced R Programming - Graphics
Переглядів 58710 місяців тому
Understanding how graphics devices work in R. How to save plots directly to pdf, jpg, jpeg, and png. Modifying graphical parameters for fine-scale control over plots. Comments Only: (use this to follow along and type in code yourself): github.com/averagejoestats/advancedR/blob/main/video_code/graphics_blank.R Code with Comments: github.com/averagejoestats/advancedR/blob/main/video_code/graphics...
Advanced R Programming - Fixing Bugs
Переглядів 52211 місяців тому
Methods for finding and fixing bugs. Traditional print statements. Accessing R's powerful debugging mode using the debug function, the browser function, and code breakpoints in Rstudio. Comments Only: (use this to follow along and type in code yourself): github.com/averagejoestats/advancedR/blob/main/video_code/debugging_blank.R Code with Comments: github.com/averagejoestats/advancedR/blob/main...
Advanced R Programming - Handling Errors
Переглядів 79411 місяців тому
Handle errors with try and tryCatch. Generate your own custom error and warning messages in your functions. Comments Only: (use this to follow along and type in code yourself): github.com/averagejoestats/advancedR/blob/main/video_code/errors_blank.R Code with Comments: github.com/averagejoestats/advancedR/blob/main/video_code/errors.R This course roughly follows "Advanced R" by Hadley Wickham. ...
Advanced R Programming - Input / Output
Переглядів 98711 місяців тому
Reading in data using read.table, read.csv, and load. Printing output to the screen using print and cat. Formatting character strings using paste and sprintf. Writing data to files using write.csv, save, and saveRDS. Comments Only: (use this to follow along and type in code yourself): raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/input_output_blank.R Code with Comments: ra...
Advanced R Programming - Defining and Calling Custom Functions
Переглядів 1,5 тис.11 місяців тому
How to define a custom function, use multiple arguments, and set default arguments. Comments Only: (use this to follow along and type in code yourself): raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/functions_defining_blank.R Code with Comments: raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/functions_defining.R This course roughly follows "Advanced R"...
Advanced R Programming - Variable Scoping in Functions
Переглядів 71711 місяців тому
The functions's environment and the hierarchy of R environments. How R looks up objects in functions. What happens with functions that return other functions. Comments Only: (use this to follow along and type in code yourself): raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/functions_scoping_blank.R Code with Comments: raw.githubusercontent.com/averagejoestats/advancedR/mai...
Advanced R Programming - Subsetting Vectors, Matrices, and Arrays
Переглядів 77311 місяців тому
Various ways to subset atomic objects in R (vectors, matrices, and arrays), including the use of indices, names, and logical vectors. Comments Only: (use this to follow along and type in code yourself): raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/subsetting_vectors_blank.R Code with Comments: raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/subsetting_...
Advanced R Programming - Subset Lists and Data Frames
Переглядів 61511 місяців тому
Various ways to subset lists and data frames in R, including the use of indices, names, and logical vectors. Explain the difference between single and double square brackets. Comments Only: (use this to follow along and type in code yourself): raw.githubusercontent.com/averagejoestats/advancedR/main/video_code/subsetting_lists_dfs_blank.R Code with Comments: raw.githubusercontent.com/averagejoe...
Advanced R Programming - atomic vectors, matrices, and arrays
Переглядів 3,2 тис.Рік тому
Advanced R Programming - atomic vectors, matrices, and arrays
Introduction to R Programming - Handy Functions Part 2 - apply and strings
Переглядів 300Рік тому
Introduction to R Programming - Handy Functions Part 2 - apply and strings
Introduction to R Programming - Handy Functions Part 1
Переглядів 831Рік тому
Introduction to R Programming - Handy Functions Part 1
Introduction to R Programming - Graphics
Переглядів 685Рік тому
Introduction to R Programming - Graphics
Intro to R Programming - Writing Functions
Переглядів 738Рік тому
Intro to R Programming - Writing Functions
Introduction to R Programming - Flow Control & Style
Переглядів 397Рік тому
Introduction to R Programming - Flow Control & Style
Intro to R Programming - Basic Data Structures
Переглядів 509Рік тому
Intro to R Programming - Basic Data Structures
Intro To R Programming - Your First R Session
Переглядів 1,1 тис.Рік тому
Intro To R Programming - Your First R Session
You held my attention for one full hour. Thank you!
Thank you! That was very well explained!
Hello @AverageJoeStats, is there a future for statistical analysts using R/Python, given that AI tools can manipulate lists, dataframes very easily and also carry out complex statistical analysis beyond linear regression?
Thank you so much. I am refreshing my R skills after grad school and your stuff is a great foundational refresher! Much appreciated.
I may be alone on this but I find this stuff extremely boring.
Interesting but all this sprintf stuff seems obsolete given that we have the glue package.
I believe setwd is frowned upon by the R gods. They suggest using here from the here package instead.
Why not use testthat to test the function?
I don't see how [ ] or [ ] would do partial matching. It is looking for an index integer. Besides that partial match such as A[["ma"]] might confuse someone reading the code.
Subsetting is one of the most boring things about learning coding in any language. However, it is like fish oil you have to take it. The question is how can one teach it without leaving a bad taste in a learner's mouth?
Curiosity killed the forcats
If you output the results for the list and c() to an html it will no longer show the equation but rather something like <srcref: file "" chars 1:37 to 1:51>. What is needed to fix that? Some sort of yml setting? (I am using Quarto).
Regarding the assignment operator makes more sense to me from a mathematical standpoint when we have x <- x + y vs x = x + y. The latter implies that the two sides are equal and they are not.
So atomic is taken from the definition of atom from the Greeks where the word means "indivisible"? It is not clear to me what it means in R though. What exactly is indivisible? The element tag or position? In the 1:10 plenty of the numbers are divisible.
Very nice. Any reason why you are avoiding pipes?
Could you please make videos on Shiny and Ggplot🥺
I don't know why such few people are watching / commenting on these series of videos. This is spectacular. I've been programming in R, Python and C for a while new, but it's useful to keep studying it in order not to do a few things the least efficient way. Learning a great deal. Congrats and keep up the great work.
I really like this video. Thanks for sharing. It does help me a lot on error handling.
@8:33 If its a number or any string with spaces then it must be on 'single' or "double quotes" OR `back ticks`
This was clearly explained. I watched the Ads as a form of gratitude. Thanks.
great, I am following your videos on advanced R.
Great Video and great series for what I see, it would be nice if you put index the parts of the video with what you're explaining.
already subscribed
new sub
I love these videos. I wish I can like and subscribe a million times!
Glad you like them!
Thank you Joe for this amazing lecture, I needed it!
Glad it helped!
wow! thank you so much, this is exaclty what I was looking for!!
Hi Mathieu, glad you like the videos, and good luck on your learning. Once you finish this course and get some more experience, check out our second course on advanced R programming. ua-cam.com/play/PLqQjbBX7bZ0dcmFvv_t9iQnCrO6LHU1IF.html
Just want to say I've really been enjoying your videos. Very happy to have found them. Very educational. Thanks a lot, good sir
Glad you are enjoying them! Congrats on taking the time to invest in yourself and your learning.
I was looking for a course following wickhams book thanks
Hope you like it!
Hey thanks joe
Love these videos
*PromoSM*
Great content. Easy to follow teaching style. After trying a lot of online tutorials as a non-programmer, no formal training in stats r programming, this tutorial series is with-in my reach. Thank you.
Thanks! I'm glad you and others are finding the videos useful.
Great tips on performance tuning, methodology will translate to other programming languages as well.
Very true!
Hello. Do you have any plans to make a course or videos about ggplot in the future? I've started to learn R. I know it's is quite a popular package. Your videos are very good and detailed.
I would like to do one in the future. The next video will be about base R graphics. I think it's important to do that first. Perhaps I will do a later video on ggplot. Thanks for watching.
Very good explanation
you should DOUBLE the size of your fonts
Fantastic playlist! Thanks for sharing.