Statistics & Probability
The probability of rolling the same number when b six-sided dice are rolled c times in a rowThis calculates the probability of rolling the same number when b six-sided dice are rolled c times in a row.
sora31089204 runs
The probability of rolling the same number x times in a rowYou can calculate the probability of rolling the same number consecutively x times when rolling a die.
hatena42925 runs
Predicting the actual winning rate based on test results (graph)Use this whenever you find yourself thinking, "I've tried the gacha so many times, but I never win anything... How many items are actually in there?"
otake1426 runs
Probability of matching birthdays (at least k people out of N)We calculate the probability that the birthdays of at least k people out of N will coincide. It is well known that the probability of two people out of N having the same birthday is high, but it drops sharply when the number rises to three, four, and so on. The formula used is an approximation also employed by the R functions `pbirthday` and `qbirthday`: Diaconis, P. and Mosteller, F. "Methods for studying coincidences." J. American Statistical Association.
tonagai8301 runs
The odds of winning the first prize in the New Year's Postcard LotteryI calculated the probability of winning based on the last six digits of a single New Year's postcard. Since the postcard numbers are displayed in hexadecimal, the possible selections are naturally listed in hexadecimal as well.
oumichoukorokke5997 runs
The odds of winning the first prize in the lotteryThe odds of winning the first prize in the lottery are 1 in 10 million or 1 in 5 million. I had them calculate the odds of winning the first prize based on the last five digits of the ticket number.
oumichoukorokke6998 runs
Probability of matching birthdays (2–5 out of N people; displayed as a graph)This graph illustrates the probability of matching birthdays. It is well known that the probability is high when two out of N people share a birthday, but as the number increases to three, four, and so on, the probability drops sharply. The calculation uses the approximation formula employed by the R functions `pbirthday` and `qbirthday`, as described in Diaconis, P. and Mosteller, F., "Methods for studying coincidences," Journal of the American Statistical Association.
tonagai13585 runs
The probability of food scraps falling onto the kotatsu blanketHere is the formula I devised to calculate the probability that your food scraps will stain the kotatsu blanket: Area of the trapezoid * probability Use this formula to calculate the probability.
oumichoukorokke3504 runs
Drop Rate FormulaThe number of attempts required to drop n. x represents the percentage of players who dropped n on their first attempt, or the percentage of attempts where n was obtained after multiple tries. The larger the sample size, the higher the reliability of x. Please refer to players who keep records of their drops.
tukamuchronicle9104 runs
Expected value of random bonusesThe relationship between the number of types available as random bonuses and the number of items purchased
wakasy29475 runs
[Sampling] Margin of Error (Non-replacement Sampling from a Finite Population)Determine the "margin of error" for a non-replacement sample drawn from a finite population that satisfies specified conditions.
RumexJaponicus2586 runs
[Sampling] Confidence Level (Non-replacement Sampling from a Finite Population)Determine the "confidence level" for a non-replacement sample drawn from a finite population that satisfies specified conditions.
RumexJaponicus1118 runs
[Sampling] Sample Size (Non-replacement Sampling from a Finite Population)Determine the "sample size" that satisfies the specified conditions in a non-replacement sampling from a finite population.
RumexJaponicus31501 runs
[Sampling] Population Size (Non-replacement Sampling from a Finite Population)Determine the "population size" that satisfies the specified conditions in a non-replacement sample from a finite population.
RumexJaponicus524 runs
[Sampling] Population Proportion (Non-replacement Sampling from a Finite Population)In a non-replacement sample from a finite population, calculate the "population proportion" that satisfies the specified conditions.
RumexJaponicus1600 runs
Distribution of the Ratio (Quotient) of a Normal Distribution: Fieller-HinkleyWe calculate the distribution of the ratio (quotient) of two normal distributions, X1 and X2, namely X1/X2. If the means of X1 and X2 are both 0, the distribution follows a Cauchy distribution; otherwise, it becomes quite complex. (Note) It appears there was a typographical error in the equations in the original paper, so I have corrected them to match the equations in another paper (see the last link) (June 2, 2023).
tonagai3009 runs
Pearson's chi-square test (goodness of fit)We will perform Pearson's chi-square test (goodness-of-fit test). You can enter observed frequencies for up to 8 categories. You can also enter probabilities as fractions. Please enter 0 for any missing data.
tonagai3954 runs
Pearson's chi-square test (independence)We will perform Pearson's chi-square test (test of independence). There are two categories, and you can enter up to 8 conditions for each category and up to 3 conditions for the other. Please enter 0 for any unnecessary data.
tonagai26356 runs
One-sample t-testWe will perform a one-sample t-test. (Null hypothesis: μ = μ₀)
tonagai25282 runs
Hypothesis Test for the Difference Between Two ProportionsWe will perform a test of the difference in proportions between two groups. This can be used for analyzing A/B tests and similar scenarios.
tonagai339232 runs
t-test for the difference between the means of two groupsPerform a t-test for the difference between two groups under the assumption of equal variances. Enter the sample sizes, means, and standard deviations for each of the two samples, as well as the significance level and whether equal variances can be assumed (if not, Welch’s t-test will be used).
tonagai197050 runs
Determining Sample Size (Testing a Single Population Mean)When conducting a one-sample t-test, calculate the required sample size given the effect size (Δ = (μ - μ₀)/σ; i.e., how many standard deviations is the difference in means?) and the significance level. The null hypothesis is μ = μ₀, and there are three possible alternative hypotheses: μ ≠ μ₀, μ > μ₀, and μ < μ₀.
tonagai11543 runs
Determining Sample Size (When Testing the Difference Between Two Means)When conducting a test for the difference between two means, given the effect size (Δ = (μ1 - μ2) / σ; i.e., how many standard deviations is the difference between the means?) and the significance level, calculate the required sample size n (where n = n1 = n2, representing the sample sizes of each group). Null hypothesis: μ1 = μ2; for the alternative hypothesis, you can choose from three options: μ1 ≠ μ2, μ1 > μ2, or μ1 < μ2.
tonagai156748 runs
Power Curve (for the difference between two means)Calculates the power curve (1-β for a difference in means μ1 - μ2). You can choose from three alternative hypotheses: that μ1 is greater than μ2, that μ1 is less than μ2, or that μ1 is equal to μ2, given the null hypothesis that μ1 and μ2 are equal.Enter the sample sizes n1 and n2, the significance level α, and the effect size Δ (defined as (μ1 - μ2) / σ, i.e., how many standard deviations the difference in means is), along with the maximum and minimum values and the number of partitions, to generate a power curve graph.
tonagai10549 runs
Power curve (for a single mean)Calculates the power curve (1-β for a single mean). You can choose from three alternative hypotheses: that μ is different from μ0, that μ is greater than μ0, or that μ is less than μ0, given the null hypothesis that μ equals μ0.Enter the sample size, significance level α, and effect size Δ (defined as (μ - μ₀)/σ, i.e., how many standard deviations the difference in means is), along with the maximum and minimum values and the number of groups, to generate a power curve graph.
tonagai3875 runs
Testing the Correlation CoefficientWe will perform a test of the correlation coefficient. The data set must contain up to 21 values. Please enter 0 (not leave blank) for any missing data. The null hypothesis is r = r0. If r0 = 0, we will perform a t-test; otherwise, we will perform a test based on a normal distribution using Fisher’s Z-transformation.
tonagai129867 runs
Simple Linear Regression (t-Test and Confidence Intervals)This tool calculates the t-test and confidence intervals for the regression coefficients a and b (slope and intercept) in simple linear regression (y = ax + b). Up to 21 data points are supported. Please enter 0 (not a blank) for any data points you wish to exclude. The calculation assumes the null hypothesis that the slope and intercept are equal to the values you entered.
tonagai3751 runs
Estimation of the confidence interval for the population proportionThis tool estimates a confidence interval for the population proportion—such as whether a candidate is certain to win based on the vote share from an exit poll. Enter the sample size (number of respondents in the exit poll), the number of cases meeting the condition (number of people who voted for a specific candidate), the confidence interval percentage (e.g., 95%), and the estimation method (choose between Wald and Agresti-Coull), and the confidence interval will be calculated. *Note: On June 24, 2020, we fixed an issue where the results differed from those obtained using R.
tonagai205366 runs
Calculation of Binary Entropy (Average Information Content)This function calculates Shannon entropy (average information content) when there are two possible outcomes from a source. Perfect for when you need to know the return value of the binary entropy function! Essentially, it’s a function that calculates the value of x*log₂(1/x) + (1-x)*log₂(1/(1-x)).
laft51653 runs
Rock-Paper-Scissors SimulatorOverall Calculation of Rock-Paper-Scissors
src345311884 runs
The probability of an event occurring a specific number of times in a series of trialsFind the probability of a random outcome in a series of trials.
l4n35118po60819 runs
The probability of an event occurring a certain number of times or more in a series of trialsFind the probability of a random outcome in a series of trials.
l4n35118po14783 runs
Probability of correctness (the probability that a group, deciding by majority vote, is correct)This is also known as Condorcet’s Jury Theorem, and we will calculate the probability of correctness—a concept that also appears in Yuto Ichikawa’s novel *The Closed Room of God and the Ripples*. If p > 0.5, the group’s probability of getting the answer correct exceeds that of an individual (approaching God’s answer); if p < 0.5, it falls short. Of course, each individual must answer completely independently.
tonagai1806 runs
T-test for the difference in means between two unpaired groups: Using standard deviationThis is for calculating the standard "t-test for the difference between the means of two independent groups (two-sample t-test)." It displays results for both the assumption of equal variances and the case where this assumption is not made (Welch's t-test) simultaneously. Additionally, it uses standard deviation as the input variable. --- The formula was based on "Statistics WEB" (see Related Links). A similar formula created by another user (see Related Links) required the input of the unbiased variance, but since the (sample) standard deviation is often reported in research papers, I created this tool so that you can immediately verify the results of an unpaired t-test as seen in such papers. (Created July 27, 2022; Updated July 29)
soulstation13620 runs
The probability of winning when attempting m times with a success probability of n%The probability of winning after performing n% of the process m times
TAgyou2112 runs
1-sample t-testThis is a program for beginners in statistics that calculates the t-value and significance level for a one-sample t-test.
samesan2970 runs
Two-sample t-test (paired)This is a program for beginners in statistics that calculates the t-value and p-value for a paired two-sample t-test.
samesan4923 runs
Two-sample t-test (unpaired)This program calculates the t-value, degrees of freedom, and significance probability for an independent two-sample t-test, designed for beginners in statistics.
samesan3643 runs
Probability and FrequencyCalculate the overall probability when an event with a certain probability is repeated
Hamo942 runs
The probability that three people will be assigned to three different groupsThe probability that three people will be assigned to three different groups
telescopingsum1206 runs
One-way analysis of variance (1-way ANOVA) [between-subjects]This is a program for beginners in statistics that calculates the F-value and p-value for a one-way ANOVA with between-subjects factors.
samesan75 runs
Two-way analysis of variance (2-way ANOVA) [between-subjects]This is a program for beginners in statistics that calculates the F-value and p-value for a two-way ANOVA with between-subjects factors.
samesan18 runs
One-way analysis of variance (1-way ANOVA) [within-subjects]This is a program for calculating the F-value and p-value for a one-way ANOVA (within-subjects) designed for beginners in statistics.
samesan21 runs
The Monty Hall Problem SimulatorWe will simulate the Monty Hall problem.
Oshinoko2361 runs
The probability that 2 out of 3 people will join the same clubFind the probability that two out of three people will join the same club.
telescopingsum1585 runs
The probability that three people will join the same clubFind the probability that three people will join the same club.
telescopingsum1302 runs
Roll a 10-sided die. (3 red, 3 blue, and 3 black)We will simulate rolling a 10-sided die. We will use random numbers. The die will land on one of the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9.
shiroe1530 runs
Generating Complex Random NumbersGenerates random complex numbers. Here, we assume that both the real and imaginary parts are integers. Generates 10 numbers and outputs them.
shiroe74 runs
Generating Complex Random Numbers (2)Generates complex random numbers. Here, the real and imaginary parts are not restricted to integers. Generates and outputs 10 complex random numbers. (Note that the imaginary unit i appears at the end of the output numbers.)
shiroe12 runs
Roll a six-sided, lopsided dieRoll a six-sided loaded die. This means that the probability variables for each face can be set to be unequal. Here, we assign a "likelihood" to each face of the die, and normalize the sum of the probability variables to 1 by dividing each "likelihood" by their total sum. If you assign the same "likelihood" value to every face of the die, it becomes a standard, non-biased setup; if you assign them unevenly, you create a biased die.
shiroe400 runs
Roll a die with 2 to 100 sides. (Set the tolerance)Roll a die with between 2 and 100 sides. Let n be the number of sides on the die. Here, we assign numbers to each face of the die using an arithmetic sequence. The first term corresponds to the first face, and we define a general term up to the nth face. Perform 10 rolls of the die and output the results. The default is a six-sided die.
shiroe415 runs
Calculating Expected Test ScoresCalculate the expected score for the test. Based on the point values (how many points each question is worth) and the total number of questions, calculate the point value for each question, as well as the expected score and the maximum and minimum scores.
Oshinoko1218 runs
Request a new ratingI would like to request a new rating.
Fruits163 runs
Trials with an n-sided die (integers)Roll a n-sided die 12 times. Use random numbers. The results are integers. Determine the minimum and maximum possible outcomes for the die, then enter them and click the "Calculate" button to run the simulation. The results for all 12 rolls will be displayed.
shiroe94 runs
Trial involving three dice A, B, and C (with 1, m, and n sides)We will conduct an experiment involving rolling three dice. We will use random numbers. Since the minimum and maximum values for each die can be changed, the number of sides will change accordingly.
shiroe85 runs
Trial involving two dice A and B (with m and n sides)We will perform an experiment involving rolling two dice. We will use random numbers. Since the minimum and maximum values for each die can be changed, the number of sides will change accordingly.
shiroe64 runs
Trial involving four dice A, B, C, and D (with n1, n2, n3, and n4 faces)We will conduct an experiment involving rolling four dice. We will use random numbers. Since the minimum and maximum values for each die can be changed, the number of sides will change accordingly.
shiroe150 runs
Rolling a six-sided die (with customizable results)We will conduct a simulation of rolling a six-sided die. Here, you can freely assign values to each face of the die. We will use random numbers to simulate the act of rolling the die. The number of trials will range from 1 to 12.
shiroe124 runs
Number of cases. The sum and product of the numbers on two dice.We will examine the number of possible outcomes. Here, we consider the experiment of rolling two distinguishable dice. For the sum and product of the dice rolls, we count the number of values that are divisible by a given natural number n.
shiroe21 runs
Number of possibilities. Two dice. Sum of the diceWe will examine the number of possible outcomes. Here, when rolling two distinct dice, we will determine the number of cases where the sum and product of the numbers on the dice fall within a certain range. The range is defined by two integers. Let the lower bound be n0. Let the upper bound be n1. We assume that n1 is an integer greater than or equal to n0.
shiroe28 runs
Number of possibilities. Two dice. Difference in the numbers rolledWe will conduct an experiment involving the roll of two distinguishable dice. Here, we will determine the number of cases where the result is an integer n when we subtract the smaller number from the larger one.
shiroe7 runs
Number of cases. Three dice. Sum and product of the numbers on the diceWe will calculate the number of possibilities. Consider the experiment of rolling three distinct dice. For the sum and product of the dice rolls, we will determine the number of cases where the result falls within the range of integers from n₀ to n₁, and the number of cases where the result is divisible by a natural number d. The rest is for reference.
shiroe34 runs
We will examine the saying, "One cannon that hits every time is better than a hundred cannons that hit only once in a hundred shots."Let’s calculate a artillery duel between one gun with 100% accuracy and 100 guns with 10% accuracy. Let’s designate the single gun with 100% accuracy as Team A, and the 100 guns with 10% accuracy as Team B. In the initial state, Team A has one gun, and Team B has 100 guns, and we assume they fire simultaneously each turn. For both Team A and Team B, if even a single shot hits, the number of guns is reduced by one. (We will not consider partial destruction, repairs, or reinforcements.) Therefore, Team B is guaranteed to lose one gun per turn (after firing). In the next turn, Team B will fire the number of shots corresponding to its remaining guns, each with a 1% hit rate. Team A will be reduced to zero if it takes a hit after firing.
shiroe1970 runs
An experiment involving drawing one ball from a bag (white ball or red ball) Place white and red balls into a bag, take one out, record its color, and return it to the bag. This process is repeated. A random number generator is used. The number of balls placed in the bag at each step is at least one, and the total number of balls must be ten or fewer.
shiroe307 runs
Shuffle the 13 playing cards.Shuffle 13 playing cards. Suppose you have 13 playing cards. The suits do not matter. The deck is stacked in numerical order from top to bottom: 1, 2, …, 13. Take this deck, cut off the top p cards, and place them under the remaining stack of 13–p cards. Let q be the number of shuffles. Display this operation. [Number of cuts] = 0 represents the initial state of the deck. (1), (2), …, (13) represent the positions of the cards: the first, second, …, thirteenth cards from the top.
shiroe12 runs
Calculations Using the Polynomial Theorem (Trinomial)We will now calculate the binomial theorem. Here, we will consider the expansion of (A+B+C)^n. This is a trinomial. We will find the coefficients of the terms (A^a)(B^b)(C^c) in the expanded form. The lowercase letters a, b, and c represent the exponents of the uppercase letters A, B, and C.
shiroe15 runs
We will calculate the coefficients using the binomial theorem (binomial) and list them.Here, we will discuss the expansion of (A+B+C)^n. This is a trinomial. We will calculate the coefficients using the binomial theorem (for trinomials) and list them. We will find the coefficients of the (A^a)(B^b)(C^c) terms in the expansion. The lowercase letters a, b, and c represent the exponents of the uppercase letters A, B, and C.
shiroe16 runs
We will calculate the coefficients using the binomial theorem and list themWe will discuss the binomial theorem. We will calculate and list the coefficients of the terms in the expression expanded using the binomial theorem. We will find the coefficient of the term (A^a)(B^b) in the expanded expression. Here, a and b are the exponents of A and B, respectively.
shiroe5 runs
An experiment involving drawing lots from two boxesWe will calculate conditional probabilities. There are two boxes, A and B, and each box contains a certain number of winning tickets mixed in with losing tickets. We randomly select a box and draw one ticket.
shiroe6 runs
95% confidence interval around the mean95% confidence interval
g51040 runs
95% confidence interval for the add-on95% Confidence Interval (Add-on)
g5105 runs
Random number (integer)This calculator uses a random number function to generate random integers within any specified range and in any quantity.
r9212109 runs
Output of the nCr ListOutputs a list of nCr values.
shiroe3 runs
Output of a Table Listing nCr and nPrOutputs a list of nCr, nPr, and r!.
shiroe2 runs
Fisher's Probability P(a, b, c, d) CalculatorUsed for Fisher's exact probability test on a 2×2 contingency table (effective when min{a,b,c,d} ≤ 5)
Chihiro10 runs