I am trying to solve for the following equation, however, there is very little documentation on the SciPy reference guide so I am not sure how to go about doing it.
I have an array of 10 uniform random variables, let's call it X.
I have the following function which takes a parameter theta and a uniform RV from the X's and returns their product raised to the power of e:
def f(x_i, theta):
return math.exp(x * theta)
I am trying to find theta such that this equation holds:
ok you can move the 20 to the other side of the equation so that it is 0, but still I am not sure how to optimize for this quantity given the summation?
Any help would be appreciated! Thank you.