Talaksan:Student t cdf.svg

Page contents not supported in other languages.
Mula sa Wikipedia, ang malayang ensiklopedya

Buong resolusyon((Larawang SVG, tinatayang 360 × 288 mga pixel, laki ng talakasan: 35 KB))

Buod

Paglalarawan
English: Plot of the cumulative distribution functions of several members of the Student t-family of probability distributions.
Petsa
Pinanggalingan Sariling gawa
May-akda Skbkekas
SVG genesis
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt
import scipy.special as sp
import scipy.integrate as integral
 
col = ['orange', 'purple', 'deepskyblue']
 
X = np.arange(-5, 5, 0.005)
 
plt.clf()
plt.figure(figsize=(4,3.2))
plt.axes([0.17,0.13,0.79,0.8])
plt.hold(True)
 
A = []

def PDF(x,nu):
	Y = -(nu+1)*np.log(1+x**2/nu)/2
	Y += sp.gammaln((nu+1)/2.0)
	Y -= sp.gammaln(nu/2.0)
	Y -= 0.5*np.log(nu*np.pi)
	Y = np.exp(Y)
	return Y

for k,nu in enumerate([1,2,5]):
	Y=[]
	for x in X:
		Y.append(integral.quad(lambda t: PDF(t,nu),-1000,x))
	a = plt.plot(X, Y, '-', color=col[k], lw=1.5)
	A.append(a)

# Degenerate into Normal distribution
from scipy.stats import norm
Y = norm.cdf(X)
a = plt.plot(X, Y, '-', color='black', lw=1.5)
A.append(a)
 
plt.xlabel("x")
plt.ylabel(u"P(X\N{Less-THAN OR EQUAL TO}x)")

bx = plt.legend(A, (r"$\nu=1$", r"$\nu=2$", r"$\nu=5$", r"$\nu=+\infty$"),\
                numpoints=1, handlelen=0.05, handletextpad=0.4,\
                loc="lower right")
bx.draw_frame(False)
plt.xlim(-5,5)
 
plt.savefig("student_t_cdf.pdf")
plt.savefig("student_t_cdf.eps")
plt.savefig("student_t_cdf.svg")

Paglilisensiya

Ako, na may karapatang-ari ng akdang ito, ang naglalathala nito alinsunod sa ilalim ng sumusunod na mga lisensya:
w:tl:Creative Commons
atribusyon
Ang talaksang ito ay nakalisensiya sa ilalim ng lisensiyang Creative Commons Atribusyon 3.0 Walang Daungan.
Malaya kang:
  • para ibahagi – para kopyahin, ipamahagi, at i-transmit ang akda
  • para i-remix – para i-adapt ang akda
Sa ilalim ng mga kondisyong ito:
  • atribusyon – Dapat magbigay ka ng isang maayos na pag-credit, ibigay ang link sa lisensiya, at tukuyin kung may mga pagbabagong ginawa. Magagawa mo ito sa isang risonableng paraan, pero hindi sa paraan na para bang ineendorso ka o ng paggamit mo ng naglisensiya sa'yo.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts English

copyrighted English

22 Pebrero 2010

Nakaraan ng file

Pindutin ang araw/oras upang makita kung papaano ang itsura ng talaksan noong oras na iyon.

Araw/OrasThumbnailMga dimensiyontagagamitKumento
ngayon23:37, 3 Abril 2014Thumbnail para sa bersyon noong 23:37, 3 Abril 2014360 × 288 (35 KB)Hydroxfixed colours (hand-edited SVG)
07:58, 21 Hulyo 2013Thumbnail para sa bersyon noong 07:58, 21 Hulyo 2013360 × 288 (35 KB)IkamusumeFanAdjust the axis for better display.
07:51, 21 Hulyo 2013Thumbnail para sa bersyon noong 07:51, 21 Hulyo 2013360 × 288 (35 KB)IkamusumeFan1. Using \nu instead of df, which appears in Scipy's documentation; 2. Since for some operating systems and Python versions, Scipy's stdtr function has visible errors around t=+1 and -1, we adjust the computation of CDF according to the integral defini...
15:42, 4 Marso 2010Thumbnail para sa bersyon noong 15:42, 4 Marso 2010360 × 288 (28 KB)SkbkekasChanged df's to give better spacing, used thinner lines.
04:11, 23 Pebrero 2010Thumbnail para sa bersyon noong 04:11, 23 Pebrero 2010360 × 288 (27 KB)Skbkekas{{Information |Description={{en|1=Plot of the cumulative distribution functions of several members of the Student t-family of probability distributions.}} |Source={{own}} |Author=Skbkekas |Date=2010-02-22 |Permission= |other_versions= }}

Nakaturo sa talaksan na ito ang mga sumusunod na mga pahina:

Pandaigdigang paggamit sa file

Ginagamit ng mga sumusunod na wiki ang file na ito:

Metadata