- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# How to create a standard normal distribution curve with 3-sigma limits in R?

A standard normal distribution has mean equals to zero and the standard deviation equals to one. Therefore, when we plot it with three sigma limits, we have six points on the X-axis referring to the plus and minus around zero. If the limits are defined then the plotting can be shown with larger width and that will change the display of the curve. We can do this by creating a sequence for the length of the standard normal variable and its density.

Consider the below vectors corresponding to the limits and density−

x<-seq(-3,3,length=5000) y<-dnorm(x,mean=0,sd=1)

## Example

Creating the standard normal distribution curve −

plot(x,y,xlim=c(-3,3))

## Output

## Example

Creating the same plot with larger width −

plot(x,y,xlim=c(-4,4))

## Output

- Related Questions & Answers
- How to create line chart using ggplot2 in R with 3-sigma limits?
- Java Program for Standard Normal Distribution (SND)
- How to simulate normal distribution for a fixed limit in R?
- How to find the proportion using normal distribution in R?
- How to generate standard normal random numbers in R?
- How to find the less than probability using normal distribution in R?
- How to create an exponential curve in R?
- How to create a plot of Poisson distribution in R?
- How to create a plot of binomial distribution in R?
- How to create a plot of empirical distribution in R?
- How to create an exponential distribution plot in R?
- How to create normal probability plot in R with confidence interval bands?
- How to create bar plot in base R with different limits for Y-axis?
- How to fill the area under a curve in a Seaborn distribution plot?
- How to create normal random variables with specific correlation between them in R?

Advertisements