title: How to define 'marginal distribution' in GenOrd package?
body: <p>I'm trying to generate ordinal correlated variables with <code>GenOrd</code> package. However, there are some problems.</p>
  
  <p>I'm getting help on this page, which was written by Wesley</p>
  
  <p><a href="https://www.r-bloggers.com/simulating-random-multivariate-correlated-data-categorical-variables/" rel="nofollow noreferrer">https://www.r-bloggers.com/simulating-random-multivariate-correlated-data-categorical-variables/</a></p>
  
  <p>In this page, and most of other explanation about GenOrd package, the marginal distirbution must be set. In this page, the marginal distribution is</p>
  
  <pre><code>#The values are cumulative so for the first variable the first marginal will be .1, the second is .2, the third is .3, and the fourth is .4
  marginal &lt;- list(c(0.1,0.3,0.6),c(0.4,0.7,0.9))
  &gt; marginal
  [[1]]
  [1] 0.1 0.3 0.6
  
  [[2]]
  [1] 0.4 0.7 0.9
  </code></pre>
  
  <p>However, as far as I Know, the marginal distribution is as follows. (from English wikipedia)</p>
  
  <p><a href="https://i.stack.imgur.com/gASmT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gASmT.png" alt="enter image description here"></a></p>
  
  <p>So the sum of marginal probability is 1. However, in the second list in marginal object, the sum is 0.4+0.7+0.9=2</p>
  
  <p>How can I interpret this object?</p>