Thanks
I'm glad you got a response that answers your question. You should select the best response (not your own) as The Solution.
After thinking about this problem, I wrote a short article that shows that you can also solve the problem by using a Beta distribution. The problem does not have a unique solution, so you need to add an additional constraint if you want uniqueness.
See the article, "Simulate from a bounded distribution that has a specified mean."
Simulating data with given (raw) moments, like mean -- variance -- covariance ...
Here's how you can do that !
Creating Synthetic Data with SAS/OR
By Jared Erickson on Operations Research with SAS May 17, 2017
https://blogs.sas.com/content/operations/2017/05/17/creating-synthetic-data-sasor/
Koen
I respectfully disagree. That method (constrained optimization) is not a good way to simulate data.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.