Publications by R on Stats and R

Wilcoxon test in R: how to compare 2 groups under the non-normality assumption

06.06.2020

Introduction 2 different scenarios Independent samples Paired samples Introduction In a previous article, we showed how to compare two groups under different scenarios using the Student’s t-test. The Student’s t-test requires that the distributions follow a normal distribution1. In this article, we show how to compare two groups when the nor...

6570 sym R (3149 sym/11 pcs) 10 img

Outliers detection in R

10.08.2020

Introduction Descriptive statistics Minimum and maximum Histogram Boxplot Percentiles Hampel filter Statistical tests Grubbs’s test Dixon’s test Rosner’s test Additional remarks Reference Introduction An outlier is a value or an observation that is distant from other observations, that is to say, a data point that differs significantly f...

17162 sym R (7672 sym/28 pcs) 16 img

Outliers detection in R

10.08.2020

Introduction Descriptive statistics Minimum and maximum Histogram Boxplot Percentiles Hampel filter Statistical tests Grubbs’s test Dixon’s test Rosner’s test Additional remarks Introduction An outlier is a value or an observation that is distant from other observations, that is to say, a data point that differs significantly from other ...

16067 sym R (7587 sym/27 pcs) 14 img

Mortgage calculator in R Shiny

13.08.2020

Introduction Mortgage calculator How to use the mortgage calculator? Code of the app Introduction I recently moved out and bought my first apartment. Of course, I could not pay it entirely with my own savings, so I had to borrow money from the bank. I visited a couple of banks operating in my country and asked for a mortgage. If you already boug...

4766 sym 4 img

Mortgage calculator in R Shiny

13.08.2020

Introduction Mortgage calculator How to use the mortgage calculator? Code of the app Introduction I recently moved out and bought my first apartment. Of course, I could not pay it entirely with my own savings, so I had to borrow money from the bank. I visited a couple of banks operating in my country and asked for a mortgage. If you already boug...

4766 sym 4 img

Graphics in R with ggplot2

20.08.2020

Introduction Data Basic principles of {ggplot2} Create plots with {ggplot2} Scatter plot Line plot Combination of line and points Histogram Density plot Combination of histogram and densities Boxplot Barplot Further personalization Title and axis labels Axis ticks Log transformations Limits Legend Shape, color, size and transparency Text and labe...

18622 sym R (7700 sym/74 pcs) 132 img

Graphics in R with ggplot2

20.08.2020

Introduction Data Basic principles of {ggplot2} Create plots with {ggplot2} Scatter plot Line plot Combination of line and points Histogram Density plot Combination of histogram and densities Boxplot Barplot Further personalization Labels Axis ticks Log transformations Limits Legend Shape, color, size and transparency Smooth and regression lines ...

15697 sym R (4990 sym/59 pcs) 106 img

Why do I have a data science blog? 7 benefits of sharing your code

01.09.2020

#1 Learn by writing #2 Get feedback #3 Personal note to remind my future self #4 Contribute to the open source community #5 Stay humble, stay curious #6 Learn to be less perfectionist and to prioritize #7 Build connections and professional relationships How to start your own blog? My blog statsandr.com was launched in December 2019. Although 9 m...

14768 sym 2 img

ANOVA in R

11.10.2020

Introduction Data Aim and hypotheses of ANOVA Underlying assumptions of ANOVA Variable type Independence Normality Equality of variances – homogeneity Another method to test normality and homogeneity ANOVA Preliminary analyses ANOVA in R Interpretations of ANOVA results What’s next? Post-hoc test Issue of multiple testing Post-hoc tests in ...

33334 sym R (7334 sym/29 pcs) 26 img

ANOVA in R

11.10.2020

Introduction Data Aim and hypotheses of ANOVA Underlying assumptions of ANOVA Variable type Independence Normality Equality of variances – homogeneity Another method to test normality and homogeneity ANOVA Preliminary analyses ANOVA in R Interpretations of ANOVA results What’s next? Post-hoc test Issue of multiple testing Post-hoc tests in ...

27822 sym R (6866 sym/25 pcs) 18 img