Closed tgmueller closed 1 year ago
I also posted this question on stackoverflow: https://stackoverflow.com/questions/55541238/platypus-for-creating-histograms-with-known-mean-variance-skewness-and-kurtos
This issue is stale and will be closed soon. If you feel this issue is still relevant, please comment to keep it active. Please also consider working on a fix and submitting a PR.
Hi Folks:
And I thought a platypus was a beaver with duck feet..... Thanks @dhadka for the hard work you put into developing this.
Actually, I wrote code to try to obtain a distribution with a target mean, variance, skewness, and kurtosis. I almost have it working but I am having some problems. I'm using scipy.stats.gengamma to generate the distributions. I'm trying different weighting to adjust for the variable scale. It seems like I should have four constraints: problem = {i.e., Problem(4, 4, 4)} but I get an error. I am able to set the problem.constraints to "==0". If anyone has time to chat about this, please contact me at 515 745 7588 or tgmueller1@gmail.com.