Advertisement
kokopelli

Comparing samplers

Aug 20th, 2014
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. # 3 Kinds of Samplers compared, Rejection (originally done), Geometric (Using facets) and Rep (Using rep approach)
  2. s : 1.000000 d : 0.600000 n : 3.000000 trials = 25000
  3. Rejection
  4. # Position 1 (t2) # Position 2 (t3)
  5. 0.333750958912582 0.667378513289849 # Mean
  6. 0.0246016149300004 0.0246140838800493 # Var
  7. -0.000915516356596894 0.000903715617604211 # 3rd central moment
  8. 0.00125210268008227 0.00126472753172854 # 4th central moment
  9.  
  10. Geometric # Same format as above
  11. 0.331689071683891 0.665323581449216
  12. 0.0247421146804724 0.0249142296863424
  13. -0.000920497331089717 0.000969397036107626
  14. 0.00126317677670301 0.00127346533214416
  15.  
  16. Rep # Same format as above
  17. 0.333750958912582 0.667378513289849
  18. 0.0246016149300004 0.0246140838800493
  19. -0.000915516356596894 0.000903715617604211
  20. 0.00125210268008227 0.00126472753172854
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement