Generate data with certain conditions
So I have the data of X variable(number of data is 300), now I want to generate the data of Y variable with following condition:
So I have the data of X variable(number of data is 300), now I want to generate the data of Y variable with following condition: