Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. MultivariateTDistribution::vrprm:
  2. The value {Indeterminate, Indeterminate, Indeterminate, Indeterminate,
  3. Indeterminate, Indeterminate} at position 1 in
  4. MultivariateTDistribution[{Indeterminate, Indeterminate, Indeterminate,
  5. Indeterminate, Indeterminate, Indeterminate},
  6. {{0.1, 0., 0., 0., 0., 0.}, <<4>>, {0., 0., 0., <<2>>, 0.1}}, 3] is
  7. expected to be a list of real numbers.
  8.  
  9. drawDensity[mean_, s2_] := Module[{},
  10.  
  11. scaleMatrixEcon = IdentityMatrix[6];
  12.  
  13. If[Select[mean, Element[#, Reals] &] != mean,
  14. mean2 = theta; (*theta is a list of global parameters*)
  15. ,
  16. mean2 = mean;
  17. ];
  18. RandomVariate[
  19. MultivariateTDistribution[mean2, s2*scaleMatrixEcon, 3]]
  20. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement