BYO Prior Parameter Ensemble #241
Replies: 3 comments
-
I think you want to use |
Beta Was this translation helpful? Give feedback.
-
Ah yes sorry and thanks for interpreting/clarifying that --> I am waffling between creating So I think I have this working like this:
That'd be taking a look at the covariance_matrix method on v eh? Then to sample a set of ensembles that follow this covariance:
And looking at the produced ensemble values they appear to be spatially correlated, and the range sampled fits with the "95% confidence" par_sigma_range default (I think?). Cool. So I think that covers me off nicely for building a parcov (and subsequent ensemble) "manually" with one parameter group. The next step would be mixing different param groups with potentially differing variograms... like you mentioned IES will hold them independent of each other, which is okay... and that kinda means I supply a covariance matrix for each parameter group and then loop through them sequentially calling ParameterEnsemble.from_gaussian_draw on Finally, the most complicated question (and kind of an open question I'd appreciate your take/advice on): how to go about incorporating covariance between parameter groups that have different units? Like the key case @userbarryb and I are thinking about is that recharge and surficial K should be correlated. We'd need to somehow build up a covariance matrix that captures the spatial correlation but also a correlation between each location's K parameter and Recharge parameter. Any thoughts/advice on the maths/implementation of something like that would be most helpful. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I prefer to generate my own prior ensembles before ies runs just to have some more control of it. The way I usually make a combined prior ensemble (with both geostat covariance and indep parameters) is with Your last question re correlation between HK and recharge...do you think they are correlated in a prior sense or are you expecting them to be correlated in the responses of the model (like high HK and high recharge can yield similar sim water levels as low HK and low recharge)? If the latter, then I'd let that correlation arise naturally in the inverse problem and not hard-wire it. If you really insist on adding this correlation in the prior, it can get kind of dicey bc to you have to start adding off-diagonal elements - it can be done but Ive had a hard time with this previously bc the matrix quickly becomes singular... |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to understand how to point my
pst.pestpp_options['ies_parameter_ensemble']
to a covariance matrix that comes out of some sort of my own contrived geostatistical analysis. More or less trying to understand the workflow and maybe to a lesser extent exactly what the numbers in that covariance matrix mean.My basic example below is just gonna attempt to use a distance matrix as a surrogate for parameter covariance (very very basic just to flesh out the perceived workflow).
Am I on the right track with this workflow --> i.e. will it incorporate my imposed correlation between parameters into the ensemble generation/sampling?
Beta Was this translation helpful? Give feedback.
All reactions