All problems
Cramer-Rao Bound
Problem
Return the Cramer-Rao variance lower bound for an unbiased estimator:
Var(theta_hat) >= 1 / fisher_info
Hint
More Fisher information means a tighter bound on estimator variance.
Test cases
case 1
in: [2]
expected: 0.5
case 2
in: [0.5]
expected: 2
case 3
in: [10]
expected: 0.1
case 4
in: [1]
expected: 1
Starter codePython
def cramer_rao_bound(fisher_info):
# Your code here
pass4 test cases · run your code against them in the editor