🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 184 (from laksa007)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

📄
INDEXABLE
CRAWLED
5 days ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0.2 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://reference.wolfram.com/language/ref/BetaDistribution.html
Last Crawled2026-04-11 14:51:26 (5 days ago)
First Indexed2014-09-22 22:26:47 (11 years ago)
HTTP Status Code200
Meta TitleBetaDistribution—Wolfram Documentation
Meta DescriptionBetaDistribution[\[Alpha], \[Beta]] represents a continuous beta distribution with shape parameters \[Alpha] and \[Beta].
Meta Canonicalnull
Boilerpipe Text
See Also GammaDistribution BinomialDistribution Beta BetaRegularized InverseBetaRegularized FRatioDistribution DirichletDistribution Related Guides Bounded Domain Distributions Parametric Statistical Distributions Functions Used in Statistics Tech Notes Continuous Distributions See Also GammaDistribution BinomialDistribution Beta BetaRegularized InverseBetaRegularized FRatioDistribution DirichletDistribution Related Guides Bounded Domain Distributions Parametric Statistical Distributions Functions Used in Statistics Tech Notes Continuous Distributions Examples     Basic Examples     Scope     Applications     Properties & Relations     Possible Issues     BetaDistribution [ α , β ] Copy to clipboard. BetaDistribution[α,β] represents a continuous beta distribution with shape parameters α and β . Details Background & Context BetaDistribution [ α , β ] represents a statistical distribution defined over the interval and parametrized by two positive values α , β known as "shape parameters", which, roughly speaking, determine the "fatness" of the left and right tails in the probability density function (PDF). Depending on the values of α and β , the PDF of the beta distribution may be monotonic increasing, monotonic decreasing, or unimodal with potential singularities approaching the boundaries of its domain. The beta distribution arises as a prior distribution for binomial proportions in Bayesian analysis. It is also commonly used to model random variables limited to a finite interval. For example, the distribution of the smallest element in a continuous, independent, and uniformly distributed sample of size of can be computed using OrderDistribution [ { UniformDistribution [ ] , n } , k ] and is precisely equal to BetaDistribution [ k , n - k +1 ] . In addition to its statistical significance, the beta distribution also plays a fundamental role in a number of scientific fields, including phenomena related to allele frequency distribution, soil property variability, geological mineral-to-rock ratios, and HIV transmission behavior. RandomVariate can be used to give one or more machine- or arbitrary-precision (the latter via the WorkingPrecision option) pseudorandom variates from a beta distribution. Distributed [ x , BetaDistribution [ α , β ] ] , written more concisely as x  BetaDistribution [ α , β ] , can be used to assert that a random variable x is distributed according to a beta distribution. Such an assertion can then be used in functions such as Probability , NProbability , Expectation , and NExpectation . The probability density and cumulative distribution functions may be given using PDF [ BetaDistribution [ α , β ] , x ] and CDF [ BetaDistribution [ α , β ] , x ] . The mean, median, variance, raw moments, and central moments may be computed using Mean , Median , Variance , Moment , and CentralMoment , respectively. DistributionFitTest can be used to test if a given dataset is consistent with a beta distribution, EstimatedDistribution to estimate a beta parametric distribution from given data, and FindDistributionParameters to fit data to a beta distribution. ProbabilityPlot can be used to generate a plot of the CDF of given data against the CDF of a symbolic beta distribution and QuantilePlot to generate a plot of the quantiles of given data against the quantiles of a symbolic beta distribution. TransformedDistribution can be used to represent a transformed beta distribution, CensoredDistribution to represent the distribution of values censored between upper and lower values, and TruncatedDistribution to represent the distribution of values truncated between upper and lower values. CopulaDistribution can be used to build higher-dimensional distributions that contain a beta distribution, and ProductDistribution can be used to compute a joint distribution with independent component distributions involving beta distributions. The beta distribution is related to a number of other distributions. For example, BetaDistribution is the so-called "conjugate prior" for the parameters of a number of other distributions, including BernoulliDistribution , BinomialDistribution , NegativeBinomialDistribution , and GeometricDistribution . Moreover, BetaDistribution generalizes both UniformDistribution and PowerDistribution in the sense that (modulo inclusion of the endpoints and ), PDF [ BetaDistribution [ 1 , 1 ] , x ] is equal to both PDF [ UniformDistribution [ ] , x ] and PDF [ PowerDistribution [ 1 , 1 ] , x ] . BetaDistribution can also be obtained as transformations of KumaraswamyDistribution and NoncentralBetaDistribution and is closely related to PERTDistribution , PearsonDistribution , ChiSquareDistribution , GammaDistribution , FRatioDistribution , and BetaPrimeDistribution . Examples open all close all Basic Examples     (4) Summary of the most common use cases Scope     (8) Survey of the scope of standard use cases Applications     (3) Sample problems that can be solved with this function Properties & Relations     (21) Properties of the function, and connections to other functions Possible Issues     (2) Common pitfalls and unexpected behavior Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016). Copy to clipboard. Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016). Text Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016). Copy to clipboard. Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016). CMS Wolfram Language. 2007. "BetaDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/BetaDistribution.html. Copy to clipboard. Wolfram Language. 2007. "BetaDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/BetaDistribution.html. APA Wolfram Language. (2007). BetaDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BetaDistribution.html Copy to clipboard. Wolfram Language. (2007). BetaDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BetaDistribution.html BibTeX @misc{reference.wolfram_2025_betadistribution, author="Wolfram Research", title="{BetaDistribution}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/BetaDistribution.html}", note=[Accessed: 11-April-2026]} Copy to clipboard. @misc{reference.wolfram_2025_betadistribution, author="Wolfram Research", title="{BetaDistribution}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/BetaDistribution.html}", note=[Accessed: 11-April-2026]} BibLaTeX @online{reference.wolfram_2025_betadistribution, organization={Wolfram Research}, title={BetaDistribution}, year={2016}, url={https://reference.wolfram.com/language/ref/BetaDistribution.html}, note=[Accessed: 11-April-2026]} Copy to clipboard. @online{reference.wolfram_2025_betadistribution, organization={Wolfram Research}, title={BetaDistribution}, year={2016}, url={https://reference.wolfram.com/language/ref/BetaDistribution.html}, note=[Accessed: 11-April-2026]}
Markdown
# [Products](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Wolfram\|One The definitive Wolfram Language and notebook experience](https://www.wolfram.com/wolfram-one/?source=nav) - [Mathematica The original technical computing environment](https://www.wolfram.com/mathematica/?source=nav) - [Notebook Assistant + LLM Kit All-in-one AI assistance for your Wolfram experience](https://www.wolfram.com/notebook-assistant-llm-kit/?source=nav) - [Compute Services](https://www.wolfram.com/compute-services/?source=nav) - [System Modeler](https://www.wolfram.com/system-modeler/?source=nav) - [Finance Platform](https://www.wolfram.com/finance-platform/?source=nav) - [Wolfram\|Alpha Notebook Edition](https://www.wolfram.com/wolfram-alpha-notebook-edition/?source=nav) - [Application Server](https://www.wolfram.com/application-server/?source=nav) - [Enterprise Private Cloud](https://www.wolfram.com/enterprise-private-cloud/?source=nav) - [Wolfram Engine](https://www.wolfram.com/engine/?source=nav) - [Wolfram Player](https://www.wolfram.com/player/?source=nav) - [Wolfram Cloud App](https://www.wolfram.com/cloud-app/?source=nav) - [Wolfram Player App](https://www.wolfram.com/player-app/?source=nav) [More mobile apps](https://www.wolfram.com/products/?source=nav#mobile-apps) ## Core Technologies of Wolfram Products - [Wolfram Language](https://www.wolfram.com/language/?source=nav) - [Computable Data](https://www.wolfram.com/language/core-areas/knowledgebase/?source=nav) - [Wolfram Notebooks](https://www.wolfram.com/notebooks/?source=nav) - [AI & Linguistic Understanding](https://www.wolfram.com/natural-language-understanding/?source=nav) ## Deployment Options - [Wolfram Cloud](https://www.wolfram.com/cloud/?source=nav) - [wolframscript](https://www.wolfram.com/wolframscript/?source=nav) - [Wolfram Engine Community Edition](https://www.wolfram.com/engine/?source=nav) - [Wolfram LLM API](https://www.wolfram.com/resources/tools-for-AIs/?source=nav#apis-for-ais) - [WSTPServer](https://www.wolfram.com/wstpserver/?source=nav) - [Wolfram\|Alpha APIs](https://products.wolframalpha.com/api/?source=nav) ## From the Community - [Function Repository](https://resources.wolframcloud.com/FunctionRepository/?source=nav) - [Community Paclet Repository](https://resources.wolframcloud.com/PacletRepository/?source=nav) - [Example Repository](https://resources.wolframcloud.com/ExampleRepository/?source=nav) - [Neural Net Repository](https://resources.wolframcloud.com/NeuralNetRepository/?source=nav) - [Prompt Repository](https://resources.wolframcloud.com/PromptRepository/?source=nav) - [Wolfram Demonstrations](https://demonstrations.wolfram.com/?source=nav) - [Data Repository](https://datarepository.wolframcloud.com/?source=nav) - [Group & Organizational Licensing](https://www.wolfram.com/group-organization-licensing/?source=nav) - [All Products](https://www.wolfram.com/products/?source=nav) [Consulting & Solutions](https://reference.wolfram.com/language/ref/BetaDistribution.html) We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise - Data & Computational Intelligence - Model-Based Design - Algorithm Development - Wolfram\|Alpha for Business - Blockchain Technology - Education Technology - Quantum Computation [Wolfram Consulting](https://consulting.wolfram.com/?source=nav) ## Wolfram Solutions - [Data Science](https://www.wolfram.com/data-science-consulting/?source=nav) - [Artificial Intelligence](https://www.wolfram.com/artificial-intelligence/?source=nav) - [Biosciences](https://www.wolfram.com/solutions/biosciences/?source=nav) - [Healthcare Intelligence](https://www.wolfram.com/solutions/computational-intelligence-in-healthcare/?source=nav) - [Sustainable Energy](https://www.wolfram.com/solutions/sustainable-energy/?source-nav) - [Control Systems](https://www.wolfram.com/language/core-areas/controls/?source=nav) - [Enterprise Wolfram\|Alpha](https://products.wolframalpha.com/enterprise/?source=nav) - [Blockchain Labs](https://wolframblockchainlabs.com/?source=nav) [More Wolfram Solutions](https://www.wolfram.com/solutions/?source=nav) ## Wolfram Solutions For Education - [Research Universities](https://www.wolfram.com/education/research-universities/?source=nav) - [Colleges & Teaching Universities](https://www.wolfram.com/education/teaching-universities/?source=nav) - [Junior & Community Colleges](https://www.wolfram.com/education/community-colleges/?source=nav) - [High Schools](https://www.wolfram.com/education/high-schools/?source=nav) - [Educational Technology](https://www.wolfram.com/solutions/educational-technology/?source=nav) - [Computer-Based Math](https://www.computerbasedmath.org/?source=nav) [More Solutions for Education](https://www.wolfram.com/education/?source=nav) - [Contact Us](https://consulting.wolfram.com/?source=nav#contact-us) [Learning & Support](https://reference.wolfram.com/language/ref/BetaDistribution.html) ## Get Started - [Wolfram Language Introduction](https://www.wolfram.com/language/elementary-introduction/3rd-ed/?source=nav) - [Fast Intro for Programmers](https://www.wolfram.com/language/fast-introduction-for-programmers/?source=nav) - [Fast Intro for Math Students](https://www.wolfram.com/language/fast-introduction-for-math-students/?source=nav) - [Wolfram Language Documentation](https://reference.wolfram.com/language/?source=nav) ## More Learning - [Highlighted Core Areas](https://www.wolfram.com/language/core-areas/?source=nav) - [Demonstrations](https://demonstrations.wolfram.com/?source=nav) - [YouTube](https://www.youtube.com/@WolframResearch/?source=nav) - [Daily Study Groups](https://www.wolfram.com/wolfram-u/courses/wolfram-language/daily-study-groups/?source=nav) - [Wolfram Schools and Programs](https://education.wolfram.com/programs/?source=nav) - [Books](https://www.wolfram.com/books/?source=nav) ## Grow Your Skills - [Wolfram U Courses in computing, science, life and more](https://www.wolfram.com/wolfram-u/?source=nav) - [Community Learn, solve problems and share ideas.](https://community.wolfram.com/?source=nav) - [Blog News, views and insights from Wolfram](https://blog.wolfram.com/?source=nav) - [Resources for Software Developers](https://www.wolfram.com/developer/resources/?source=nav) ## Tech Support - [Contact Us](https://www.wolfram.com/support/contact/?source=nav) - [Support FAQs](https://support.wolfram.com/?source=nav) - [Support FAQs](https://support.wolfram.com/?source=nav) - [Contact Us](https://www.wolfram.com/support/contact/?source=nav) [Company](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [About Wolfram](https://www.wolfram.com/company/?source=nav) - [Career Center](https://www.wolfram.com/company/careers/?source=nav) - [All Sites & Resources](https://www.wolfram.com/resources/?source=nav) - [Connect & Follow](https://www.wolfram.com/connect/?source=nav) - [Contact Us](https://www.wolfram.com/company/contact/?source=nav) ## Work with Us - [Student Ambassador Initiative](https://www.wolfram.com/company/careers/ambassador/?source=nav) - [Wolfram for Startups](https://www.wolfram.com/startups/?source=nav) - [Student Opportunities](https://www.wolfram.com/company/careers/students/?source=nav) - [Jobs Using Wolfram Language](https://community.wolfram.com/content?curTag=jobs&source=nav) ## Educational Programs for Adults - [Summer School](https://education.wolfram.com/summer-school/?source=nav) - [Winter School](https://education.wolfram.com/winter-school/?source=nav) ## Educational Programs for Youth - [Middle School Camp](https://education.wolfram.com/middle-school-camp/?source=nav) - [High School Research Program](https://education.wolfram.com/summer-research-high-school/?source=nav) - [Computational Adventures](https://www.computationinitiative.org/computational-adventures/?source=nav) ## Read - [Stephen Wolfram's Writings](https://writings.stephenwolfram.com/?source=nav) - [Wolfram Blog](https://blog.wolfram.com/?source=nav) - [Wolfram Tech \| Books](https://www.wolfram.com/books/?source=nav) - [Wolfram Media](https://www.wolfram-media.com/?source=nav) - [Complex Systems](https://www.complex-systems.com/?source=nav) ## Educational Resources - [Wolfram MathWorld](https://mathworld.wolfram.com/?source=nav) - [Wolfram in STEM/STEAM](https://www.wolfram.com/education/stem/?source=nav) - [Wolfram Challenges](https://challenges.wolframcloud.com/?source=nav) - [Wolfram Problem Generator](https://www.wolframalpha.com/pro/problem-generator/?source=nav) ## Wolfram Initiatives - [Wolfram Science](https://www.wolframscience.com/?source=nav) - [Wolfram Foundation](https://www.wolframfoundation.org/?source=nav) - [History of Mathematics Project](https://www.history-of-mathematics.org/?source=nav) ## Events - [Stephen Wolfram Livestreams](https://livestreams.stephenwolfram.com/?source=nav) - [Online & In-Person Events](https://events.wolfram.com/?source=nav) - [Contact Us](https://www.wolfram.com/company/contact/?source=nav) - [Connect & Follow](https://www.wolfram.com/connect/?source=nav) [Wolfram\|Alpha](https://www.wolframalpha.com/?source=nav) - [Your Account](https://account.wolfram.com/?source=nav) - [User Portal](https://user.wolfram.com/?source=nav) - [Wolfram Cloud](https://www.wolframcloud.com/?source=nav) - Products - [Wolfram\|One](https://www.wolfram.com/wolfram-one/?source=nav) - [Mathematica](https://www.wolfram.com/mathematica/?source=nav) - [Notebook Assistant + LLM Kit](https://www.wolfram.com/notebook-assistant-llm-kit/?source=nav) - [Compute Services](https://www.wolfram.com/compute-services/?source=nav) - [System Modeler](https://www.wolfram.com/system-modeler/?source=nav) - [Finance Platform](https://www.wolfram.com/finance-platform/?source=nav) - [Wolfram\|Alpha Notebook Edition](https://www.wolfram.com/wolfram-alpha-notebook-edition/?source=nav) - [Application Server](https://www.wolfram.com/application-server/?source=nav) - [Enterprise Private Cloud](https://www.wolfram.com/enterprise-private-cloud/?source=nav) - [Wolfram Engine](https://www.wolfram.com/engine/?source=nav) - [Wolfram Player](https://www.wolfram.com/player/?source=nav) - [Wolfram Cloud App](https://www.wolfram.com/cloud-app/?source=nav) - [Wolfram Player App](https://www.wolfram.com/player-app/?source=nav) [More mobile apps](https://www.wolfram.com/products/?source=nav#mobile-apps) - Core Technologies - [Wolfram Language](https://www.wolfram.com/language/?source=nav) - [Computable Data](https://www.wolfram.com/language/core-areas/knowledgebase/?source=nav) - [Wolfram Notebooks](https://www.wolfram.com/notebooks/?source=nav) - [AI & Linguistic Understanding](https://www.wolfram.com/natural-language-understanding/?source=nav) - Deployment Options - [Wolfram Cloud](https://www.wolfram.com/cloud/?source=nav) - [wolframscript](https://www.wolfram.com/wolframscript/?source=nav) - [Wolfram Engine Community Edition](https://www.wolfram.com/engine/?source=nav) - [Wolfram LLM API](https://www.wolfram.com/resources/tools-for-AIs/?source=nav#apis-for-ais) - [WSTPServer](https://www.wolfram.com/wstpserver/?source=nav) - [Wolfram\|Alpha APIs](https://products.wolframalpha.com/api/?source=nav) - From the Community - [Function Repository](https://resources.wolframcloud.com/FunctionRepository/?source=nav) - [Community Paclet Repository](https://resources.wolframcloud.com/PacletRepository/?source=nav) - [Example Repository](https://resources.wolframcloud.com/ExampleRepository/?source=nav) - [Neural Net Repository](https://resources.wolframcloud.com/NeuralNetRepository/?source=nav) - [Prompt Repository](https://resources.wolframcloud.com/PromptRepository/?source=nav) - [Wolfram Demonstrations](https://demonstrations.wolfram.com/?source=nav) - [Data Repository](https://datarepository.wolframcloud.com/?source=nav) - [Group \&Organizational Licensing](https://www.wolfram.com/group-organization-licensing/?source=nav) - [All Products](https://www.wolfram.com/products/?source=nav) - Consulting & Solutions We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise [WolframConsulting.com](https://consulting.wolfram.com/?source=nav) ## Wolfram Solutions - [Data Science](https://www.wolfram.com/data-science-consulting/?source=nav) - [Artificial Intelligence](https://www.wolfram.com/artificial-intelligence/?source=nav) - [Biosciences](https://www.wolfram.com/solutions/biosciences/?source=nav) - [Healthcare Intelligence](https://www.wolfram.com/solutions/computational-intelligence-in-healthcare/?source=nav) - [Sustainable Energy](https://www.wolfram.com/solutions/sustainable-energy/?source-nav) - [Control Systems](https://www.wolfram.com/language/core-areas/controls/?source=nav) - [Enterprise Wolfram\|Alpha](https://products.wolframalpha.com/enterprise/?source=nav) - [Blockchain Labs](https://wolframblockchainlabs.com/?source=nav) [More Wolfram Solutions](https://www.wolfram.com/solutions/?source=nav) ## Wolfram Solutions For Education - [Research Universities](https://www.wolfram.com/education/research-universities/?source=nav) - [Colleges & Teaching Universities](https://www.wolfram.com/education/teaching-universities/?source=nav) - [Junior & Community Colleges](https://www.wolfram.com/education/community-colleges/?source=nav) - [High Schools](https://www.wolfram.com/education/high-schools/?source=nav) - [Educational Technology](https://www.wolfram.com/solutions/educational-technology/?source=nav) - [Computer-Based Math](https://www.computerbasedmath.org/?source=nav) [More Solutions for Education](https://www.wolfram.com/education/?source=nav) - [Contact Us](https://consulting.wolfram.com/?source=nav#contact-us) - Learning & Support ## Get Started - [Wolfram Language Introduction](https://www.wolfram.com/language/elementary-introduction/3rd-ed/?source=nav) - [Fast Intro for Programmers](https://www.wolfram.com/language/fast-introduction-for-programmers/?source=nav) - [Fast Intro for Math Students](https://www.wolfram.com/language/fast-introduction-for-math-students/?source=nav) - [Wolfram Language Documentation](https://reference.wolfram.com/language/?source=nav) ## Grow Your Skills - [Wolfram U Courses in computing, science, life and more](https://www.wolfram.com/wolfram-u/?source=nav) - [Community Learn, solve problems and share ideas.](https://community.wolfram.com/?source=nav) - [Blog News, views and insights from Wolfram](https://blog.wolfram.com/?source=nav) - [Resources for Software Developers](https://www.wolfram.com/developer/resources/?source=nav) - Tech Support - [Contact Us](https://www.wolfram.com/support/contact/?source=nav) - [Support FAQs](https://support.wolfram.com/?source=nav) - More Learning - [Highlighted Core Areas](https://www.wolfram.com/language/core-areas/?source=nav) - [Demonstrations](https://demonstrations.wolfram.com/?source=nav) - [YouTube](https://www.youtube.com/@WolframResearch/?source=nav) - [Daily Study Groups](https://www.wolfram.com/wolfram-u/courses/wolfram-language/daily-study-groups/?source=nav) - [Wolfram Schools and Programs](https://education.wolfram.com/programs/?source=nav) - [Books](https://www.wolfram.com/books/?source=nav) - [Support FAQs](https://support.wolfram.com/?source=nav) - [Contact Us](https://www.wolfram.com/support/contact/?source=nav) - Company - [About Wolfram](https://www.wolfram.com/company/?source=nav) - [Career Center](https://www.wolfram.com/company/careers/?source=nav) - [All Sites & Resources](https://www.wolfram.com/resources/?source=nav) - [Connect & Follow](https://www.wolfram.com/connect/?source=nav) - [Contact Us](https://www.wolfram.com/company/contact/?source=nav) ## Work with Us - [Student Ambassador Initiative](https://www.wolfram.com/company/careers/ambassador/?source=nav) - [Wolfram for Startups](https://www.wolfram.com/startups/?source=nav) - [Student Opportunities](https://www.wolfram.com/company/careers/students/?source=nav) - [Jobs Using Wolfram Language](https://community.wolfram.com/content?curTag=jobs&source=nav) ## Educational Programs for Adults - [Summer School](https://education.wolfram.com/summer-school/?source=nav) - [Winter School](https://education.wolfram.com/winter-school/?source=nav) ## Educational Programs for Youth - [Middle School Camp](https://education.wolfram.com/middle-school-camp/?source=nav) - [High School Research Program](https://education.wolfram.com/summer-research-high-school/?source=nav) - [Computational Adventures](https://www.computationinitiative.org/computational-adventures/?source=nav) ## Read - [Stephen Wolfram's Writings](https://writings.stephenwolfram.com/?source=nav) - [Wolfram Blog](https://blog.wolfram.com/?source=nav) - [Wolfram Tech \| Books](https://www.wolfram.com/books/?source=nav) - [Wolfram Media](https://www.wolfram-media.com/?source=nav) - [Complex Systems](https://www.complex-systems.com/?source=nav) - Educational Resources - [Wolfram MathWorld](https://mathworld.wolfram.com/?source=nav) - [Wolfram in STEM/STEAM](https://www.wolfram.com/education/stem/?source=nav) - [Wolfram Challenges](https://challenges.wolframcloud.com/?source=nav) - [Wolfram Problem Generator](https://www.wolframalpha.com/pro/problem-generator/?source=nav) - Wolfram Initiatives - [Wolfram Science](https://www.wolframscience.com/?source=nav) - [Wolfram Foundation](https://www.wolframfoundation.org/?source=nav) - [History of Mathematics Project](https://www.history-of-mathematics.org/?source=nav) - Events - [Stephen Wolfram Livestreams](https://livestreams.stephenwolfram.com/?source=nav) - [Online & In-Person Events](https://events.wolfram.com/?source=nav) - [Contact Us](https://www.wolfram.com/company/contact/?source=nav) - [Connect & Follow](https://www.wolfram.com/connect/?source=nav) - [Wolfram\|Alpha](https://www.wolframalpha.com/?source=nav) - [Wolfram Cloud](https://www.wolframcloud.com/?source=nav) - [Your Account](https://account.wolfram.com/?source=nav) - [User Portal](https://user.wolfram.com/?source=nav) [Wolfram Language & System Documentation Center](https://reference.wolfram.com/language/) BetaDistribution - [See Also](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html) - [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html) - [Beta](https://reference.wolfram.com/language/ref/Beta.html) - [BetaRegularized](https://reference.wolfram.com/language/ref/BetaRegularized.html) - [InverseBetaRegularized](https://reference.wolfram.com/language/ref/InverseBetaRegularized.html) - [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html) - [DirichletDistribution](https://reference.wolfram.com/language/ref/DirichletDistribution.html) - [Related Guides](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Bounded Domain Distributions](https://reference.wolfram.com/language/guide/BoundedDomainDistributions.html) - [Parametric Statistical Distributions](https://reference.wolfram.com/language/guide/ParametricStatisticalDistributions.html) - [Functions Used in Statistics](https://reference.wolfram.com/language/guide/FunctionsUsedInStatistics.html) - [Tech Notes](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Continuous Distributions](https://reference.wolfram.com/language/tutorial/NumericalOperationsOnData.html#11002) - - [See Also](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html) - [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html) - [Beta](https://reference.wolfram.com/language/ref/Beta.html) - [BetaRegularized](https://reference.wolfram.com/language/ref/BetaRegularized.html) - [InverseBetaRegularized](https://reference.wolfram.com/language/ref/InverseBetaRegularized.html) - [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html) - [DirichletDistribution](https://reference.wolfram.com/language/ref/DirichletDistribution.html) - [Related Guides](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Bounded Domain Distributions](https://reference.wolfram.com/language/guide/BoundedDomainDistributions.html) - [Parametric Statistical Distributions](https://reference.wolfram.com/language/guide/ParametricStatisticalDistributions.html) - [Functions Used in Statistics](https://reference.wolfram.com/language/guide/FunctionsUsedInStatistics.html) - [Tech Notes](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Continuous Distributions](https://reference.wolfram.com/language/tutorial/NumericalOperationsOnData.html#11002) [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html)\[α,β\] represents a continuous beta distribution with shape parameters α and β. Details ![Details and Options](https://reference.wolfram.com/language-assets-v2/img/DetailsOptions-gray.png) ![Details and Options](https://reference.wolfram.com/language-assets-v2/img/DetailsOptions-hover.png) Background & Context Examples Basic Examples Scope Applications Properties & Relations Possible Issues See Also Tech Notes Related Guides History Cite this Page BUILT-IN SYMBOL - [See Also](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html) - [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html) - [Beta](https://reference.wolfram.com/language/ref/Beta.html) - [BetaRegularized](https://reference.wolfram.com/language/ref/BetaRegularized.html) - [InverseBetaRegularized](https://reference.wolfram.com/language/ref/InverseBetaRegularized.html) - [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html) - [DirichletDistribution](https://reference.wolfram.com/language/ref/DirichletDistribution.html) - [Related Guides](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Bounded Domain Distributions](https://reference.wolfram.com/language/guide/BoundedDomainDistributions.html) - [Parametric Statistical Distributions](https://reference.wolfram.com/language/guide/ParametricStatisticalDistributions.html) - [Functions Used in Statistics](https://reference.wolfram.com/language/guide/FunctionsUsedInStatistics.html) - [Tech Notes](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Continuous Distributions](https://reference.wolfram.com/language/tutorial/NumericalOperationsOnData.html#11002) - - [See Also](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html) - [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html) - [Beta](https://reference.wolfram.com/language/ref/Beta.html) - [BetaRegularized](https://reference.wolfram.com/language/ref/BetaRegularized.html) - [InverseBetaRegularized](https://reference.wolfram.com/language/ref/InverseBetaRegularized.html) - [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html) - [DirichletDistribution](https://reference.wolfram.com/language/ref/DirichletDistribution.html) - [Related Guides](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Bounded Domain Distributions](https://reference.wolfram.com/language/guide/BoundedDomainDistributions.html) - [Parametric Statistical Distributions](https://reference.wolfram.com/language/guide/ParametricStatisticalDistributions.html) - [Functions Used in Statistics](https://reference.wolfram.com/language/guide/FunctionsUsedInStatistics.html) - [Tech Notes](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Continuous Distributions](https://reference.wolfram.com/language/tutorial/NumericalOperationsOnData.html#11002) # BetaDistributionCopy to clipboard. ✖ `BetaDistribution` [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html)\[α,β\] Copy to clipboard. ✖ `BetaDistribution[α,β]` represents a continuous beta distribution with shape parameters α and β. # Details ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/details_1.png) - The probability density for value ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/1.png) in a beta distribution is proportional to ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/2.png) for ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/3.png), and is zero for ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/4.png) or ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/5.png). [»](https://reference.wolfram.com/language/ref/BetaDistribution.html#2046786362) - [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) allows α and β to be any positive real numbers. - [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) allows α and β to be dimensionless quantities. [»](https://reference.wolfram.com/language/ref/BetaDistribution.html#504092574) - [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) can be used with such functions as [Mean](https://reference.wolfram.com/language/ref/Mean.html), [CDF](https://reference.wolfram.com/language/ref/CDF.html), and [RandomVariate](https://reference.wolfram.com/language/ref/RandomVariate.html). [»](https://reference.wolfram.com/language/ref/BetaDistribution.html#10542) # Background & Context - [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html)\[α,β\] represents a statistical distribution defined over the interval ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/6.png) and parametrized by two positive values α, β known as "shape parameters", which, roughly speaking, determine the "fatness" of the left and right tails in the probability density function (PDF). Depending on the values of α and β, the PDF of the beta distribution may be monotonic increasing, monotonic decreasing, or unimodal with potential singularities approaching the boundaries of its domain. - The beta distribution arises as a prior distribution for binomial proportions in Bayesian analysis. It is also commonly used to model random variables limited to a finite interval. For example, the distribution of the ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/7.png)![^(th)](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/8.png) smallest element in a continuous, independent, and uniformly distributed sample of size of ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/9.png) can be computed using [OrderDistribution](https://reference.wolfram.com/language/ref/OrderDistribution.html)\[{[UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html)\[\],n},k\] and is precisely equal to [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html)\[k,n\-k\+1\]. In addition to its statistical significance, the beta distribution also plays a fundamental role in a number of scientific fields, including phenomena related to allele frequency distribution, soil property variability, geological mineral-to-rock ratios, and HIV transmission behavior. - [RandomVariate](https://reference.wolfram.com/language/ref/RandomVariate.html) can be used to give one or more machine- or arbitrary-precision (the latter via the [WorkingPrecision](https://reference.wolfram.com/language/ref/WorkingPrecision.html) option) pseudorandom variates from a beta distribution. [Distributed](https://reference.wolfram.com/language/ref/Distributed.html)\[x,BetaDistribution\[α,β\]\], written more concisely as xBetaDistribution\[α,β\], can be used to assert that a random variable x is distributed according to a beta distribution. Such an assertion can then be used in functions such as [Probability](https://reference.wolfram.com/language/ref/Probability.html), [NProbability](https://reference.wolfram.com/language/ref/NProbability.html), [Expectation](https://reference.wolfram.com/language/ref/Expectation.html), and [NExpectation](https://reference.wolfram.com/language/ref/NExpectation.html). - The probability density and cumulative distribution functions may be given using [PDF](https://reference.wolfram.com/language/ref/PDF.html)\[BetaDistribution\[α,β\],x\] and [CDF](https://reference.wolfram.com/language/ref/CDF.html)\[BetaDistribution\[α,β\],x\]. The mean, median, variance, raw moments, and central moments may be computed using [Mean](https://reference.wolfram.com/language/ref/Mean.html), [Median](https://reference.wolfram.com/language/ref/Median.html), [Variance](https://reference.wolfram.com/language/ref/Variance.html), [Moment](https://reference.wolfram.com/language/ref/Moment.html), and [CentralMoment](https://reference.wolfram.com/language/ref/CentralMoment.html), respectively. - [DistributionFitTest](https://reference.wolfram.com/language/ref/DistributionFitTest.html) can be used to test if a given dataset is consistent with a beta distribution, [EstimatedDistribution](https://reference.wolfram.com/language/ref/EstimatedDistribution.html) to estimate a beta parametric distribution from given data, and [FindDistributionParameters](https://reference.wolfram.com/language/ref/FindDistributionParameters.html) to fit data to a beta distribution. [ProbabilityPlot](https://reference.wolfram.com/language/ref/ProbabilityPlot.html) can be used to generate a plot of the CDF of given data against the CDF of a symbolic beta distribution and [QuantilePlot](https://reference.wolfram.com/language/ref/QuantilePlot.html) to generate a plot of the quantiles of given data against the quantiles of a symbolic beta distribution. - [TransformedDistribution](https://reference.wolfram.com/language/ref/TransformedDistribution.html) can be used to represent a transformed beta distribution, [CensoredDistribution](https://reference.wolfram.com/language/ref/CensoredDistribution.html) to represent the distribution of values censored between upper and lower values, and [TruncatedDistribution](https://reference.wolfram.com/language/ref/TruncatedDistribution.html) to represent the distribution of values truncated between upper and lower values. [CopulaDistribution](https://reference.wolfram.com/language/ref/CopulaDistribution.html) can be used to build higher-dimensional distributions that contain a beta distribution, and [ProductDistribution](https://reference.wolfram.com/language/ref/ProductDistribution.html) can be used to compute a joint distribution with independent component distributions involving beta distributions. - The beta distribution is related to a number of other distributions. For example, [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) is the so-called "conjugate prior" for the parameters of a number of other distributions, including [BernoulliDistribution](https://reference.wolfram.com/language/ref/BernoulliDistribution.html), [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html), [NegativeBinomialDistribution](https://reference.wolfram.com/language/ref/NegativeBinomialDistribution.html), and [GeometricDistribution](https://reference.wolfram.com/language/ref/GeometricDistribution.html). Moreover, [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) generalizes both [UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html) and [PowerDistribution](https://reference.wolfram.com/language/ref/PowerDistribution.html) in the sense that (modulo inclusion of the endpoints ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/10.png) and ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/11.png)), [PDF](https://reference.wolfram.com/language/ref/PDF.html)\[BetaDistribution\[1,1\],x\] is equal to both [PDF](https://reference.wolfram.com/language/ref/PDF.html)\[[UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html)\[\],x\] and [PDF](https://reference.wolfram.com/language/ref/PDF.html)\[[PowerDistribution](https://reference.wolfram.com/language/ref/PowerDistribution.html)\[1,1\],x\]. [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) can also be obtained as transformations of [KumaraswamyDistribution](https://reference.wolfram.com/language/ref/KumaraswamyDistribution.html) and [NoncentralBetaDistribution](https://reference.wolfram.com/language/ref/NoncentralBetaDistribution.html) and is closely related to [PERTDistribution](https://reference.wolfram.com/language/ref/PERTDistribution.html), [PearsonDistribution](https://reference.wolfram.com/language/ref/PearsonDistribution.html), [ChiSquareDistribution](https://reference.wolfram.com/language/ref/ChiSquareDistribution.html), [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html), [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html), and [BetaPrimeDistribution](https://reference.wolfram.com/language/ref/BetaPrimeDistribution.html). # Examples open all close all ## Basic Examples (4)Summary of the most common use cases Probability density function: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_1.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-6ghfcq` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_1.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_2.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-xi7qe0` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_2.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_3.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-crqw28` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_3.png) Cumulative distribution function: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_4.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-o4atla` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_4.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_5.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-8fypqg` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_5.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_6.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-xzaznn` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_6.png) Mean and variance: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_7.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-kc5` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_7.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_8.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-xtk` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_8.png) Median: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_9.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-4zlnan` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_9.png) ## Scope (8)Survey of the scope of standard use cases Generate a sample of pseudorandom numbers from a beta distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_10.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-tscvhm` Direct link to example Compare the histogram to the PDF: Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_11.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-fw0ala` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_10.png) Distribution parameters estimation: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_12.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-45b7g2` Direct link to example Estimate the distribution parameters from sample data: Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_13.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-epi747` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_11.png) Compare a density histogram of the sample with the PDF of the estimated distribution: Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_14.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-f8ui5o` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_12.png) Skewness varies with shape parameters: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_15.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-3n7jeg` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_13.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_16.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-i6l` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_14.png) When both parameters go to ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/12.png), the distribution becomes symmetric: Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_17.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-hcr61q` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_15.png) Kurtosis varies with shape parameters: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_18.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-6aiaq1` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_16.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_19.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-gft` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_17.png) In the limit, the kurtosis becomes the same as for [NormalDistribution](https://reference.wolfram.com/language/ref/NormalDistribution.html): Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_20.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-70koo4` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_18.png) Copy to clipboard. In\[4\]:=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_21.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-hn3lr` Direct link to example Out\[4\]=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_19.png) Different moments with closed forms as functions of parameters: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_22.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-js043h` Direct link to example [Moment](https://reference.wolfram.com/language/ref/Moment.html): Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_23.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-rx074o` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_20.png) [CentralMoment](https://reference.wolfram.com/language/ref/CentralMoment.html): Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_24.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-pknsqa` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_21.png) [FactorialMoment](https://reference.wolfram.com/language/ref/FactorialMoment.html): Copy to clipboard. In\[4\]:=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_25.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-zg9ct4` Direct link to example Out\[4\]=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_22.png) [Cumulant](https://reference.wolfram.com/language/ref/Cumulant.html): Copy to clipboard. In\[5\]:=5 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_26.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-9gzmth` Direct link to example Out\[5\]=5 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_23.png) Hazard function: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_27.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-cly108` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_24.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_28.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-cmoefp` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_25.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_29.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-zet7d0` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_26.png) Quantile function: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_30.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-8ljlc3` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_27.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_31.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-ffrzb1` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_28.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_32.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-m8kdz6` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_29.png) Consistent use of [Quantity](https://reference.wolfram.com/language/ref/Quantity.html) in parameters expands them into their numeric values: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_33.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-gr2bgd` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_30.png) Find the mean: Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_34.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-h594k5` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_31.png) ## Applications (3)Sample problems that can be solved with this function Cloud duration approximately follows a beta distribution with parameters 0.3 and 0.4 for a particular location. Find the probability that cloud duration will be longer than half a day: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_35.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-1og0gu` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_32.png) Simulate the fraction of the day that is cloudy over a period of one month: Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_36.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-ex9npo` Direct link to example Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_37.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-txou6v` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_33.png) Find the average cloudiness duration for a day: Copy to clipboard. In\[4\]:=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_38.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-3hhdl7` Direct link to example Out\[4\]=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_34.png) Find the probability of having exactly 20 days in a month with cloud duration less than 10%: Copy to clipboard. In\[5\]:=5 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_39.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-dgsxa0` Direct link to example Copy to clipboard. In\[6\]:=6 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_40.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-cww8e7` Direct link to example Out\[6\]=6 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_35.png) Find the probability of at least 20 days in a month with cloud duration less than 10%: Copy to clipboard. In\[7\]:=7 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_41.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-gdcxid` Direct link to example Out\[7\]=7 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_36.png) Beta distribution can be used to model the proportion of the stocks that increase in value on a given day. Fit beta distribution to the Dow Jones Industrial stocks data: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_42.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-hhnw8h` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_37.png) Find daily change: Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_43.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-vzl714` Direct link to example Number of days for each financial entity: Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_44.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-e15an6` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_38.png) Extract values from time series for each entity and normalize numeric quantities: Copy to clipboard. In\[4\]:=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_45.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-bdcjdx` Direct link to example Check if each entity has the same length of data: Copy to clipboard. In\[5\]:=5 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_46.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-ldtuwa` Direct link to example Out\[5\]=5 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_39.png) Copy to clipboard. In\[6\]:=6 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_47.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-oibkmk` Direct link to example Out\[6\]=6 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_40.png) Calculate the daily ratio of companies with an increase in value: Copy to clipboard. In\[7\]:=7 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_48.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-b1xazx` Direct link to example Find fit, excluding days with no companies having an increase in value: Copy to clipboard. In\[8\]:=8 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_49.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-18xqlp` Direct link to example Out\[8\]=8 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_41.png) Compare the histogram of the data with the PDF of the estimated distribution: Copy to clipboard. In\[9\]:=9 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_50.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-z8idun` Direct link to example Out\[9\]=9 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_42.png) Find the probability that at least 60% of Dow Jones Industrial stocks will increase in value: Copy to clipboard. In\[10\]:=10 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_51.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-k3z2y6` Direct link to example Out\[10\]=10 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_43.png) Find the average percentage of Dow Jones Industrial stocks that will increase in value: Copy to clipboard. In\[11\]:=11 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_52.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-l8d1x5` Direct link to example Out\[11\]=11 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_44.png) Simulate the percentage of Dow Jones Industrial stocks that will increase in value for 30 days: Copy to clipboard. In\[12\]:=12 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_53.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-ogrhpe` Direct link to example Out\[12\]=12 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_45.png) Discrete-time Markov chain ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/13.png), where ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/14.png) is the sequence of independent and identically distributed (iid) standard uniform random variables, and ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/15.png) is the sequence of iid Bernoulli random variables with success probability of ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/16.png) converges to stationary distribution [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html)\[p,1-p\] for any initial condition ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/17.png) such that ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/18.png): Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_54.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-d8x1dq` Direct link to example Sample a realization of the Markov chain and discard the burn-in portion of the path: Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_55.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-wea5d` Direct link to example Samples from the Markov chain are not independent and exhibit internal structure: Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_56.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-jhh7sk` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_46.png) Compare the histogram of path values to the [PDF](https://reference.wolfram.com/language/ref/PDF.html) of the Markov chain's stationary distribution: Copy to clipboard. In\[4\]:=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_57.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-cwr1w` Direct link to example Out\[4\]=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_47.png) Use path values to approximate an expectation: Copy to clipboard. In\[5\]:=5 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_58.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-dcivz6` Direct link to example Out\[5\]=5 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_48.png) Compare with the quadrature value: Copy to clipboard. In\[6\]:=6 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_59.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-f6nfr1` Direct link to example Out\[6\]=6 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_49.png) ## Properties & Relations (21)Properties of the function, and connections to other functions If a variate ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/19.png) follows beta distribution, then ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/20.png) follows the reflected distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_60.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-sdo87r` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_50.png) Relationships to other distributions: ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/Image_21.gif) [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html)\[1,1\] is equivalent to [UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html)\[{0,1}\]: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_61.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-res` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_51.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_62.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-r6e` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_52.png) [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) is a transformation of [UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html): Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_63.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-r56wcy` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_53.png) [UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html) is a transformation of [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html): Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_64.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-oumvvz` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_54.png) [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) is a limiting case of [NoncentralBetaDistribution](https://reference.wolfram.com/language/ref/NoncentralBetaDistribution.html): Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_65.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-dlrhy8` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_55.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_66.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-ewhxcn` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_56.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_67.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-pe9es2` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_57.png) [BetaPrimeDistribution](https://reference.wolfram.com/language/ref/BetaPrimeDistribution.html) can be obtained as a transformation of the beta-distributed variable: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_68.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-sywssu` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_58.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_69.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-yd91s5` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_59.png) Beta distribution is a special case of [PearsonDistribution](https://reference.wolfram.com/language/ref/PearsonDistribution.html) of type 1: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_70.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-x3yp0y` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_60.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_71.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-negofw` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_61.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_72.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-of2jpp` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_62.png) Beta distribution can be obtained as a transformation of [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html): Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_73.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-ub1zwk` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_63.png) Beta distribution can be obtained as a transformation of [ChiSquareDistribution](https://reference.wolfram.com/language/ref/ChiSquareDistribution.html): Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_74.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-bak0x0` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_64.png) [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html) can be obtained from beta distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_75.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-px8s1z` Direct link to example Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_76.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-opzpze` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_65.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_77.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-yz6lah` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_66.png) Copy to clipboard. In\[4\]:=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_78.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-tyc15u` Direct link to example Out\[4\]=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_67.png) Beta distribution is an order distribution of variables from [UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html): Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_79.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-xgzy15` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_68.png) [ExponentialDistribution](https://reference.wolfram.com/language/ref/ExponentialDistribution.html) is a limit of a scaled beta distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_80.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-d5fhku` Direct link to example Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_81.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-don187` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_69.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_82.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-itl7pb` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_70.png) Copy to clipboard. In\[4\]:=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_83.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-8b3vgg` Direct link to example Out\[4\]=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_71.png) Copy to clipboard. In\[5\]:=5 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_84.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-th75rv` Direct link to example Out\[5\]=5 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_72.png) [ExponentialDistribution](https://reference.wolfram.com/language/ref/ExponentialDistribution.html) is a transformation of beta distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_85.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-e3bu74` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_73.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_86.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-7zbko5` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_74.png) [KumaraswamyDistribution](https://reference.wolfram.com/language/ref/KumaraswamyDistribution.html) is a transformation of beta distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_87.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-h1ppe8` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_75.png) [KumaraswamyDistribution](https://reference.wolfram.com/language/ref/KumaraswamyDistribution.html) simplifies to a special case of beta distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_88.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-tyjged` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_76.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_89.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-y0ly7p` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_77.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_90.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-gmfqcx` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_78.png) [PERTDistribution](https://reference.wolfram.com/language/ref/PERTDistribution.html) is a transformation of beta distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_91.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-pvrrzu` Direct link to example Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_92.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-ojaijt` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_79.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_93.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-xapy0l` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_80.png) Copy to clipboard. In\[4\]:=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_94.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-tg7dcq` Direct link to example Out\[4\]=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_81.png) [WignerSemicircleDistribution](https://reference.wolfram.com/language/ref/WignerSemicircleDistribution.html) is a transformation of special beta distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_95.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-zo9b0n` Direct link to example Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_96.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-djj5oc` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_82.png) Copy to clipboard. In\[3\]:=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_97.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-ng3g1m` Direct link to example Out\[3\]=3 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_83.png) Copy to clipboard. In\[4\]:=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_98.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-s0lugl` Direct link to example Out\[4\]=4 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_84.png) Univariate marginals of [DirichletDistribution](https://reference.wolfram.com/language/ref/DirichletDistribution.html) have beta distribution: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_99.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-5he2sh` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_85.png) Copy to clipboard. In\[2\]:=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_100.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-3oha4x` Direct link to example Out\[2\]=2 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_86.png) [BetaBinomialDistribution](https://reference.wolfram.com/language/ref/BetaBinomialDistribution.html) is a mixture of [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html) and [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html): Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_101.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-6a4ms5` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_87.png) [BetaNegativeBinomialDistribution](https://reference.wolfram.com/language/ref/BetaNegativeBinomialDistribution.html) is a mixture of [NegativeBinomialDistribution](https://reference.wolfram.com/language/ref/NegativeBinomialDistribution.html) and [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html): Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_102.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-vysest` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_88.png) ## Possible Issues (2)Common pitfalls and unexpected behavior [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) is not defined when either α or β is not a positive real number: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_103.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-dny` Direct link to example ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/22.gif) Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_89.png) Substitution of invalid parameters into symbolic outputs gives results that are not meaningful: Copy to clipboard. In\[1\]:=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/I_104.png) ✖ `https://wolfram.com/xid/0g7kenjf9sq-srb` Direct link to example Out\[1\]=1 ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/O_90.png) # See Also [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html) [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html) [Beta](https://reference.wolfram.com/language/ref/Beta.html) [BetaRegularized](https://reference.wolfram.com/language/ref/BetaRegularized.html) [InverseBetaRegularized](https://reference.wolfram.com/language/ref/InverseBetaRegularized.html) [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html) [DirichletDistribution](https://reference.wolfram.com/language/ref/DirichletDistribution.html) Function Repository: [MeanSpreadBetaDistribution](https://resources.wolframcloud.com/FunctionRepository/resources/MeanSpreadBetaDistribution) # Tech Notes - [Continuous Distributions](https://reference.wolfram.com/language/tutorial/NumericalOperationsOnData.html#11002) # Related Guides - [Bounded Domain Distributions](https://reference.wolfram.com/language/guide/BoundedDomainDistributions.html) - [Parametric Statistical Distributions](https://reference.wolfram.com/language/guide/ParametricStatisticalDistributions.html) - [Functions Used in Statistics](https://reference.wolfram.com/language/guide/FunctionsUsedInStatistics.html) # History [Introduced in 2007 (6.0)](https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn60) \| [Updated in 2016 (10.4)](https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn104) Cite this as: Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016). Copy to clipboard. ✖ `Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016).` ![](https://reference.wolfram.com/language-assets-v2/img/CitationCloseButton.svg) #### Text Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016). Copy to clipboard. ✖ `Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016).` #### CMS Wolfram Language. 2007. "BetaDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/BetaDistribution.html. Copy to clipboard. ✖ `Wolfram Language. 2007. "BetaDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/BetaDistribution.html.` #### APA Wolfram Language. (2007). BetaDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BetaDistribution.html Copy to clipboard. ✖ `Wolfram Language. (2007). BetaDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BetaDistribution.html` #### BibTeX @misc{reference.wolfram\_2025\_betadistribution, author="Wolfram Research", title="{BetaDistribution}", year="2016", howpublished="\\url{https://reference.wolfram.com/language/ref/BetaDistribution.html}", note=\[Accessed: 11-April-2026\]} Copy to clipboard. ✖ `@misc{reference.wolfram_2025_betadistribution, author="Wolfram Research", title="{BetaDistribution}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/BetaDistribution.html}", note=[Accessed: 11-April-2026]}` #### BibLaTeX @online{reference.wolfram\_2025\_betadistribution, organization={Wolfram Research}, title={BetaDistribution}, year={2016}, url={https://reference.wolfram.com/language/ref/BetaDistribution.html}, note=\[Accessed: 11-April-2026\]} Copy to clipboard. ✖ `@online{reference.wolfram_2025_betadistribution, organization={Wolfram Research}, title={BetaDistribution}, year={2016}, url={https://reference.wolfram.com/language/ref/BetaDistribution.html}, note=[Accessed: 11-April-2026]}` Give Feedback [Top](https://reference.wolfram.com/language/ref/BetaDistribution.html#top) [Introduction for Programmers](https://www.wolfram.com/language/fast-introduction-for-programmers/en/) [Introductory Book](https://www.wolfram.com/language/elementary-introduction/) [Wolfram Function Repository](http://resources.wolframcloud.com/FunctionRepository/) \| [Wolfram Data Repository](https://datarepository.wolframcloud.com/) \| [Wolfram Data Drop](https://datadrop.wolframcloud.com/) \| [Wolfram Language Products](https://www.wolfram.com/products/) [Top](https://reference.wolfram.com/language/ref/BetaDistribution.html#top) - Products - [Wolfram\|One](https://www.wolfram.com/wolfram-one/?source=footer) - [Mathematica](https://www.wolfram.com/mathematica/?source=footer) - [Notebook Assistant + LLM Kit](https://www.wolfram.com/notebook-assistant-llm-kit/?source=footer) - [Compute Services](https://www.wolfram.com/compute-services/?source=footer) - [System Modeler](https://www.wolfram.com/system-modeler/?source=footer) - *** - [Wolfram\|Alpha Notebook Edition](https://www.wolfram.com/wolfram-alpha-notebook-edition/?source=footer) - [Wolfram\|Alpha Pro](https://www.wolframalpha.com/pro/?source=footer) - [Mobile Apps](https://www.wolfram.com/products/?source=footer#mobile-apps) - *** - [Wolfram Engine](https://www.wolfram.com/engine/?source=footer) - [Wolfram Player](https://www.wolfram.com/player/?source=footer) - *** - [Volume & Site Licensing](https://www.wolfram.com/group-organization-licensing/?source=footer) - [Server Deployment Options](https://www.wolfram.com/server-deployment-options/?source=footer) - Consulting - [Wolfram Consulting](https://consulting.wolfram.com/?source=footer) - Repositories - [Data Repository](https://datarepository.wolframcloud.com/?source=footer) - [Function Repository](https://resources.wolframcloud.com/FunctionRepository/?source=footer) - [Community Paclet Repository](https://resources.wolframcloud.com/PacletRepository/?source=footer) - [Neural Net Repository](https://resources.wolframcloud.com/NeuralNetRepository/?source=footer) - [Prompt Repository](https://resources.wolframcloud.com/PromptRepository/?source=footer) - *** - [Wolfram Language Example Repository](https://resources.wolframcloud.com/ExampleRepository/?source=footer) - [Notebook Archive](https://notebookarchive.org/?source=footer) - [Wolfram GitHub](https://github.com/wolframresearch/?source=footer) - Learning - [Wolfram U](https://www.wolfram.com/wolfram-u/?source=footer) - [Wolfram Language Documentation](https://reference.wolfram.com/language/?source=footer) - [Webinars & Training](https://events.wolfram.com/?source=footer) - [Educational Programs](https://education.wolfram.com/programs/?source=footer) - *** - [Wolfram Language Introduction](https://www.wolfram.com/language/elementary-introduction/3rd-ed/?source=footer) - [Fast Introduction for Programmers](https://www.wolfram.com/language/fast-introduction-for-programmers/?source=footer) - [Fast Introduction for Math Students](https://www.wolfram.com/language/fast-introduction-for-math-students/?source=footer) - [Books](https://www.wolfram.com/books/?source=footer) - *** - [Wolfram Community](https://community.wolfram.com/?source=footer) - [Wolfram Blog](https://blog.wolfram.com/?source=footer) - Public Resources - [Wolfram\|Alpha](https://www.wolframalpha.com/?source=footer) - [Wolfram Problem Generator](https://www.wolframalpha.com/pro/problem-generator/?source=footer) - [Wolfram Challenges](https://challenges.wolframcloud.com/?source=footer) - *** - [Computer-Based Math](https://www.computerbasedmath.org/?source=footer) - [Computational Thinking](https://www.wolfram.com/resources/computational-thinking/?source=footer) - [Computational Adventures](https://www.computationinitiative.org/computational-adventures/?source=footer) - *** - [Demonstrations Project](https://demonstrations.wolfram.com/?source=footer) - [Wolfram Data Drop](https://datadrop.wolframcloud.com/?source=footer) - [MathWorld](https://mathworld.wolfram.com/?source=footer) - [Wolfram Science](https://www.wolframscience.com/?source=footer) - [Wolfram Media Publishing](https://www.wolfram-media.com/?source=footer) - Customer Resources - [Store](https://www.wolfram.com/get-products-services/?source=footer) - [Product Downloads](https://www.wolfram.com/download-center/?source=footer) - [User Portal](https://user.wolfram.com/portal/?source=footer) - [Your Account](https://account.wolfram.com/?source=footer) - [Organization Access](https://www.wolfram.com/siteinfo/?source=footer) - *** - [Support FAQ](https://support.wolfram.com/?source=footer) - [Contact Support](https://www.wolfram.com/support/contact/?source=footer) - Company - [About Wolfram](https://www.wolfram.com/company/?source=footer) - [Careers](https://www.wolfram.com/company/careers/?source=footer) - [Contact](https://www.wolfram.com/company/contact/?source=footer) - [Events](https://company.wolfram.com/events/?source=footer) [Wolfram Community](https://community.wolfram.com/?source=footer) [Wolfram Blog](https://blog.wolfram.com/?source=footer) [Legal](https://www.wolfram.com/legal/?source=footer) & [Privacy Policy](https://www.wolfram.com/legal/privacy/wolfram/?source=footer) [WolframAlpha.com](https://www.wolframalpha.com/?source=footer) \| [WolframCloud.com](https://www.wolframcloud.com/?source=footer) © 2026 [Wolfram](https://www.wolfram.com/?source=footer) © 2026 [Wolfram](https://www.wolfram.com/?source=footer) \| [Legal](https://www.wolfram.com/legal/?source=footer) & [Privacy Policy](https://www.wolfram.com/legal/privacy/wolfram/?source=footer) \| English - [English](https://reference.wolfram.com/language/ref/BetaDistribution.html.en?source=footer) - [日本語](https://reference.wolfram.com/language/ref/BetaDistribution.html.ja?source=footer) - [简体中文](https://reference.wolfram.com/language/ref/BetaDistribution.html.zh?source=footer) [Find out if you already have access to Wolfram tech through your organization](https://www.wolfram.com/siteinfo/) ×
Readable Markdown
- [See Also](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html) - [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html) - [Beta](https://reference.wolfram.com/language/ref/Beta.html) - [BetaRegularized](https://reference.wolfram.com/language/ref/BetaRegularized.html) - [InverseBetaRegularized](https://reference.wolfram.com/language/ref/InverseBetaRegularized.html) - [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html) - [DirichletDistribution](https://reference.wolfram.com/language/ref/DirichletDistribution.html) - [Related Guides](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Bounded Domain Distributions](https://reference.wolfram.com/language/guide/BoundedDomainDistributions.html) - [Parametric Statistical Distributions](https://reference.wolfram.com/language/guide/ParametricStatisticalDistributions.html) - [Functions Used in Statistics](https://reference.wolfram.com/language/guide/FunctionsUsedInStatistics.html) - [Tech Notes](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Continuous Distributions](https://reference.wolfram.com/language/tutorial/NumericalOperationsOnData.html#11002) - - [See Also](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html) - [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html) - [Beta](https://reference.wolfram.com/language/ref/Beta.html) - [BetaRegularized](https://reference.wolfram.com/language/ref/BetaRegularized.html) - [InverseBetaRegularized](https://reference.wolfram.com/language/ref/InverseBetaRegularized.html) - [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html) - [DirichletDistribution](https://reference.wolfram.com/language/ref/DirichletDistribution.html) - [Related Guides](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Bounded Domain Distributions](https://reference.wolfram.com/language/guide/BoundedDomainDistributions.html) - [Parametric Statistical Distributions](https://reference.wolfram.com/language/guide/ParametricStatisticalDistributions.html) - [Functions Used in Statistics](https://reference.wolfram.com/language/guide/FunctionsUsedInStatistics.html) - [Tech Notes](https://reference.wolfram.com/language/ref/BetaDistribution.html) - [Continuous Distributions](https://reference.wolfram.com/language/tutorial/NumericalOperationsOnData.html#11002) Examples Basic Examples Scope Applications Properties & Relations Possible Issues [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html)\[α,β\] Copy to clipboard. `BetaDistribution[α,β]` represents a continuous beta distribution with shape parameters α and β. ## Details ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/details_1.png) ## Background & Context - [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html)\[α,β\] represents a statistical distribution defined over the interval ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/6.png) and parametrized by two positive values α, β known as "shape parameters", which, roughly speaking, determine the "fatness" of the left and right tails in the probability density function (PDF). Depending on the values of α and β, the PDF of the beta distribution may be monotonic increasing, monotonic decreasing, or unimodal with potential singularities approaching the boundaries of its domain. - The beta distribution arises as a prior distribution for binomial proportions in Bayesian analysis. It is also commonly used to model random variables limited to a finite interval. For example, the distribution of the ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/7.png)![^(th)](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/8.png) smallest element in a continuous, independent, and uniformly distributed sample of size of ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/9.png) can be computed using [OrderDistribution](https://reference.wolfram.com/language/ref/OrderDistribution.html)\[{[UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html)\[\],n},k\] and is precisely equal to [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html)\[k,n\-k\+1\]. In addition to its statistical significance, the beta distribution also plays a fundamental role in a number of scientific fields, including phenomena related to allele frequency distribution, soil property variability, geological mineral-to-rock ratios, and HIV transmission behavior. - [RandomVariate](https://reference.wolfram.com/language/ref/RandomVariate.html) can be used to give one or more machine- or arbitrary-precision (the latter via the [WorkingPrecision](https://reference.wolfram.com/language/ref/WorkingPrecision.html) option) pseudorandom variates from a beta distribution. [Distributed](https://reference.wolfram.com/language/ref/Distributed.html)\[x,BetaDistribution\[α,β\]\], written more concisely as xBetaDistribution\[α,β\], can be used to assert that a random variable x is distributed according to a beta distribution. Such an assertion can then be used in functions such as [Probability](https://reference.wolfram.com/language/ref/Probability.html), [NProbability](https://reference.wolfram.com/language/ref/NProbability.html), [Expectation](https://reference.wolfram.com/language/ref/Expectation.html), and [NExpectation](https://reference.wolfram.com/language/ref/NExpectation.html). - The probability density and cumulative distribution functions may be given using [PDF](https://reference.wolfram.com/language/ref/PDF.html)\[BetaDistribution\[α,β\],x\] and [CDF](https://reference.wolfram.com/language/ref/CDF.html)\[BetaDistribution\[α,β\],x\]. The mean, median, variance, raw moments, and central moments may be computed using [Mean](https://reference.wolfram.com/language/ref/Mean.html), [Median](https://reference.wolfram.com/language/ref/Median.html), [Variance](https://reference.wolfram.com/language/ref/Variance.html), [Moment](https://reference.wolfram.com/language/ref/Moment.html), and [CentralMoment](https://reference.wolfram.com/language/ref/CentralMoment.html), respectively. - [DistributionFitTest](https://reference.wolfram.com/language/ref/DistributionFitTest.html) can be used to test if a given dataset is consistent with a beta distribution, [EstimatedDistribution](https://reference.wolfram.com/language/ref/EstimatedDistribution.html) to estimate a beta parametric distribution from given data, and [FindDistributionParameters](https://reference.wolfram.com/language/ref/FindDistributionParameters.html) to fit data to a beta distribution. [ProbabilityPlot](https://reference.wolfram.com/language/ref/ProbabilityPlot.html) can be used to generate a plot of the CDF of given data against the CDF of a symbolic beta distribution and [QuantilePlot](https://reference.wolfram.com/language/ref/QuantilePlot.html) to generate a plot of the quantiles of given data against the quantiles of a symbolic beta distribution. - [TransformedDistribution](https://reference.wolfram.com/language/ref/TransformedDistribution.html) can be used to represent a transformed beta distribution, [CensoredDistribution](https://reference.wolfram.com/language/ref/CensoredDistribution.html) to represent the distribution of values censored between upper and lower values, and [TruncatedDistribution](https://reference.wolfram.com/language/ref/TruncatedDistribution.html) to represent the distribution of values truncated between upper and lower values. [CopulaDistribution](https://reference.wolfram.com/language/ref/CopulaDistribution.html) can be used to build higher-dimensional distributions that contain a beta distribution, and [ProductDistribution](https://reference.wolfram.com/language/ref/ProductDistribution.html) can be used to compute a joint distribution with independent component distributions involving beta distributions. - The beta distribution is related to a number of other distributions. For example, [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) is the so-called "conjugate prior" for the parameters of a number of other distributions, including [BernoulliDistribution](https://reference.wolfram.com/language/ref/BernoulliDistribution.html), [BinomialDistribution](https://reference.wolfram.com/language/ref/BinomialDistribution.html), [NegativeBinomialDistribution](https://reference.wolfram.com/language/ref/NegativeBinomialDistribution.html), and [GeometricDistribution](https://reference.wolfram.com/language/ref/GeometricDistribution.html). Moreover, [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) generalizes both [UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html) and [PowerDistribution](https://reference.wolfram.com/language/ref/PowerDistribution.html) in the sense that (modulo inclusion of the endpoints ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/10.png) and ![](https://reference.wolfram.com/language/ref/Files/BetaDistribution.en/11.png)), [PDF](https://reference.wolfram.com/language/ref/PDF.html)\[BetaDistribution\[1,1\],x\] is equal to both [PDF](https://reference.wolfram.com/language/ref/PDF.html)\[[UniformDistribution](https://reference.wolfram.com/language/ref/UniformDistribution.html)\[\],x\] and [PDF](https://reference.wolfram.com/language/ref/PDF.html)\[[PowerDistribution](https://reference.wolfram.com/language/ref/PowerDistribution.html)\[1,1\],x\]. [BetaDistribution](https://reference.wolfram.com/language/ref/BetaDistribution.html) can also be obtained as transformations of [KumaraswamyDistribution](https://reference.wolfram.com/language/ref/KumaraswamyDistribution.html) and [NoncentralBetaDistribution](https://reference.wolfram.com/language/ref/NoncentralBetaDistribution.html) and is closely related to [PERTDistribution](https://reference.wolfram.com/language/ref/PERTDistribution.html), [PearsonDistribution](https://reference.wolfram.com/language/ref/PearsonDistribution.html), [ChiSquareDistribution](https://reference.wolfram.com/language/ref/ChiSquareDistribution.html), [GammaDistribution](https://reference.wolfram.com/language/ref/GammaDistribution.html), [FRatioDistribution](https://reference.wolfram.com/language/ref/FRatioDistribution.html), and [BetaPrimeDistribution](https://reference.wolfram.com/language/ref/BetaPrimeDistribution.html). ## Examples open all close all ## Basic Examples (4)Summary of the most common use cases ## Scope (8)Survey of the scope of standard use cases ## Applications (3)Sample problems that can be solved with this function ## Properties & Relations (21)Properties of the function, and connections to other functions ## Possible Issues (2)Common pitfalls and unexpected behavior Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016). Copy to clipboard. `Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016).` #### Text Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016). Copy to clipboard. `Wolfram Research (2007), BetaDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/BetaDistribution.html (updated 2016).` #### CMS Wolfram Language. 2007. "BetaDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/BetaDistribution.html. Copy to clipboard. `Wolfram Language. 2007. "BetaDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/BetaDistribution.html.` #### APA Wolfram Language. (2007). BetaDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BetaDistribution.html Copy to clipboard. `Wolfram Language. (2007). BetaDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BetaDistribution.html` #### BibTeX @misc{reference.wolfram\_2025\_betadistribution, author="Wolfram Research", title="{BetaDistribution}", year="2016", howpublished="\\url{https://reference.wolfram.com/language/ref/BetaDistribution.html}", note=\[Accessed: 11-April-2026\]} Copy to clipboard. `@misc{reference.wolfram_2025_betadistribution, author="Wolfram Research", title="{BetaDistribution}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/BetaDistribution.html}", note=[Accessed: 11-April-2026]}` #### BibLaTeX @online{reference.wolfram\_2025\_betadistribution, organization={Wolfram Research}, title={BetaDistribution}, year={2016}, url={https://reference.wolfram.com/language/ref/BetaDistribution.html}, note=\[Accessed: 11-April-2026\]} Copy to clipboard. `@online{reference.wolfram_2025_betadistribution, organization={Wolfram Research}, title={BetaDistribution}, year={2016}, url={https://reference.wolfram.com/language/ref/BetaDistribution.html}, note=[Accessed: 11-April-2026]}`
Shard184 (laksa)
Root Hash3744487911316863784
Unparsed URLcom,wolfram!reference,/language/ref/BetaDistribution.html s443