Fitxer original(fitxer SVG, nominalment 360 × 288 píxels, mida del fitxer: 39 Ko)

Descripció a Commons

Resum

Descripció
English: Plot of the density function for several members of the Student t family.
Data
Font Treball propi
Autor Skbkekas
SVG genesis
InfoField
 
El codi font d'aquest SVG és vàlid.
 
Aquesta imatge vectorial ha estat creada amb Matplotlib
Codi font
InfoField

Python code

# Origin: Skbkekas
# Enhanced: Ika, 2013-07-24

import numpy as np
import matplotlib.pyplot as plt
import scipy.special as sp
 
col = ['orange', 'purple', 'deepskyblue']
 
X = np.arange(-5, 5, 0.001)
 
plt.clf()
plt.figure(figsize=(4,3.2))
plt.axes([0.17,0.13,0.79,0.8])
plt.hold(True)
 
A = []
for k,nu in enumerate([1,2,5]):
    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)
    a = plt.plot(X, np.exp(Y), '-', color=col[k], lw=1.5)
    A.append(a[0])

# Draw the curve of Normal distribution, which is the limit of t-distribution sequence.
mu = 0	# mean = 0
sigma = 1	# variance = 1
M = 1/(sigma*np.sqrt(2*np.pi))
N = np.exp(-(X-mu)*(X-mu)/(2*sigma*sigma));
Y = M*N
a = plt.plot(X, Y, '-', color='black', lw=1.5)
A.append(a[0])

plt.xlabel("x")
plt.ylabel("P(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="upper right")
bx.draw_frame(False)
plt.xlim(-5,5)
 
plt.savefig("student_t_pdf.pdf")
plt.savefig("student_t_pdf.svg")

Llicència

Jo, el titular dels drets d'autor d'aquest treball, el public sota la següent llicència:
w:ca:Creative Commons
reconeixement
Aquest fitxer està subjecte a la llicència de Creative Commons Reconeixement 3.0 No adaptada.
Sou lliure de:
  • compartir – copiar, distribuir i comunicar públicament l'obra
  • adaptar – fer-ne obres derivades
Amb les condicions següents:
  • reconeixement – Heu de donar la informació adequada sobre l'autor, proporcionar un enllaç a la llicència i indicar si s'han realitzat canvis. Podeu fer-ho amb qualsevol mitjà raonable, però de cap manera no suggereixi que l'autor us dóna suport o aprova l'ús que en feu.

Llegendes

Afegeix una explicació d'una línia del que representa aquest fitxer

Elements representats en aquest fitxer

representa l'entitat

Historial del fitxer

Cliqueu una data/hora per veure el fitxer tal com era aleshores.

Data/horaMiniaturaDimensionsUsuari/aComentari
actual07:45, 21 jul 2013Miniatura per a la versió del 07:45, 21 jul 2013360 × 288 (39 Ko)IkamusumeFan1. Using \nu instead of df; 2. The previous edition used 1000 to stand for infinity case. The limit of the t-distribution sequence is normal distribution. Thus, we use normal distribution instead.
17:36, 4 març 2010Miniatura per a la versió del 17:36, 4 març 2010360 × 288 (30 Ko)SkbkekasLast file was incorrectly uploaded as cdf.
17:35, 4 març 2010Miniatura per a la versió del 17:35, 4 març 2010360 × 288 (27 Ko)SkbkekasChanged df's to give better spacing, used thinner lines.
06:08, 23 feb 2010Miniatura per a la versió del 06:08, 23 feb 2010360 × 288 (32 Ko)Skbkekas{{Information |Description={{en|1=Plot of the density function for several members of the Student t family.}} |Source={{own}} |Author=Skbkekas |Date=2010-02-22 |Permission= |other_versions= }} [[Category:Statistical charts and diagrams]

La pàgina següent utilitza aquest fitxer:

Ús global del fitxer

Utilització d'aquest fitxer en altres wikis:

Metadades