Statistics and Statistics with R Tutorials (All Videos) | MarinStatsLectures
Statistics and Statistics with R Tutorials for Beginners:
How to use R Stats Software for beginners along with tutorials for the various concepts in statistics: A comprehensive set of tutorials for everyone!
The R tutorials discuss topics such as downloading and installing R and RStudio, importing data into R, exporting data out of R, getting started working with R (logic statements, vectors, matrices, working directories, scripts, packages in R, apply and tapply functions in R), descriptive statistics in R (producing plots in R and creating summaries in R), bivariate hypothesis testing using R software both parametric and non-parametric (paired and independent t-test in R, analysis of variance (ANOVA) in R, the chi-square test of independence in R, relative risks and odds ratios in R, correlation in R, simple linear regression in R, along with the non-parametric equivalents for all of these), probability distribution in R (calculating probabilities using probability densities (f(x)) and probability distributions (F(x)), finding quantiles of a distribution and taking random samples from a distribution and discussing Binomial distribution in R, Poisson distribution in R, Normal distribution in R and t Distribution in R , and Linear regression in R( such as linear regression model in R and how to check the model assumptions, multiple linear regression in R, changing numeric variable to categorical variable in R, dummy or indicator variables in R, how to change the reference or baseline category for a categorical variable in regression model in R, examples on categorical variables in regression model, multiple linear regression with interaction, interpreting interactions in linear regression, variable selection in linear regression using partial F-test and polynomial regression. These videos are intended to pair well with an introductory statistics course.
Statistics tutorials series explain the topics covered in most intro statistics courses thoroughly while using easy to follow examples. These tutorials cover topics such as standard deviation, normal distribution, standard error of the mean, confidence interval, hypothesis testing, t-distribution, margin of error, bootstrapping, type I and type II errors, bivariate analysis, paired t-test, Wilcoxon signed-rank test, ANOVA, Chi Square test, Risk Ratio and Odds Ratio, Simple Linear Regression, R Square, Permutation tests and more.
Follow MarinStatsLectures
Subscribe: https://goo.gl/4vDQzT
website: https://statslectures.com
Facebook: https://goo.gl/qYQavS
Twitter: https://goo.gl/393AQG
Instagram: https://goo.gl/fdPiDn
Our Team:
Content Creator: Mike Marin (B.Sc., MSc.) Senior Instructor at UBC.
Producer and Creative Manager: Ladan Hamadani (B.Sc., BA., MPH)
These videos are created by #marinstatslectures to support some courses at The University of British Columbia (UBC) (#IntroductoryStatistics and #RVideoTutorials for Health Science Research), although we make all videos available to the everyone everywhere for free.
Thanks for watching! Have fun and remember that statistics is almost as beautiful as a unicorn!
Curated by: MarinStatsLectures-R Programming & Statistics (117 videos)
Currently Playing: Box Plots with Two Factors (Stratified Boxplots) in R | R Tutorial 2.3 | MarinStatsLectures
Box Plots with Two Factors (Stratified Boxplots) in R: How to create and modify side by side boxplots comparing groups that are stratified using a third variable (Multiple X Variables) in R; Find the Free Dataset (LungCapData) Here (https://goo.gl/tJj5XG)
Need More Statistics & R Programming Videos: (https://goo.gl/4vDQzT)
►► Like to support us? You can Donate (https://bit.ly/2CWxnP2), Share our Videos, Leave us a Comment and Give us a Thumbs up! Either way We Thank You!
In this R video tutorial, we will learn how to create side by side boxplots comparing groups that are stratified using a third variable. In this tutorial we will also learn to enhance the plots by adding titles, changing axes labels, adding legends and changing colours of the plots. We will also see how to use the "*" to stratify the box plots and the "las" argument.
In descriptive statistics, a box plot or boxplot is a method for graphically summarizing the distribution of a numerical (quantitative or continuous) variable through its quartiles, minimum, maximum, and outliers. The “box” portion of the plot visually displays the first quartile, median, and third quartile. The “whiskers” or lines that extend from the box display the minimum and maximum value that are not considered to be outliers.
Box plots for two factors are a way of comparing the distribution for a numeric (quantitative or continuous) variable, stratified based on 2 factors. For example, we may wish to compare the distribution of body temperature (Y) for males and females (X1), as well as young and old (X2). Here, the “Body Temperature” would be the “Y” variable, “Biological Sex” would be the first factor or “X1”, and “Categorized Age (young/old)” would be the second factor or “X2”. Here, a desirable visual display would be to have a boxplot of body temperature for young males, next to a boxplot of body temperature for young females, next to a boxplot of body temperature for old males, next to a boxplot of body temperature for old females. It may also be desirable to have the plot colour coded, to have the male boxplots appear in one color, and the female boxplots to appear in a different color. In this video we show how to make such a plot in R.
These video tutorials are useful for anyone interested in learning data science and statistics with R programming language using RStudio.
Table of Content:
0:00:06 When to use Stratified (Side by Side) Box Plots
0:00:17 Introducing the example and data that is used in this video
0:01:15 How to make a boxplot for a single variable
0:01:22 How to modify the appearance of a box plot to visually represent our data better (by adding title, relabeling axes, and more)
0:01:44 How to make side-by-side boxplots to compare groups using ~ (tilda)
0:02:22 A brief introduction to confound effect
0:02:54 How to create a boxplot for a subset of data using square brackets
0:03:40 How to create boxplots comparing groups that are stratified by Age (a third variable)
0:05:09 How to modify the stratified boxplot to visually present our data better (e.g. adding title, relabeling x and y axes, adding legends and more)
0:06:02 How to add colours to help separate the groups in our boxplot
► ► Watch More:
► Intro to Statistics Course: https://bit.ly/2SQOxDH
►Data Science with R https://bit.ly/1A1Pixc
►Getting Started with R (Series 1): https://bit.ly/2PkTneg
►Graphs and Descriptive Statistics in R (Series 2): https://bit.ly/2PkTneg
►Probability distributions in R (Series 3): https://bit.ly/2AT3wpI
►Bivariate analysis in R (Series 4): https://bit.ly/2SXvcRi
►Linear Regression in R (Series 5): https://bit.ly/1iytAtm
►ANOVA Concept and with R https://bit.ly/2zBwjgL
►Hypothesis Testing: https://bit.ly/2Ff3J9e
►Linear Regression Concept and with R Lectures https://bit.ly/2z8fXg1
Follow MarinStatsLectures
Subscribe: https://goo.gl/4vDQzT
website: https://statslectures.com
Facebook:https://goo.gl/qYQavS
Twitter:https://goo.gl/393AQG
Instagram: https://goo.gl/fdPiDn
Our Team:
Content Creator: Mike Marin (B.Sc., MSc.) Senior Instructor at UBC.
Producer and Creative Manager: Ladan Hamadani (B.Sc., BA., MPH)
These videos are created by #marinstatslectures to support some courses at The University of British Columbia (UBC) (#IntroductoryStatistics and #RVideoTutorials for Health Science Research), although we make all videos available to the everyone everywhere for free.
Thanks for watching! Have fun and remember that statistics is almost as beautiful as a unicorn!
Tracks in this Playlist
- What is RStudio and Why Should You Download It? | R Tutorial 1.1 | MarinStatsLectures
- Download and Install R and RStudio | R Tutorial 1.2 | MarinStatsLectures
- Getting started with R: Basic Arithmetic and Coding in R | R Tutorial 1.3 | MarinStatsLectures
- Create and Work with Vectors and Matrices in R | R Tutorial 1.4 | MarinStatslectures
- Import Data, Copy Data from Excel to R CSV & TXT Files | R Tutorial 1.5 | MarinStatsLectures
- Importing/Reading Excel data into R using RStudio (readxl) | R Tutorial 1.5b | MarinStatsLectures
- Export Data from R (csv , txt and other formats) | R Tutorial 1.6 | MarinStatsLectures
- Importing , Checking and Working with Data in R | R Tutorial 1.7 | MarinStatsLectures
- Working with Variables and Data in R | R Tutorial 1.8 | MarinStatslectures
- Subsetting (Sort/Select) Data in R with Square Brackets | R Tutorial 1.9| MarinStatsLectures
- Logic Statements (TRUE/FALSE), cbind and rbind Functions in R | R Tutorial 1.10| MarinStatsLectures
- Setting Up Working Directory in R | R Tutorial 1.11 | MarinStatsLectures
- Writing Scripts in R | R Tutorial 1.12 | MarinStatsLectures
- How to Install Packages in R | R Tutorial 1.13 | MarinStatsLectures
- Customizing The Look of R Studio | R Tutorial 1.14 | MarinStatsLectures
- Apply Function in R | R Tutorial 1.15 | MarinStatsLectures
- tApply Function in R | R Tutorial 1.16 | MarinStatsLectures
- Bar Charts and Pie Charts in R | R Tutorial 2.1 | MarinStatsLectures
- Boxplots and Grouped Boxplots in R | R Tutorial 2.2 | MarinStatsLectures
- Box Plots with Two Factors (Stratified Boxplots) in R | R Tutorial 2.3 | MarinStatsLectures
- Histograms in R | R Tutorial 2.4 | MarinStatsLectures
- Stem and Leaf Plots in R | R Tutorial 2.5 | MarinStatsLectures
- Stacked and Grouped Bar Charts and Mosaic Plots in R |R Tutorial 2.6| MarinStatsLectures
- Scatterplots in R | R Tutorial 2.7 | MarinStatsLectures
- Calculating Mean, Standard Deviation, Frequencies and More in R | R Tutorial 2.8| MarinStatsLectures
- How to Modify and Customize Plots in R | R Tutorial 2.9 | MarinStatsLectures
- Add and Customize Text in Plots with R | R Tutorial 2.10 | MarinStatsLectures
- Add and Customize Legends to Plots in R | R Tutorial 2.11| MarinStatsLectures
- Binomial Distribution in R | R Tutorial 3.1| MarinStatsLectures
- Poisson Distribution in R | R Tutorial 3.2 | MarinStatsLectures
- Normal Distribution, Z Scores, and Normal Probabilities in R | R Tutorial 3.3| MarinStatslectures
- t Distribution and t Scores in R | R Tutorial 3.4 | MarinStatsLectures
- One-Sample t Test & Confidence Interval in R with Example | R Tutorial 4.1| MarinStatsLectures
- Two-Sample t Test in R (Independent Groups) with Example | R Tutorial 4.2 | MarinStatsLectures
- Bootstrap Hypothesis Testing in R with Example | R Video Tutorial 4.4 | MarinStatsLecutres
- Mann Whitney U / Wilcoxon Rank-Sum Test in R | R Tutorial 4.3 | MarinStatsLectures
- Bootstrap Confidence Interval with R | R Video Tutorial 4.5 | MarinStatsLectures
- Permutation Hypothesis Test in R with Examples | R Tutorial 4.6 | MarinStatsLectures
- Paired t-Test in R with Examples | R Tutorial 4.7 | MarinStatsLectures
- Wilcoxon Signed Rank Test in R with Example | R Tutorial 4.8 | MarinStatsLectures
- ANOVA, ANOVA Multiple Comparisons & Kruskal Wallis in R | R Tutorial 4.9 | MarinStatsLectures|
- Chi-Square Test, Fisher’s Exact Test, & Cross Tabulations in R | R Tutorial 4.10| MarinStatsLectures
- Odds Ratio, Relative Risk & Risk Difference with R | R Tutorial 4.11| MarinStatsLectures
- Correlations and Covariance in R with Example | R Tutorial 4.12 | MarinStatsLectures
- Simple Linear Regression in R | R Tutorial 5.1 | MarinStatsLectures
- Checking Linear Regression Assumptions in R | R Tutorial 5.2 | MarinStatsLectures
- Changing Numeric Variable to Categorical in R | R Tutorial 5.4 | MarinStatsLectures
- Multiple Linear Regression in R | R Tutorial 5.3 | MarinStatsLectures
- Dummy Variables or Indicator Variables in R | R Tutorial 5.5 | MarinStatsLectures
- Change Reference (Baseline) Category in Regression with R | R Tutorial 5.6 | MarinStatsLectures
- Including Variables/ Factors in Regression with R, Part I | R Tutorial 5.7 | MarinStatsLectures
- Including Variables/ Factors in Regression with R, Part II | R Tutorial 5.8 | MarinStatsLectures
- Multiple Linear Regression with Interaction in R | R Tutorial 5.9 | MarinStatsLectures
- Interpreting Interaction in Linear Regression with R | R Tutorial 5.10 | MarinStatsLectures
- Partial F-Test for Variable Selection in Linear Regression | R Tutorial 5.11| MarinStatsLectures
- Polynomial Regression in R | R Tutorial 5.12 | MarinStatsLectures
- Sensitivity, Specificity, Positive and Negative Predictive Values | MarinStatsLectures
- What is a Sampling Distribution? | Puppet Master of Statistics
- What is a Confidence Interval? | Puppet Master of Statistics
- What is a Hypothesis Test and a P-Value? | Puppet Master of Statistics
- Statistics Video Tutorials at a Glance | Best Statistics Tutorials | MarinStatsLectures
- Statistics Course Overview | Best Statistics Course | MarinStatsLectures
- Statistics Terminology and Definitions| Statistics Tutorial | MarinStatsLectures
- Boxplots in Statistics | Statistics Tutorial | MarinStatsLectures
- Bar Chart, Pie Chart, Frequency Tables | Statistics Tutorial | MarinStatsLectures
- Histograms and Density Plots for Numeric Variables | Statistics Tutorial | MarinStatsLectures
- Describing Distributions: Center, Spread & Shape | Statistics Tutorial | MarinStatsLectures
- Mean, Median and Mode in Statistics | Statistics Tutorial | MarinStatsLectures
- Standard Deviation & Degrees of Freedom Explained | Statistics Tutorial | MarinStatsLectures
- Sample and Population in Statistics | Statistics Tutorial | MarinStatsLectures
- Normal Distribution, Z-Scores & Empirical Rule | Statistics Tutorial #3 | MarinStatsLectures
- Samples from a Normal Distribution | Statistics Tutorial #4 | MarinStatsLectures
- Central Limit Theorem & Sampling Distribution Concepts | Statistics Tutorial | MarinStatsLectures
- Standard Error of the Mean: Concept and Formula | Statistics Tutorial #6 | MarinStatsLectures
- Confidence Interval Concept Explained | Statistics Tutorial #7 | MarinStatsLectures
- Hypothesis Testing Explained | Statistics Tutorial | MarinStatsLectures
- t-distribution in Statistics and Probability | Statistics Tutorial #9 | MarinStatsLectures
- Confidence Interval for Mean with Example | Statistics Tutorial #10 | MarinStatsLectures
- Margin of Error & Sample Size for Confidence Interval | Statistics Tutorial #11| MarinStatsLectures
- Bootstrapping and Resampling in Statistics with Example| Statistics Tutorial #12 |MarinStatsLectures
- Hypothesis Testing: Calculations and Interpretations| Statistics Tutorial #13 | MarinStatsLectures
- Hypothesis Testing: One Sided vs Two Sided Alternative | Statistics Tutorial #14 |MarinStatsLectures
- Hypothesis Test vs. Confidence Interval | Statistics Tutorial #15 | MarinStatsLectures
- Errors and Power in Hypothesis Testing | Statistics Tutorial #16 | MarinStatsLectures
- Power Calculations in Hypothesis Testing | Statistics Tutorial #17 | MarinStatsLectures
- Statistical Inference Definition with Example | Statistics Tutorial #18 | MarinStatsLectures
- Bivariate Analysis Meaning | Statistics Tutorial #19 | MarinStatsLectures
- Bivariate Analysis for Categorical & Numerical | Statistics Tutorial #20 | MarinStatsLectures
- Paired t Test | Statistics Tutorial #21| MarinStatsLectures
- Wilcoxon Signed Rank Test | Statistics Tutorial #22 | MarinStatsLectures
- Two Sample t-test for Independent Groups | Statistics Tutorial #23| MarinStatsLectures
- Two Sample t-Test:Equal vs Unequal Variance Assumption| Statistics Tutorial #24| MarinStatsLectures
- Bootstrap Hypothesis Testing in Statistics with Example |Statistics Tutorial #35 |MarinStatsLectures
- One Way ANOVA (Analysis of Variance): Introduction | Statistics Tutorial #25 | MarinStatsLectures
- ANOVA (Analysis of Variance) and Sum of Squares | Statistics Tutorial #26 | MarinStatsLectures
- ANOVA Part III: F Statistic and P Value | Statistics Tutorial #27 | MarinStatsLectures
- ANOVA Part IV: Bonferroni Correction | Statistics Tutorial #28 | MarinStatsLectures
- Chi Square Test of Independence | Statistics Tutorial #29| MarinStatsLectures
- Study Design and Implication for Prevalence or Incidence | Statistics Tutorial | MarinStatsLectures
- Odds Ratio, Relative Risk, Risk Difference | Statistics Tutorial #30| MarinStatsLectures