As mentioned above, I have a problem where I need to generate new data Y from an existing data X such that Y is p correlated to X.
I know their are several ways to do it but I want to know if monte Carlo simulation could be used to achieve this goal. If it is possible, could you point me in the right direction so that I can learn more about it and implement it too?
Example: data is X = [2, 4, 9, 10]
Generate new Y such that it has 4 values and it is p=0.75 percent correlate to X.