powered by
Simulate an ordinal tensor from the cumulative logistic model with the parameter tensor and the cut-off points
realization(theta,omega)
a continuous-valued tensor (latent parameters)
the cut-off points
an ordinal tensor randomly simulated from the cumulative logistic model
Lee, C., & Wang, M. (2020). Tensor denoising and completion based on ordinal observations. arXiv preprint arXiv:2002.06524.
# NOT RUN { indices <- c(10,20,30) arr <- array(runif(prod(indices)),dim = indices) b <- qnorm((1:3)/4) r_sample <- realization(arr,b);r_sample # }
Run the code above in your browser using DataLab