Knowledge

File:Bounded probability distributions, compared with the normal distribution.svg

Source 📝

38: 269: 275: 280: 94: 697: 203:
plt.figure(figsize=(12, 10)) plt.plot(x, y_n, label='Normal (Kurtosis: 0)') plt.plot(x, y_cosine, label='Raised Cosine (Kurtosis: -0.59)') plt.plot(x, y_wigner, label='Wigner Semicircle (Kurtosis: -1)') plt.plot(x, y_uniform, label='Uniform (Kurtosis: -1.2)')
68: 64: 60: 56: 52: 48: 42: 105: 77: 321:– You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. 696: 691: 37: 167:
scos = 1.0 / np.sqrt(1/3.0 - 2/np.pi**2) return np.where(np.abs(x) > scos, 0, (1 + np.cos(x * np.pi / scos)) * 0.5 / scos)
642: 538: 502: 739:
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
328: 626: 592: 486: 458: 443: 430: 558: 522: 450: 403: 386: 728: 290: 742:
If the file has been modified from its original state, some details may not fully reflect the modified file.
327:– If you remix, transform, or build upon the material, you must distribute your contributions under the 212:
plt.legend() plt.xlabel('x') plt.ylabel('Probability Density') plt.title('Some Bounded Distributions')
287: 465: 707: 113: 246: 100: 262:
I, the copyright holder of this work, hereby publish it under the following license:
714:
Uploaded while editing "Sub-Gaussian distribution" on en.wikipedia.org
226: 195:
y_n = n(x) y_cosine = cosine(x) y_wigner = wigner(x) y_uniform = uniform(x)
138:
Bounded probability distributions, compared with the normal distribution.svg
173:
return np.where(np.abs(x) > 2, 0, np.sqrt(4 - x**2) * 0.5 / np.pi)
664:
Click on a date/time to view the file as it appeared at that time.
179:
return np.where(np.abs(x) > np.sqrt(3), 0, 0.5 / np.sqrt(3))
88: 82:(SVG file, nominally 1,080 × 900 pixels, file size: 46 KB) 539:
Creative Commons Attribution-ShareAlike 4.0 International
370:
Add a one-line explanation of what this file represents
132: 112:
Commons is a freely licensed media file repository.
150:import numpy as np import matplotlib.pyplot as plt 466:https://commons.wikimedia.org/User:Cosmia_Nebula 161:return np.exp(-0.5 * x**2) / np.sqrt(2 * np.pi) 338:https://creativecommons.org/licenses/by-sa/4.0 215:plt.savefig('some_bounded_distributions.svg') 93: 344:Creative Commons Attribution-Share Alike 4.0 268: 191:Calculate y-axis values for each distribution 8: 304:– to copy, distribute and transmit the work 41:Size of this PNG preview of this SVG file: 744: 666: 366: 291:Attribution-Share Alike 4.0 International 754: 746: 726: 640: 624: 606: 590: 572: 556: 536: 520: 500: 484: 417: 401: 384: 381: 362: 355: 7: 724:The following page uses this file: 655: 279: 274: 737: 375: 369: 265: 261: 142: 125: 75: 374: 360: 315:Under the following conditions: 286:This file is licensed under the 278: 273: 267: 92: 21: 357: 143: 14: 356: 26: 1: 643:original creation by uploader 31: 382:Items portrayed in this file 187:x = np.linspace(-4, 4, 200) 776: 329:same or compatible license 729:Sub-Gaussian distribution 656: 236: 16: 359: 295: 154:Define the distributions 99:This is a file from the 713: 242: 232: 225: 222: 135: 103:. Information from its 199:Plot the distributions 106:description page there 208:Add legend and labels 183:Create x-axis values 65:2,458 × 2,048 pixels 61:1,229 × 1,024 pixels 692:21:51, 3 April 2024 310:– to adapt the work 47:Other resolutions: 444:Wikimedia username 431:author name string 69:1,080 × 900 pixels 763: 762: 717: 523:copyright license 368: 252: 251: 121: 120: 101:Wikimedia Commons 767: 745: 704: 487:copyright status 468: 463: 453: 448: 438: 435: 351: 348: 345: 342: 339: 331:as the original. 288:Creative Commons 282: 281: 277: 276: 271: 270: 238: 228: 176:def uniform(x): 147: 139: 133: 117: 96: 95: 89: 83: 72: 57:922 × 768 pixels 53:576 × 480 pixels 49:288 × 240 pixels 43:720 × 600 pixels 775: 774: 770: 769: 768: 766: 765: 764: 733: 718: 710: 702: 658: 657: 654: 653: 652: 651: 650: 649: 648: 647: 645: 633: 632: 631: 629: 618: 617: 616: 615: 614: 613: 612: 611: 609: 599: 598: 597: 595: 584: 583: 582: 581: 580: 579: 578: 577: 575: 565: 564: 563: 561: 550: 549: 548: 547: 546: 545: 544: 543: 541: 529: 528: 527: 525: 514: 513: 512: 511: 510: 509: 508: 507: 505: 493: 492: 491: 489: 478: 477: 476: 475: 474: 473: 472: 471: 470: 469: 464: 461: 455: 454: 449: 446: 440: 439: 436: 433: 424: 423: 422: 420: 410: 409: 408: 406: 395: 394: 393: 392: 391: 389: 373: 372: 371: 354: 353: 352: 349: 346: 343: 340: 337: 336: 294: 283: 264: 263: 258: 253: 218: 180: 174: 170:def wigner(x): 168: 164:def cosine(x): 162: 137: 130: 123: 122: 111: 110: 109:is shown below. 85: 81: 74: 73: 46: 12: 11: 5: 773: 771: 761: 760: 757: 753: 752: 749: 736: 732: 731: 722: 721: 716: 715: 712: 708: 705: 699: 694: 689: 685: 684: 681: 678: 675: 672: 669: 662: 661: 646: 641: 639: 638: 637: 636: 635: 634: 630: 627:source of file 625: 623: 622: 621: 620: 619: 610: 607: 605: 604: 603: 602: 601: 600: 596: 591: 589: 588: 587: 586: 585: 576: 573: 571: 570: 569: 568: 567: 566: 562: 557: 555: 554: 553: 552: 551: 542: 537: 535: 534: 533: 532: 531: 530: 526: 521: 519: 518: 517: 516: 515: 506: 501: 499: 498: 497: 496: 495: 494: 490: 485: 483: 482: 481: 480: 479: 457: 456: 442: 441: 429: 428: 427: 426: 425: 421: 418: 416: 415: 414: 413: 412: 411: 407: 402: 400: 399: 398: 397: 396: 390: 385: 383: 380: 379: 378: 377: 376: 365: 364: 361: 358: 335: 334: 333: 332: 322: 313: 312: 311: 305: 298:You are free: 285: 284: 266: 260: 259: 257: 254: 250: 249: 244: 240: 239: 234: 230: 229: 224: 220: 219: 210: 209: 201: 200: 193: 192: 185: 184: 178: 172: 166: 160: 156: 155: 140: 131: 129: 126: 124: 119: 118: 97: 87: 86: 40: 36: 35: 34: 29: 24: 19: 13: 10: 9: 6: 4: 3: 2: 772: 758: 755: 750: 747: 743: 740: 734: 730: 727: 725: 719: 711: 709:Cosmia Nebula 706: 700: 698: 695: 693: 690: 687: 686: 682: 679: 676: 673: 670: 668: 667: 665: 659: 644: 628: 608:image/svg+xml 594: 560: 540: 524: 504: 488: 467: 460: 452: 451:Cosmia Nebula 445: 437:Cosmia Nebula 432: 405: 388: 341:CC BY-SA 4.0 330: 326: 323: 320: 317: 316: 314: 309: 306: 303: 300: 299: 297: 296: 292: 289: 272: 255: 248: 247:Cosmia Nebula 245: 241: 235: 231: 221: 216: 213: 207: 206: 205: 198: 197: 196: 190: 189: 188: 182: 181: 177: 171: 165: 159: 153: 152: 151: 146: 141: 134: 127: 115: 108: 107: 102: 98: 91: 90: 84: 79: 78:Original file 70: 66: 62: 58: 54: 50: 44: 39: 33: 30: 28: 25: 23: 20: 18: 15: 741: 738: 723: 701:1,080 × 900 663: 660:File history 574:3 April 2024 324: 318: 307: 301: 227:3 April 2024 214: 211: 202: 194: 186: 175: 169: 163: 157: 149: 144: 114:You can help 104: 76: 22:File history 503:copyrighted 325:share alike 319:attribution 136:Description 720:File usage 677:Dimensions 593:media type 419:some value 158:def n(x): 148:```python 27:File usage 674:Thumbnail 671:Date/Time 559:inception 256:Licensing 145:English: 735:Metadata 363:Captions 308:to remix 302:to share 293:license. 237:Own work 32:Metadata 703:(46 KB) 688:current 683:Comment 404:creator 387:depicts 367:English 128:Summary 80:‎ 756:Height 243:Author 233:Source 759:720pt 751:864pt 748:Width 680:User 350:true 347:true 223:Date 17:File 459:URL 217:``` 462:: 447:: 434:: 67:| 63:| 59:| 55:| 51:| 45:. 116:. 71:.

Index

File
File history
File usage
Metadata
File:Bounded probability distributions, compared with the normal distribution.svg
720 × 600 pixels
288 × 240 pixels
576 × 480 pixels
922 × 768 pixels
1,229 × 1,024 pixels
2,458 × 2,048 pixels
1,080 × 900 pixels
Original file
Wikimedia Commons
description page there
You can help
Cosmia Nebula
Creative Commons
Attribution-Share Alike 4.0 International
same or compatible license
depicts
creator
author name string
Wikimedia username
Cosmia Nebula
URL
https://commons.wikimedia.org/User:Cosmia_Nebula
copyright status
copyrighted
copyright license

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