Articles by R on Stats and R

EpiLPS for estimation of incubation times

July 31, 2024 | R on Stats and R

Motivation Coarse data Simulated example Real data example References Motivation A group of researchers from the Data Science Institute (DSI) at Hasselt University developed a new statistical model to estimate the incubation period of a pathogenic organism based on coarse data. The incubation period of an infectious disease (defined as ...
[Read more...]

Binary logistic regression in R

January 29, 2024 | R on Stats and R

Introduction Linear versus logistic regression Univariate versus multivariate logistic regression Data Binary logistic regression in R Univariate binary logistic regression Quantitative independent variable Qualitative independent variable Multivariate binary logistic regression Interaction Model selection Quality of a model Validity of the predictions Accuracy Sensitivity and specificity AUC and ROC curve Reporting ...
[Read more...]

How to: one-way ANOVA by hand

August 29, 2023 | R on Stats and R

Introduction Data and hypotheses ANOVA by hand Overall and group means SSR and SSE ANOVA table Conclusion of the test Conclusion Introduction An ANOVA is a statistical test used to compare a quantitative variable between groups, to determine if there is a statistically significant difference between several population means. In ...
[Read more...]

Scrape Yahoo search engine results with R

August 23, 2023 | R on Stats and R

Introduction Scraping Yahoo search engine results with R Conclusion Note: This is a guest post by Manthan Koolwal, founder of Scrapingdog. Introduction Web scraping is the process of extracting data from websites. It is usually done in an automated manner to obtain a large amounts of data through various websites, ...
[Read more...]

Two-way ANOVA in R

June 18, 2023 | R on Stats and R

Introduction The two-way ANOVA (analysis of variance) is a statistical method that allows to evaluate the simultaneous effect of two categorical variables on a quantitative continuous variable. The two-way ANOVA is an extension of the one-way ANOVA since it allows to evaluate the effects on a numerical response of two ...
[Read more...]

Top 10 errors in R and how to fix them

February 6, 2023 | R on Stats and R

Introduction 1. Unmatched parentheses, curly braces, square brackets or quotes 2. Using a function that is not installed or loaded 3. Typos in function, variable, dataset, object or package names 4. Missing, incorrect or misspelled arguments in fun...
[Read more...]

Web scraping in R

January 15, 2023 | R on Stats and R

Introduction HTML and CSS Web scraping vs. APIs Why does web scraping exist if APIs are so powerful and do exactly the same work? Web scraping in R rvest HTTP GET request Parsing HTML content CSS selector XPath Getting attributes A real app...
[Read more...]

Google Analytics in R: Review of 2022

December 15, 2022 | R on Stats and R

Introduction Prerequisites Analytics Page views over time Page views per month and year Top performing pages Page views by country Page views per day of week Thank you note Introduction It is almost the end of the year, which means it is tim...
[Read more...]

One-sample Wilcoxon test in R

July 6, 2022 | R on Stats and R

Introduction When? Data How? Combine statistical test and plot References Introduction In a previous article, we showed how to do a two-sample Wilcoxon test in R. Remember that there are actually two versions of this test: The Mann-Whitney-W...
[Read more...]
1 2 3 5

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)