TidyStat
  • SPSS Tutorials
  • Analytics
  • Excel Tutorial
  • Python Basics
  • R Tutorials
  • Statistics

Category: R

Type 3 ANOVA in R (with Examples)

Type 3 ANOVA in R can be calculated using Anova() function from CAR. The following shows the steps of doing it in R. Step 1: Prepare data in R The data has two categorical IVs (cities and stores) and one...
Read Full Article about Type 3 ANOVA in R (with Examples) →

Type 2 ANOVA in R (with Examples)

This tutorial shows how you can calculate Type 2 ANOVA in R with an example. Anova() in the package of Companion to Applied Regression (CAR) can be used to calculate Type 2 ANOVA in R. Note that, Anova() in CAR only...
Read Full Article about Type 2 ANOVA in R (with Examples) →

Type 1 ANOVA in R (with Examples)

This tutorial shows how to do Type 1 ANOVA in R. There are two functions in R that can be used to calculate Type 1 ANOVA, anova() or aov(). Note that, anova() here is different from Anova() in Companion to...
Read Full Article about Type 1 ANOVA in R (with Examples) →

What is dnorm in R (Examples)

This tutorial shows how you can use dnorm() in R with examples. The following is the syntax of dnorm(). dnorm(x, mean = 0, sd = 1, log = FALSE) mean: The mean of the normal distribution sample data. The default value is 0....
Read Full Article about What is dnorm in R (Examples) →

Linear Regression with Categorical Variables in R (4 Steps)

For linear regression models, IVs can be either categorical, numerical, or a combination of them. This tutorial focuses on linear regression with categorical variable as IVs in R. For instance, the dependent variable Y is sales, whereas the independent variable...
Read Full Article about Linear Regression with Categorical Variables in R (4 Steps) →

How to Plot Shaded Area in R (3 Examples)

This tutorial shows how to add shaded area under a normal distribution curve (i.e., bell curve) in R using examples.
Read Full Article about How to Plot Shaded Area in R (3 Examples) →

How to Use pnorm in R (Examples)

This tutorial shows the definition of pnorm() in R and how to use it with examples. pnorm() is used to return probability (p) for the given quantile (q). pnorm(q, mean, sd, lower.tail = TRUE, log.p = FALSE) q: the quantile (value on...
Read Full Article about How to Use pnorm in R (Examples) →

Introduction of Normal Distribution Functions in R (Examples)

The tutorial provides examples for each of these 4 normal distribution functions in R. R has 4 normal distribution functions, including rnorm, dnorm, pnorm, and qnorm. The following table provides a summary for each of these 4 normal distribution functions...
Read Full Article about Introduction of Normal Distribution Functions in R (Examples) →

Probability Density Functions in R (Examples)

The tutorial shows examples of how you can use built-in Probability Density Functions (PDF) in R, including PDF for normal distribution (dnorm), uniform distribution (dunif), and exponential distribution (dexp). Example 1: PDF for Normal Distribution Normal distribution PDF dnorm() in...
Read Full Article about Probability Density Functions in R (Examples) →

How to Use rnorm in R (Examples of Simulate Normal Distribution)

rnorm() in R can be used to simulate a sample of normal distribution data. This tutorial uses 3 examples showing how you can simulate normal distribution sample using rnorm(). In particular, rnorm has the following statement. rnorm(n, mean=0, sd=1) n: The...
Read Full Article about How to Use rnorm in R (Examples of Simulate Normal Distribution) →

Posts pagination

Previous 1 … 3 4 5 6 Next
© 2026 TidyStat
  • Disclaimer
  • About