How to Constrain Covariate Coefficients to Positive Values in Nonstationary GEV Models Using extRemes?

Hi everyone,

I am working on fitting a nonstationary Generalized Extreme Value (GEV) model to discharge data (q) using the extRemes package in R. My goal is to model the location and scale parameters as linear functions of covariates. Here's my current setup:

mod4965 <- fevd(q,
location.fun = ~ cov1 + cov5 + cov7,
scale.fun = ~ cov1 + cov2 + cov5 + cov7,
type = 'GEV',
method = 'MLE')

In my case, it is physically unreasonable for the covariate coefficients to be negative, so I need to ensure that all estimated coefficients are positive.

Any advice, examples, or suggestions on how to handle this would be greatly appreciated.

Thanks in advance for your help!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.