You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context: I need to estimate the sigma value for my data containing values to 1000. The estimator uses math.exp(self.t * x) which gives an error on some values.
Example:
sample = pd.Series([-710, 0, 710]).values
t_n = [0.0, 1.0]
for t in t_n:
try:
estimator = SemiParametricMeanSigmaEstimationEmpirical(
sample=sample,
t=t
)
result = estimator.algorithm(sample)
sigma_values.append(result.value if result.success else np.nan)
except:
sigma_values.append(np.nan)