Skip to content

Commit d6479e3

Browse files
committed
bugfix rayleigh distr
1 parent 6a3cf62 commit d6479e3

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

.DS_Store

0 Bytes
Binary file not shown.

useful_scripts/univariate_rayleigh_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def comp_theta_mle(d):
66
dataset for a Rayleigh distribution.
77
88
"""
9-
theta = len(d) / sum([x^2 for x in d])
9+
theta = len(d) / sum([x**2 for x in d])
1010
return theta
1111

1212
def likelihood_ray(x, theta):

0 commit comments

Comments
 (0)