Suppose there are 4 strata groups that conform universe. Each one has its own different ordered media and the same frequence=1/4. I want to generate random values from their cummulative population fraction, P. So I put excel to make this:
P1 = 0+ aleatory.between(0;0.25),
P2= 0.25+aleatory.between(0;0.25),
P3= 0.5+aleatory.between(0;0.25).
P4=0.75+aleatory.between(0;0.25).
Then I apply to them some structural equation function of P to obtain a simulated dataset for that SEM. Is this technique common? Is it right or wrong and why? Thanks in advance for your opinions and advice about other possible methods.