Knowledge

Talk:Monte Carlo method

Source đź“ť

297: 734: 713: 192: 182: 161: 31: 809: 287: 266: 469: 85: 64: 392: 371: 22: 1114: 873:
circle pi:(4-pi)? That is, the total blue area (of the four quadrants) would occupy only 4-pi of the total, and the red area would occupy pi of the total area. So, I wonder why the article seems to say the ratio of the red to blue in the quadrant is pi/4. That's not right: the ratio of the red to the
1044:
I agree. I am not sure PRNG effects on MC should be included. From my personal work I have done in the past I can say it is an issue when you have a low-quality PRNG (for instance rand() ...) and specific models, but other than saying "bad PRNG potentially leads to skewed/inefficient results" the
490: 1165:
The calculations performed using the Monte Carlo code on the ENIAC (1948) for the H bomb were secret but the method was not. Ulam promoted the method on a tour of universities in the following year. Metropolis coined the name as a buzz word not as a secret code word.
1084:
I removed the section per the discussion above (and it was obviously redundant). I could not find any wikimedia link to python code in the article, so if someone feels that is necessary and knows where it is, please feel free to add it. Cheers!
977:-a- a Python (or any other language) code example is far too detailed (and irrelevant) here and -b- mentioning Mersenne Twister out of the blue is also irrelevant for inclusion here; Monte Carlo method has nothing to do with the choice of PRNG. 959:
that doesn't belong there is being given a new lease on life: here, as a subsection named 'Mersenne_twister (MT19937) in Python (a Monte Carlo method simulation)' within the 'Monte Carlo and random numbers' section.
1068:
Fellow-wikipedians, @Pi314m, @Mvqr, @jwikip I interpret the above exchange as consensus; hence unless there is any quick objection I shall make the above-mentioned changes to the article in the next few days ! --
784: 514: 248: 867:
I'm a little confused. Looking at the example of Monte Carlo distribution of a quadrant in a unit square. Isn't the ratio of total red to blue (randomly placed dots inside vs. outside the
1225: 654: 1030:@Mvqr if choice of PRNG affects MC simulation then we should be saying so in the article with explanation of how this is so, but not including MT specifically ... d'you agree? -- 1133: 571: 509: 1270: 1280: 432: 442: 1215: 1285: 1230: 353: 35: 1295: 1255: 1240: 774: 408: 238: 133: 1275: 616: 143: 1210: 874:
blue should be pi/4 : (4-pi)/4. The blue does not equal 4 to pi's 3.14. I'm pretty sure this needs to be either clarified or fixed, because I'm lost.
1300: 1265: 343: 1220: 590: 455: 399: 376: 214: 296: 1250: 750: 679: 1290: 1016:
I support removal. It is too python specific, and a very trivial example. PRNG choice can affect MC simulation, but not for this example.--
109: 1235: 562: 1124: 1106: 319: 1260: 822: 543: 205: 166: 741: 718: 1245: 1205: 635: 92: 69: 905::4, which is indeed, as the article says, the fraction filled by "a quadrant (circular sector) inscribed in a unit square." - 310: 271: 600: 481: 44: 852: 610: 524: 925:"The question was what are the chances that a Canfield solitaire laid out with 52 cards will come out successfully?" 910: 645: 407:
related articles on Knowledge. If you would like to participate, please visit the project page, where you can join
672: 831: 889:
What you're saying is correct, but the text is also correct. It doesn't say that the ratio of red to blue is
1147: 1102: 941: 105: 906: 581: 50: 191: 733: 712: 1090: 933: 929: 21: 1186: 1167: 879: 749:
on Knowledge. If you would like to participate, please visit the project page, where you can join
318:
on Knowledge. If you would like to participate, please visit the project page, where you can join
213:
on Knowledge. If you would like to participate, please visit the project page, where you can join
108:
on Knowledge. If you would like to participate, please visit the project page, where you can join
1171: 1138: 1128: 837: 197: 181: 160: 975:
Objection to the above change : we already have an example of calculating pi in this article:
937: 500: 1074: 1035: 1007: 965: 956: 833: 808: 552: 404: 1086: 1182: 1050: 1021: 875: 626: 468: 302: 491:
Requested articles/Applied arts and sciences/Computer science, computing, and Internet
1199: 1070: 1031: 1003: 961: 286: 265: 210: 84: 63: 835: 746: 292: 187: 1134:
Knowledge:Redirects for discussion/Log/2023 April 21 § Monte carlo Simulation
1190: 1175: 1152: 1094: 1078: 1054: 1046: 1039: 1025: 1017: 1011: 969: 945: 914: 883: 533: 101: 391: 370: 97: 1113: 1162:"Being secret, the work of von Neumann and Ulam required a code name." 936:? Both games are known as "Canfield", but play somewhat differently. -- 315: 999:
to state that sample Python code can be found in the MediaWiki entry
1131:. Readers of this page are welcome to comment on this redirect at 838: 802: 609:
Find pictures for the biographies of computer scientists (see
15: 984:) includes (Python) code in its corresponding MediaWiki entry 980:
Note that the diagram showing how to simulate/calculate Pi (
1119: 928:
Do we know whether Ulam was talking specifically about
951:
Monte Carlo method simulations (from Pseudorandomness)
1127:
to determine whether its use and function meets the
745:, a collaborative effort to improve the coverage of 403:, a collaborative effort to improve the coverage of 314:, a collaborative effort to improve the coverage of 209:, a collaborative effort to improve the coverage of 96:, a collaborative effort to improve the coverage of 515:Computer science articles needing expert attention 1045:effects are very much PRNG and model dependent.-- 1226:Knowledge level-5 vital articles in Mathematics 655:WikiProject Computer science/Unreferenced BLPs 846:This page has archives. Sections older than 8: 572:Computer science articles without infoboxes 510:Computer science articles needing attention 1271:B-Class physics articles of Mid-importance 997:Modify the caption of the existing diagram 707: 476:Here are some tasks awaiting attention: 450: 365: 260: 155: 58: 1281:High-importance Computer science articles 1216:Knowledge vital articles in Mathematics 1002:fellow-Wikipedians ; what say you ? -- 709: 367: 262: 157: 60: 19: 856:when more than 5 sections are present. 417:Knowledge:WikiProject Computer science 1286:WikiProject Computer science articles 1231:B-Class vital articles in Mathematics 420:Template:WikiProject Computer science 7: 739:This article is within the scope of 397:This article is within the scope of 308:This article is within the scope of 203:This article is within the scope of 90:This article is within the scope of 49:It is of interest to the following 1296:Top-importance Statistics articles 1256:High-priority mathematics articles 1241:High-importance Computing articles 591:Timeline of computing 2020–present 14: 1276:B-Class Computer science articles 850:may be automatically archived by 617:Computing articles needing images 223:Knowledge:WikiProject Mathematics 1211:Knowledge level-5 vital articles 1137:until a consensus is reached. – 1112: 807: 759:Knowledge:WikiProject Statistics 732: 711: 467: 390: 369: 295: 285: 264: 226:Template:WikiProject Mathematics 190: 180: 159: 83: 62: 29: 20: 1301:WikiProject Statistics articles 1266:Mid-importance physics articles 893::4, but that "the ratio of the 779:This article has been rated as 762:Template:WikiProject Statistics 437:This article has been rated as 348:This article has been rated as 243:This article has been rated as 138:This article has been rated as 118:Knowledge:WikiProject Computing 1221:B-Class level-5 vital articles 121:Template:WikiProject Computing 1: 946:20:21, 28 December 2019 (UTC) 915:13:36, 20 February 2019 (UTC) 884:08:09, 20 February 2019 (UTC) 753:and see a list of open tasks. 671:Tag all relevant articles in 411:and see a list of open tasks. 328:Knowledge:WikiProject Physics 322:and see a list of open tasks. 217:and see a list of open tasks. 112:and see a list of open tasks. 1251:B-Class mathematics articles 680:WikiProject Computer science 456:WikiProject Computer science 400:WikiProject Computer science 331:Template:WikiProject Physics 1291:B-Class Statistics articles 991:Delete this recent addition 611:List of computer scientists 1317: 1236:B-Class Computing articles 1153:23:28, 21 April 2023 (UTC) 987:My conclusion : we should 443:project's importance scale 354:project's importance scale 144:project's importance scale 1079:14:25, 27 July 2020 (UTC) 1055:10:53, 26 July 2020 (UTC) 1040:05:53, 24 July 2020 (UTC) 1026:10:51, 10 July 2020 (UTC) 778: 727: 673:Category:Computer science 449: 436: 423:Computer science articles 385: 347: 280: 242: 175: 137: 78: 57: 1261:B-Class physics articles 1191:21:14, 5 June 2023 (UTC) 1176:21:12, 5 June 2023 (UTC) 1125:redirects for discussion 1107:Redirects for discussion 1012:20:28, 9 July 2020 (UTC) 970:10:07, 9 July 2020 (UTC) 675:and sub-categories with 249:project's priority scale 1095:06:57, 3 May 2021 (UTC) 206:WikiProject Mathematics 1246:All Computing articles 1206:B-Class vital articles 1120:Monte carlo Simulation 1103:Monte carlo Simulation 853:Lowercase sigmabot III 742:WikiProject Statistics 636:Computer science stubs 106:information technology 93:WikiProject Computing 36:level-5 vital article 934:Klondike (solitaire) 930:Canfield (solitaire) 454:Things you can help 229:mathematics articles 1181:Citation for that? 1129:redirect guidelines 1123:has been listed at 765:Statistics articles 311:WikiProject Physics 899:total-sample-count 198:Mathematics portal 124:Computing articles 45:content assessment 1151: 901:(red + blue)" is 860: 859: 799: 798: 795: 794: 791: 790: 706: 705: 702: 701: 698: 697: 694: 693: 364: 363: 360: 359: 259: 258: 255: 254: 154: 153: 150: 149: 1308: 1145: 1143: 1122: 1116: 983: 957:Pseudorandomness 907:Bryanrutherford0 904: 892: 855: 839: 811: 803: 785:importance scale 767: 766: 763: 760: 757: 736: 729: 728: 723: 715: 708: 684: 678: 553:Computer science 482:Article requests 471: 464: 463: 451: 425: 424: 421: 418: 415: 414:Computer science 405:Computer science 394: 387: 386: 381: 377:Computer science 373: 366: 336: 335: 334:physics articles 332: 329: 326: 305: 300: 299: 289: 282: 281: 276: 268: 261: 231: 230: 227: 224: 221: 200: 195: 194: 184: 177: 176: 171: 163: 156: 126: 125: 122: 119: 116: 87: 80: 79: 74: 66: 59: 42: 33: 32: 25: 24: 16: 1316: 1315: 1311: 1310: 1309: 1307: 1306: 1305: 1196: 1195: 1160: 1139: 1118: 1110: 981: 953: 923: 902: 890: 865: 851: 840: 834: 816: 764: 761: 758: 755: 754: 721: 690: 687: 682: 676: 664:Project-related 659: 640: 621: 595: 576: 557: 538: 519: 495: 439:High-importance 422: 419: 416: 413: 412: 380:High‑importance 379: 333: 330: 327: 324: 323: 301: 294: 274: 228: 225: 222: 219: 218: 196: 189: 169: 140:High-importance 123: 120: 117: 114: 113: 73:High‑importance 72: 43:on Knowledge's 40: 30: 12: 11: 5: 1314: 1312: 1304: 1303: 1298: 1293: 1288: 1283: 1278: 1273: 1268: 1263: 1258: 1253: 1248: 1243: 1238: 1233: 1228: 1223: 1218: 1213: 1208: 1198: 1197: 1194: 1193: 1159: 1156: 1109: 1099: 1098: 1097: 1066: 1065: 1064: 1063: 1062: 1061: 1060: 1059: 1058: 1057: 994: 988: 985: 978: 976: 952: 949: 922: 919: 918: 917: 897:(red) and the 864: 861: 858: 857: 845: 842: 841: 836: 832: 830: 827: 826: 818: 817: 812: 806: 797: 796: 793: 792: 789: 788: 781:Top-importance 777: 771: 770: 768: 751:the discussion 737: 725: 724: 722:Top‑importance 716: 704: 703: 700: 699: 696: 695: 692: 691: 689: 688: 686: 685: 668: 660: 658: 657: 651: 641: 639: 638: 632: 622: 620: 619: 614: 606: 596: 594: 593: 587: 577: 575: 574: 568: 558: 556: 555: 549: 539: 537: 536: 530: 520: 518: 517: 512: 506: 496: 494: 493: 487: 475: 473: 472: 460: 459: 447: 446: 435: 429: 428: 426: 409:the discussion 395: 383: 382: 374: 362: 361: 358: 357: 350:Mid-importance 346: 340: 339: 337: 320:the discussion 307: 306: 303:Physics portal 290: 278: 277: 275:Mid‑importance 269: 257: 256: 253: 252: 241: 235: 234: 232: 215:the discussion 202: 201: 185: 173: 172: 164: 152: 151: 148: 147: 136: 130: 129: 127: 110:the discussion 88: 76: 75: 67: 55: 54: 48: 26: 13: 10: 9: 6: 4: 3: 2: 1313: 1302: 1299: 1297: 1294: 1292: 1289: 1287: 1284: 1282: 1279: 1277: 1274: 1272: 1269: 1267: 1264: 1262: 1259: 1257: 1254: 1252: 1249: 1247: 1244: 1242: 1239: 1237: 1234: 1232: 1229: 1227: 1224: 1222: 1219: 1217: 1214: 1212: 1209: 1207: 1204: 1203: 1201: 1192: 1188: 1184: 1180: 1179: 1178: 1177: 1173: 1169: 1163: 1157: 1155: 1154: 1149: 1144: 1142: 1141:Novem Linguae 1136: 1135: 1130: 1126: 1121: 1117:The redirect 1115: 1108: 1104: 1100: 1096: 1092: 1088: 1083: 1082: 1081: 1080: 1076: 1072: 1056: 1052: 1048: 1043: 1042: 1041: 1037: 1033: 1029: 1028: 1027: 1023: 1019: 1015: 1014: 1013: 1009: 1005: 1001: 1000: 998: 992: 986: 979: 974: 973: 972: 971: 967: 963: 958: 955:A section in 950: 948: 947: 943: 939: 935: 931: 926: 920: 916: 912: 908: 900: 896: 888: 887: 886: 885: 881: 877: 872: 871: 863:Pi/4 question 862: 854: 849: 844: 843: 829: 828: 825: 824: 820: 819: 815: 810: 805: 804: 801: 786: 782: 776: 773: 772: 769: 752: 748: 744: 743: 738: 735: 731: 730: 726: 720: 717: 714: 710: 681: 674: 670: 669: 667: 665: 661: 656: 653: 652: 650: 648: 647: 642: 637: 634: 633: 631: 629: 628: 623: 618: 615: 612: 608: 607: 605: 603: 602: 597: 592: 589: 588: 586: 584: 583: 578: 573: 570: 569: 567: 565: 564: 559: 554: 551: 550: 548: 546: 545: 540: 535: 532: 531: 529: 527: 526: 521: 516: 513: 511: 508: 507: 505: 503: 502: 497: 492: 489: 488: 486: 484: 483: 478: 477: 474: 470: 466: 465: 462: 461: 457: 453: 452: 448: 444: 440: 434: 431: 430: 427: 410: 406: 402: 401: 396: 393: 389: 388: 384: 378: 375: 372: 368: 355: 351: 345: 342: 341: 338: 321: 317: 313: 312: 304: 298: 293: 291: 288: 284: 283: 279: 273: 270: 267: 263: 250: 246: 245:High-priority 240: 237: 236: 233: 216: 212: 208: 207: 199: 193: 188: 186: 183: 179: 178: 174: 170:High‑priority 168: 165: 162: 158: 145: 141: 135: 132: 131: 128: 111: 107: 103: 99: 95: 94: 89: 86: 82: 81: 77: 71: 68: 65: 61: 56: 52: 46: 38: 37: 27: 23: 18: 17: 1164: 1161: 1140: 1132: 1111: 1105:" listed at 1067: 996: 990: 954: 938:Lord Belbury 927: 924: 898: 895:inside-count 894: 869: 868: 866: 847: 821: 813: 800: 780: 740: 663: 662: 646:Unreferenced 644: 643: 625: 624: 599: 598: 580: 579: 561: 560: 542: 541: 523: 522: 499: 498: 480: 479: 438: 398: 349: 309: 244: 204: 139: 91: 51:WikiProjects 34: 220:Mathematics 211:mathematics 167:Mathematics 1200:Categories 1183:—DIYeditor 1087:Doctormatt 756:Statistics 747:statistics 719:Statistics 876:Zelchenko 534:Computing 115:Computing 102:computing 98:computers 70:Computing 39:is rated 1168:Owensumm 921:Canfield 848:365 days 814:Archives 582:Maintain 525:Copyedit 1158:History 783:on the 563:Infobox 501:Cleanup 441:on the 352:on the 325:Physics 316:Physics 272:Physics 247:on the 142:on the 41:B-class 993:, and 962:Pi314m 870:entire 544:Expand 104:, and 47:scale. 627:Stubs 601:Photo 458:with: 28:This 1187:talk 1172:talk 1148:talk 1091:talk 1075:talk 1051:talk 1047:Mvqr 1036:talk 1022:talk 1018:Mvqr 1008:talk 995:-2- 989:-1- 966:talk 942:talk 911:talk 880:talk 433:High 239:High 134:High 932:or 775:Top 344:Mid 1202:: 1189:) 1174:) 1093:) 1077:) 1071:jw 1053:) 1038:) 1032:jw 1024:) 1010:) 1004:jw 968:) 944:) 913:) 882:) 683:}} 677:{{ 100:, 1185:( 1170:( 1150:) 1146:( 1101:" 1089:( 1073:( 1049:( 1034:( 1020:( 1006:( 982:π 964:( 940:( 909:( 903:π 891:π 878:( 823:1 787:. 666:: 649:: 630:: 613:) 604:: 585:: 566:: 547:: 528:: 504:: 485:: 445:. 356:. 251:. 146:. 53::

Index


level-5 vital article
content assessment
WikiProjects
WikiProject icon
Computing
WikiProject icon
WikiProject Computing
computers
computing
information technology
the discussion
High
project's importance scale
WikiProject icon
Mathematics
WikiProject icon
icon
Mathematics portal
WikiProject Mathematics
mathematics
the discussion
High
project's priority scale
WikiProject icon
Physics
WikiProject icon
icon
Physics portal
WikiProject Physics

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑