예제 #1
0
def Student_t(df, loc=0, scale=1, nc=0):
    """
(Non-central) Student-t distribution

df : float, Dist
    Degrees of freedom
loc : float, Dist
    Location parameter
scale : float, Dist
    Scale parameter
nc : flat, Dist
    Non-centrality parameter
    """
    dist = co.student_t(df)*scale + loc
    dist.addattr(str="Student_t(%s,%s,%s)" % (df, loc, scale))
    return dist
예제 #2
0
def Student_t(df, loc=0, scale=1, nc=0):
    """
(Non-central) Student-t distribution

df : float, Dist
    Degrees of freedom
loc : float, Dist
    Location parameter
scale : float, Dist
    Scale parameter
nc : flat, Dist
    Non-centrality parameter
    """
    dist = co.student_t(df) * scale + loc
    dist.addattr(str="Student_t(%s,%s,%s)" % (df, loc, scale))
    return dist
예제 #3
0
파일: copulas.py 프로젝트: apetcho/chaospy
 def __init__(self, a, R):
     self.MV = mvstudentt(a, np.zeros(len(R)), R)
     self.UV = student_t(a)
     Dist.__init__(self, _length=len(R))
예제 #4
0
파일: copulas.py 프로젝트: simetenn/chaospy
 def __init__(self, a, R):
     self.MV = mvstudentt(a, np.zeros(len(R)), R)
     self.UV = student_t(a)
     Dist.__init__(self, _length=len(R))