Skip to content

Retrieving lower_ci, upper_ci for return periods #19

Answered by georgebv
mlicer asked this question in Q&A
Discussion options

You must be logged in to vote

@mlicer This function returns a tuple with three arrays: return_value, ci_lower, and ci_upper as seen here:

Returns
-------
return_value : array-like
Return values.
ci_lower : array-like
Lower confidence interval bounds.
ci_upper : array-like
Upper confidence interval bounds.

You can do the following:

...
return_periods = get_return_periods(
		ts=pd.Series(df[varname]),
		extremes=extremes,
		extremes_method=gevMethod,
		extremes_type="high",
		block_size=blockSize,
		return_period_size=blockSize,
		plotting_position="weibull",
	)

reutrn_values, lower_ci, upper_ci = m…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mlicer
Comment options

@georgebv
Comment options

@mlicer
Comment options

Answer selected by georgebv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants