0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

標準化正規分布グラフでシグマの範囲を見る

Posted at

シグマの範囲

standard_inSigma <- {
  curve(dnorm, -4, 4, type="l")

  xs <- seq(-1, 1, length=n)
  ys <- dnorm(xs)
  polygon( c(xs,rev(xs)), c(rep(0,n),rev(ys)), col="red")
}

シグマの外の範囲

standard_outSigma <- {
  curve(dnorm, -4, 4, type="l")
  
  xs <- seq(-4, -1, length=n)
  ys <- dnorm(xs)
  polygon( c(xs,rev(xs)), c(rep(0,n),rev(ys)), col="blue")
  
  xs <- seq(1, 4, length=n)
  ys <- dnorm(xs)
  polygon( c(xs,rev(xs)), c(rep(0,n),rev(ys)), col="blue")
}

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?