Skip to main content
. 2024 Apr 14;26(4):335. doi: 10.3390/e26040335
Algorithm 1 Simulated Angular Dataset Generation Routine. μj, Σj are the parameters of the mixture component distribution; π is the probability vector assigning weight mixture components; δi is the mixture component identifier for each simulated observation.
  • for niter in [1,,10] do

  •     for nmix in [1,2,4,8] do

  •         for j in 1,,nmix do

  •            Generate μjN320,I

  •            Generate ΣjIW3270,70I

  •         end for

  •         Generate πDirichlet(10nmix)

  •         for i in 1,,1000 do

  •            Generate δiCategorical(π)

  •            Generate XiLNμ[δi],Σ[δi]

  •         end for

  •         for ncol in [2,4,8,16,24,32] do

  •            Project columns 1 to ncol of X onto Sncol1 and save.

  •         end for

  •     end for

  • end for