Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bivariate gaussian copula for reluctances and activities #39

Merged
merged 5 commits into from
Mar 25, 2024

Conversation

MSallermann
Copy link
Member

Implemented a bivariate Gaussian copula (as well as a truncated normal distribution) to generate correlated activites and reluctances in the Activity driven model.

MSallermann and others added 4 commits March 25, 2024 11:46
Test is a generous word, as we actually just write out some results and
see if it crashes. But we plotted the histograms vs the expected pdf
in python and they match. It's hard to quantify this in a unit test.
Added the probability density functions to the truncated gaussian
and the power law distribution. Also renamed the cumulative distribution
functions to cdf.

Co-authored-by: Amrita Goswami <[email protected]>
Fixed issues with bivariate_gaussian_copula, due to previous renaming of
cdf. Also put it into the same unit test and plotted the histograms.

Co-authored-by: Amrita Goswami <[email protected]>
@amritagos amritagos force-pushed the bivariate_gaussian_copula branch from cd452a6 to 376bb90 Compare March 25, 2024 11:51
Use the copula to generate correlated activities and reluctances.

Co-authored-by: Amrita Goswami <[email protected]>
@MSallermann MSallermann merged commit 1180221 into develop Mar 25, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant