Jump to content

File:Beta rect pdf.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 800 × 600 pixels, file size: 32 KB)

Summary

Description
English: The pdf of the Beta rectangular distribution. The support interval is [0,1].
Date
Source Own work
Author IkamusumeFan

Gnuplot Source Code

# Author: Ika
# Date: 08/16/2014
# The support interval is [0,1]
# Note that Inkscape is needed to address the display problem of the Greek letters.

set term svg size 800,600 enhanced font 'Arial, 22'
set output 'beta_rect_pdf.svg'

set samples 500
set xrange [0:1.0]
set yrange [0.5:1.5]
set xtics 0.1
set ytics 0.1
set xzeroaxis lt -1 lc rgb "black" lw 1
set yzeroaxis lt -1 lc rgb "black" lw 1

# Draw the Beta rectangular distribution's pdf
set key center bottom

f(x,theta, a, b) = theta*gamma(a+b)/gamma(a)/gamma(b)*(x**(a-1))*((1-x)**(b-1))+1-theta

plot f(x, 0.1,1,1) t "t=0.2, a=1, b=1" lc rgb "red" lw 5,\
   f(x, 0.4,2,1) t "t=0.4, a=2, b=1" lc rgb "black" lw 5,\
   f(x, 0.4,1,2) t "t=0.4, a=1, b=2" lc rgb "blue" lw 5,\
   f(x, 0.5,2,2) t "t=0.5, a=2, b=2" lc rgb "green" lw 5

set term x11
set output

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

16 August 2014

image/svg+xml

4a23e8aa2e641c6d49c9294449264d3a8b065eb0

32,387 byte

600 pixel

800 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current02:19, 17 August 2014Thumbnail for version as of 02:19, 17 August 2014800 × 600 (32 KB)IkamusumeFanUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata