Search is not available for this dataset
query
stringlengths
1
13.4k
pos
stringlengths
1
61k
neg
stringlengths
1
63.9k
query_lang
stringclasses
147 values
__index_level_0__
int64
0
3.11M
Given $n$ different univariate non-normal sample sets calculate for a new sample, $x$, which it most likely belongs to Say you have $n$ different, non-normal, potentially overlapping data sets of samples. Maybe their densities look something like: and you are given a new sample $x$, how would you decide to which of ...
Which Distribution Does the Data Point Belong to? I have two distributions which are derived from 2 separate sets of data. These distributions are not normal, and it is not clear at this point if they belong to any family of known pdfs (they are not symmetric either). Given a data point, I need to decide which distribu...
What regression model is the most appropriate to use with count data? I am trying to get a little into statistics, but I am stuck with something. My data are as follows: Year Number_of_genes 1990 1 1991 1 1993 3 1995 4 I now want to build a regression model to be able to predic...
eng_Latn
34,500
A games/matches schedule Suppose I have 8 teams $A_1,\ldots, A_8$, competing in different 8 games $X_1,\ldots, X_8$. For example $X_1 = soccer, X_2 = basket ball, \ldots,$ . In the morning there are 4 games $X_1,X_2,X_3,X_4$ take place, with 16 matches. In the afternoon there are another 4 games $X_5,X_6,X_7,X_8$ take ...
Scheduling a team based activity with 10 different teams and X different games. Every team must meet each other ONCE but never twice, Hi there I am planning a ”Scavenger hunt”-like activity (I have no other words for this event), and I am having trouble creating the schedule. The idea of this hunt/run/game/competitio...
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
eng_Latn
34,501
Given time series forecast and associated confidence interval, how to calculate the total return's confidence interval Suppose I bought 12 widgets for a set price, and I am able to sell one widget per month for the next 12 months. Also imagine that I have a monthly ARIMA forecast with confidence intervals for the price...
Forecast total for a year given monthly time series I have a monthly time series (for 2009-2012 non-stationary, with seasonality). I can use ARIMA (or ETS) to obtain point and interval forecasts for each month of 2013, but I am interested in forecasting the total for the whole year, including prediction intervals. Is t...
Compute $P(X_1+\cdots+X_k\lt 1)$ for $(X_i)$ i.i.d. uniform on $(0,1)$ Consider $N=\min\{n: S_n>1\}$, where $S_n=X_1+\cdots+X_n$ and $(X_i)_{i=1}^\infty$ is i.i.d. uniform on $(0,1)$. So, $N$ is the first time that $(S_n)_{n=1}^\infty$ crosses $1$. I'd like to calculate $E(N)$. To this end I'd like to calculate $\Pr...
eng_Latn
34,502
Characteristic function of uniform random variable I am trying to find out expectation of a function of a uniform random variable. I am given a random variable $x$ that is uniformly distributed over the interval $[0, a]$. I want to find out the expectation $E[e^{-i2\pi (m-n)\frac{x}{a}}]$, where $m$, $n$ are integers a...
Consider the sum of $n$ uniform distributions on $[0,1]$, or $Z_n$. Why does the cusp in the PDF of $Z_n$ disappear for $n \geq 3$? I've been wondering about this one for a while; I find it a little weird how abruptly it happens. Basically, why do we need just three uniforms for $Z_n$ to smooth out like it does? And wh...
Why are these estimates to the German tank problem different? Suppose that I observe $k=4$ tanks with serial numbers $2,6,7,14$. What is the best estimate for the total number of tanks $n$? I assume the observations are drawn from a discrete uniform distribution with the interval $[1,n]$. I know that for a $[0,1]$ ...
eng_Latn
34,503
I want to be hit, but my AC is too high One of my players has a build that grants advantages when he is hit, especially when hit by an Opportunity Attack. The problem is that his AC is very high, so straight rolls miss. My natural inclination is that the AC numbers shouldn't matter. If a player wants to be hit, he co...
Can I choose not to defend against an attack? Playing D&D4e, I have a situation in mind where a character could reasonably WANT to get hit with a normally harmful attack. Is there anything in the rules allowing the character to purposefully take the hit, not even bothering to attempt to defend or dodge out of the w...
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
eng_Latn
34,504
Can two events be mutually exclusive but not independent? So, two events are mutually exclusive if they have an empty set, and two events are independent if they do not affect each other. However, is it possible for two events to be mutually exclusive but not independent? For example, the p(A) = {card < 5 is drawn...
What is the difference between independent and mutually exclusive events? Two events are mutually exclusive if they can't both happen. Independent events are events where knowledge of the probability of one doesn't change the probability of the other. Are these definitions correct? If possible, please give more than ...
Probability of complete coupon set in $K$ boxes where a box has $N$ distinct coupons? Say there is a contest to collect a full set of $M$ coupons. Each box of product has $N$ distinct coupons of the $M$ possible coupons in it, selected uniformly without replacement from the $M$ possible coupons, the same $N$ in number...
eng_Latn
34,505
hat problem and probability There are 7 prisoners in the room. In the entrance all of them get hat in one of random 2 colors: white or black. They are sitting in the circle and the light on. All of them see hat color of the rest but can't see himself. They will be free if at least one of them say the right color of him...
A riddle about guessing hat colours (which is not among the commonly known ones) This is a riddle I heard recently, and my question is if someone happens to know the solution. I'm asking this out of curiosity more than anything else. So here it is. The riddle is one of the countless variations of the "prisoners have t...
What's the best way to deal with hot/stuck pixels in long exposure night photographs? I discovered red/blue/white pixels on my night photographs tonight. Trying to confirm this, I took a black image with the lens on and indeed I saw a whole lot of them (I didn't count them but at least a good fifty on the whole picture...
eng_Latn
34,506
Making up groups of Coins In how many ways can a group of 100 coins be made up from 50,20,10,5,2 or 1 coin(s) respectively? An alternative way of phrasing this would be how many ways can a group of 100 coins be made from choosing coins of value 50,20,10,5,2,1? I have tried the problem, and I've realised it is quite di...
Making Change for a Dollar (and other number partitioning problems) I was trying to solve a problem similar to the "how many ways are there to make change for a dollar" problem. I ran across a that said I could use a generating function similar to the one quoted below: The answer to our problem (293) is the coe...
Probability of complete coupon set in $K$ boxes where a box has $N$ distinct coupons? Say there is a contest to collect a full set of $M$ coupons. Each box of product has $N$ distinct coupons of the $M$ possible coupons in it, selected uniformly without replacement from the $M$ possible coupons, the same $N$ in number...
eng_Latn
34,507
Probability of a fraction $a/b$ that cannot be simplified Let $a$ and $b$ be random integers chosen independently from the uniform distribution on $\{1, 2,\dotsc, N\}$. As $N \rightarrow \infty$, what is the probability that the fraction: $$\frac{a}{b}$$ cannot be simplified? Note: As specified in the comments, the que...
Probability that two random numbers are coprime is $\frac{6}{\pi^2}$ This is a really natural question for which I know a stunning solution. So I admit I have a solution, however I would like to see if anybody will come up with something different. The question is What is the probability that two numbers randomly c...
Coupon collector's problem: mean and variance in number of coupons to be collected to complete a set (unequal probabilities) There are $n$ coupons in a collection. A collector has the ability to purchase a coupon, but can't choose the coupon he purchases. Instead, the coupon is revealed to be coupon $i$ with probabilit...
eng_Latn
34,508
Statistical question - conditional probability I would like to ask below question: i am trying to detect a kind of event by experiments, i repeat the experiment for 21 times, but no event of interest occurred. My quesiton is based on current results (21 repeat without any occurrence), what is the reasonable estimation ...
Confidence interval around binomial estimate of 0 or 1 What is the best technique to calculate a confidence interval of a binomial experiment, if your estimate is that $p=0$ (or similarly $p=1$) and sample size is relatively small, for example $n=25$?
Why are these estimates to the German tank problem different? Suppose that I observe $k=4$ tanks with serial numbers $2,6,7,14$. What is the best estimate for the total number of tanks $n$? I assume the observations are drawn from a discrete uniform distribution with the interval $[1,n]$. I know that for a $[0,1]$ ...
eng_Latn
34,509
Why $0.999$... isn't the largest number before 1? Why doesn't it called like that? It seems fair, $1$ called $1$ while $0.999$... being the largest number before $1$, and not called $1$ while not look like it is. Let's say it isn't, how would that number look like?
Is it true that $0.999999999\ldots=1$? I'm told by smart people that $$0.999999999\ldots=1$$ and I believe them, but is there a proof that explains why this is?
Discrete Probability: Four dice are thrown, what's the probability that... Four dice are thrown, what's the probability that: a) None of them fall higher than three? b) None of them fall higher than four? c) That four is the highest number thrown? So for a, I wanna think about the denominator first. There are 6 pos...
eng_Latn
34,510
Mean of fractions or fraction of means? When to use mediant and when to use mean? When would we use the mediant? Clarifying the problem: I was working on some numbers. De data had duration of a job, the number of steps to complete a job and the starting date of a job. All rows had similar data. I wanted to know the av...
Difference between $\sum_{i=1}^{k}{\frac{s_i}{kn_i}}$ and $\frac{\sum_{i=1}^{k}{s_i}}{\sum_{i=1}^{k}{n_i}}$ I am getting confused at how to calculate the average probability. Suppose we repeat a kind of binary survey $k$ times each of which was done on a completely separate sample group. For each $i^{th}$ group, $i=1...
Combinatorics Distribution - Number of integer solutions Concept Explanation I reading my textbook and I don't understand the concept of distributions or number of solutions to an equation. It's explained that this problem is 1/4 types of sampling/distributions problems. An example is provided to illustrate: In h...
eng_Latn
34,511
Prove that the expectation of the number of black balls preceding the first white ball is $\frac {b}{w+1}$ Balls are taken one by one out of an urn containing $w$ white and $b$ black balls until the first white ball is drawn. Prove that the expectation of the number of black balls preceding the first white ball is $\fr...
Expected value in an urn problem In an urn there are $n$ red balls and $m$ blue balls. I extract them without replacement. Let $X$=time of first blue. What is $E(X)$? I found PMF of $X$ and it is, if $k > n+1$ $$P(X=k) =\frac{n(n-1) \dots (n-k+1)m}{(m+n)(m+n-1) \dots (n+m-k+1)}$$ How could I evaluate $E(X)$? Edi...
Coupon collector's problem: mean and variance in number of coupons to be collected to complete a set (unequal probabilities) There are $n$ coupons in a collection. A collector has the ability to purchase a coupon, but can't choose the coupon he purchases. Instead, the coupon is revealed to be coupon $i$ with probabilit...
eng_Latn
34,512
Quantum uncertainty affecting classical object? As far as I know, the probability of a quantum object being in a certain position depends on the wave function value for each position. That raises a question: Is this probability strictly greater than 0 for all points? If I place an electron in a box, it can be anywhere ...
Probability, quantum physics, and why (can't it/does it) apply to macroscale events? Quantum physics dictates that there are probabilities that determine the outcome of an event, ie: the probability of a quark passing through a wall is X, due to the size of the quark in comparison to the wall), but couldn't macroscale ...
Probability of complete coupon set in $K$ boxes where a box has $N$ distinct coupons? Say there is a contest to collect a full set of $M$ coupons. Each box of product has $N$ distinct coupons of the $M$ possible coupons in it, selected uniformly without replacement from the $M$ possible coupons, the same $N$ in number...
eng_Latn
34,513
Python function complexity I was asked on the best and worst case scenario for this function: def is_palindromic(the_list): result = True the_stack=Stack() for item in the_list: the_stack.push(item) for item in the_list: item_stack=the_stack.pop() if item != item_stack: ...
Big O, how do you calculate/approximate it? Most people with a degree in CS will certainly know what . It helps us to measure how well an algorithm scales. But I'm curious, how do you calculate or approximate the complexity of your algorithms?
Is there a simple reason why the expected number of coin flips till getting $m$ more heads than tails or $n$ more tails than heads should be $mn$? I flip a coin until I get $m$ more heads than tails, or $n$ more tails than heads. Let the expected number of flips of the coin before stopping be $f(m,n)$. I obtained $f(m...
eng_Latn
34,514
Calculating the probability of a function being real when it has random variables I'm trying to calculate the probability of $ax^2+bx+c$ root being a real number when the variables $a,$ $b,$ and $c$ values are all randomized by throwing a standard die. I got to the point where I can get the probability by calculati...
Probability for roots of quadratic equation to be real, with coefficients being dice rolls. I really need help with this question. The coefficients $a,b,c$ of the quadratic equation $ax^2+bx+c=0$ are determined by throwing $3$ dice and reading off the value shown on the uppermost face of each die, so that the first...
Ways of getting a number with $n$ dice, each with $k$ sides Assume the dice are numbered from $1$ to $k$. My hunch is that this will form a normal distribution with a median at $n\cdot\frac{k}{2}$. However, I have no idea as to turn this fact into an answer (I have a minimal knowledge of stats, but I know that I am ...
eng_Latn
34,515
indexing all combinations without making list What is the most efficient way to to find the i'th combination of all combinations without repetition and without first creating all combinations until i. K is fixed (number of elements in each combination) and N is fixed (number of elements to be combined). The order does ...
A positional number system for enumerating fixed-size subsets? Many combinatorial objects have some associated positional number system. For example, the subsets of a (finite) set S can be listed off by observing the bits of all $|S|$-bit numbers, treating the 1s and 0s as indicators for whether to pick a particular e...
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
eng_Latn
34,516
Pascal triangle - how to derive row-specific formula Is there any way I can intuitively demonstrate or remember the formula listed at for the Pascal triangle? I'm talking of $$ {n\choose k}= {n\choose k-1}\times \frac{n+1-k}{k} $$ I tried with a piece of paper and it definitely works.. but I don't know why. There i...
How can I prove the formula for calculating successive entries in a given row of Pascal's triangle? I've found in Wikipedia the formula for calculating an individual row in Pascal's Triangle: $$v_c = v_{c-1}\left(\frac{r-c}{c}\right).$$ where $r = \mathrm{row}+1$, $c$ is the column starting from $0$ on left and $v_0 = ...
Probability Problem with $n$ keys A woman has $n$ keys, one of which will open a door. a)If she tries the keys at random, discarding those that do not work, what is the probability that she will open the door on her $k^{\mathrm{th}}$ try? Attempt: On her first try, she will have the correct key with probability $\frac...
eng_Latn
34,517
Say I am interested in predicting the TOTAL number of people that survive the titanic disaster, NOT each individual who died. Is it possible to run a probabilistic classifier on the data getting a value for each individual between 0 and 1, then summing those values for a best guess?
Say I have the titanic kaggle competition, but I'm not interested in the competition for predicting survival for each individual. Instead I want the most accurate estimate of total survivors on the titanic. Would this be achieved by using a probabilistic model, then adding the probabilities for each individual? For exa...
Say I have the titanic kaggle competition, but I'm not interested in the competition for predicting survival for each individual. Instead I want the most accurate estimate of total survivors on the titanic. Would this be achieved by using a probabilistic model, then adding the probabilities for each individual? For exa...
eng_Latn
34,518
A toy is randomly put in a given Cereal box as a promotional gift. There can be N different types of toys and each one can be of any type N (IID). (a) Find the expected number of cereal box one has to buy before she can have atleast one toy of each type, (b) If she has already collected m toys, what is the expected num...
What is the average number of times it would it take to roll a fair 6-sided die and get all numbers on the die? The order in which the numbers appear does not matter. I had this questions explained to me by a professor (not math professor), but it was not clear in the explanation. We were given the answer $(1-(\frac...
The entire site is blank right now. The header and footer are shown, but no questions.
eng_Latn
34,519
Say I have a table of numbers 1-6. I throw a 6 sided die a number of times. Each time I get a number I have not already had, I mark it in the table. What is the expected number of times to throw the dice to fill out the table?
What is the average number of times it would it take to roll a fair 6-sided die and get all numbers on the die? The order in which the numbers appear does not matter. I had this questions explained to me by a professor (not math professor), but it was not clear in the explanation. We were given the answer $(1-(\frac...
The entire site is blank right now. The header and footer are shown, but no questions.
eng_Latn
34,520
I am asking to use central limit theorem to solve this quesion. In an election between two candidates, A and B, one million individuals cast their vote. Among these, 2000 know candidate A from her election campaign and vote unanimously for her. The remaining 998000 voters are undecided and make their decision independ...
I am asked to solve the following question using central limit theorem. In an election between two candidates, A and B, one million individuals cast theirvote. Among these, 2000 know candidate A from her election campaign and vote unanimously for her.The remaining 998000 voters are undecided and make their decision ind...
I am asked to solve the following question using central limit theorem. In an election between two candidates, A and B, one million individuals cast theirvote. Among these, 2000 know candidate A from her election campaign and vote unanimously for her.The remaining 998000 voters are undecided and make their decision ind...
eng_Latn
34,521
How to solve the following probability question?
0.30 * 0.40 + 0.70 * 0.10\n\n= 0.12 + 0.07 = 0.19\n\n= 19%
99.23% cheat,rest 00.77% r faitlful
eng_Latn
34,522
How to estimate the total number of raffle tickets sold based on the serial of the ones that were drawn?
Why are these estimates to the German tank problem different?
Direct proof that nilpotent matrix has zero trace
eng_Latn
34,523
Probability in a Dice Game
Probability of first actor winning a "first to roll seven with two dice" contest?
probability that there is at least one defective part
eng_Latn
34,524
Expected number of variables that are at least n
n tasks assigned to n computers, what is the EX value of a computer getting 5 or more tasks?
Not including stdlib.h does not produce any compiler error!
eng_Latn
34,525
Extension to Classical Coupon Collectors Problem
Coupon Collector Problem with Batched Selections
The coupon collectors problem
eng_Latn
34,526
How to decide bootstrap number of runs?
Rule of thumb for number of bootstrap samples
How do I ensure a piece of code runs only once?
eng_Latn
34,527
How many draws to collect all items?
The coupon collectors problem
There are no interfaces on which a capture can be done
eng_Latn
34,528
Trying to understand a probability question/concept So I made a post and there were a lot of incorrect answers, and two people were able to provide the correct answers, but I cannot understand why or how they got it. So for this particular question: A dice is thrown four times, what's the probability "four" is the hig...
Discrete Probability: Four dice are thrown, what's the probability that... Four dice are thrown, what's the probability that: a) None of them fall higher than three? b) None of them fall higher than four? c) That four is the highest number thrown? So for a, I wanna think about the denominator first. There are 6 pos...
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
eng_Latn
34,529
Why is this argument incorrect for the Envelope Paradox Consider the envelope paradox problem: There are two envelopes both of which contain some money. One envelope contains twice the amount of the other (but other than that, you do not know how much is in them). You select one of the envelopes randomly and see th...
If you have two envelopes, and ... Suppose you're given two envelopes. Both envelopes have money in them, and you're told that one envelope has twice as much money as the other. Suppose you pick one of the envelopes. Should you switch to the other one? Intuitively, you don't know anything about either envelope, so it'...
Coupon collector's problem: mean and variance in number of coupons to be collected to complete a set (unequal probabilities) There are $n$ coupons in a collection. A collector has the ability to purchase a coupon, but can't choose the coupon he purchases. Instead, the coupon is revealed to be coupon $i$ with probabilit...
eng_Latn
34,530
Rummikub, replacing a joker When replacing a joker from the board state I must replace the joker gained from the board with 2 tiles from my hand. A joker that has been replaced must be used in the player's same turn with 2 or more tiles from his rack to make a new set My opponent interprets this meaning that I can o...
Rules when using a Joker I had on my rack among other tiles, a black 9, 1 x blue 10, and a black 12. On the table was a set of 3 x 10s including a Joker(no blue 10), and other sets of tiles including an available black 11. Can I replace the joker with my blue 10 and then set out : my black 9, the joker(representing ...
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
eng_Latn
34,531
Weighting a List to make items with a lower index having a higher chance of being randomly chosen? I am receiving a List<Fruit> of unkown size, usually between 4-10 items: { Apples, Orange, Pear, ?, ?, ... } How can I weight the List in a way that Apples have the highest % chance of being selected, then Oran...
Random weighted choice Consider the class below that represents a Broker: public class Broker { public string Name = string.Empty; public int Weight = 0; public Broker(string n, int w) { this.Name = n; this.Weight = w; } } I'd like to randomly select a Broker from an array, takin...
Accurately simulating the lots of dice rolls without loops? OK so if your game rolls lots of dice you can just call a random number generator in a loop. But for any set of dice being rolled often enough you will get a distribution curve/histogram. So my question is there a nice simple calculation I can run that will gi...
eng_Latn
34,532
Different number of return values in Python function Is it okay/good practice to return different number of return values from a function in Python? If yes, how should the caller handle the return values? e.g. def func(): if(condition_1): return 1,2 if(condition_2): return 1 if(condition_3)...
Is it pythonic for a function to return multiple values? In python, you can have a function return multiple values. Here's a contrived example: def divide(x, y): quotient = x/y remainder = x % y return quotient, remainder (q, r) = divide(22, 7) This seems very useful, but it looks like it can also be...
How to calculate the exact probability that the second player wins? Consider a game that uses a generator which produces independent random integers between 1 and 100 inclusive. The game starts with a sum S = 0. The first player adds random numbers from the generator to S until S > 100 and records her last random numbe...
eng_Latn
34,533
Maximum number of even entries in a $3\times 3$ matrix $A$ is a $3\times 3$ matrix with integer entries such that $\det(A)=1.$ So what is the maximum possible number of entries of $A$ that are even $?$ So, I thought about the $3\times 3$ Identity matrix and wrote the answer $6$$($ Since $0$ i...
$A \in M_3(\mathbb Z)$ be such that $\det(A)=1$ ; then what is the maximum possible number of entries of $A$ that are even ? Let $A \in M_3(\mathbb Z)$ be such that $\det(A)=1$ ; then what is the maximum possible number of entries of $A$ that are even ?
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
eng_Latn
34,534
Average Rounds for a Game Two people are playing a game, one round after another. Let the probability of person A winning be p, and the probability of person B winning be q, wherein 0<p<1, p+q=1. There is no draw, and person A will gain 1 point when they win one round, person B will gain 1 point when they win one...
Expected number of games played in a game with 'win by two' rule. Calvin and Hobbes play a match consisting of a series of games, where Calvin has probability p of winning each game (independently). They play with a “win by two”” rule: the first player to win two games more than his opponent wins the match. What is the...
Is there a simple reason why the expected number of coin flips till getting $m$ more heads than tails or $n$ more tails than heads should be $mn$? I flip a coin until I get $m$ more heads than tails, or $n$ more tails than heads. Let the expected number of flips of the coin before stopping be $f(m,n)$. I obtained $f(m...
eng_Latn
34,535
Less common probabilities and expected values related to the coupon collector problem A company brings out a new set of $n$ collectible cards. The cards are made in equal number, so there is the same probability of any given card being in a random set. They are purchased one-by-one. Question 1: If I buy $x$ cards, on a...
Expected time to roll all 1 through 6 on a die What is the average number of times it would it take to roll a fair 6-sided die and get all numbers on the die? The order in which the numbers appear does not matter. I had this questions explained to me by a professor (not math professor), but it was not clear in the ex...
Given an infinite set of cardinality $X$, is there a chain in $\mathcal P(X)$ of the same cardinalty of $\mathcal P(X)$? $P(\mathbb N)$ = power set of $\mathbb N$. $A \subset P(\mathbb N)$ is a chain if $a,b \in A \implies$ either $a \subseteq b$ or $ b \subseteq a$ That is, we have something like this: $$\cdots a \sub...
eng_Latn
34,536
Split list in to sublist in C# I like to split the list in to multiple list, list contains GUID's. For an example, if main list contains 130 GUID's, I have kept threshold as 50, so it should return, 3 list, 1st and 2nd list should contain 50 list each and third list will have 30 GUID's. How can we do it? Please help m...
Split List into Sublists with LINQ Is there any way I can separate a List<SomeObject> into several separate lists of SomeObject, using the item index as the delimiter of each split? Let me exemplify: I have a List<SomeObject> and I need a List<List<SomeObject>> or List<SomeObject>[], so ...
Coupon collector problem with partial collection of a specific set of coupons I am very new in probability and combinatorics and have a naive question around a variation on the coupon collector problem with partial collection. Lets assume we have a box with 45 coupons labeled 1-45. Now in this case I would like to ad...
eng_Latn
34,537
Why we don't need to cover all possibilities in calculating expected value We choose 10 cards at random from a standard deck of 52 cards. Find EV of the number of aces. If we pick a card and then replace it back EV is 10*1/13. Why the EV is also 10*1/13 when we get an ace and don't put it back , why don't we need to...
If you draw two cards, what is the probability that the second card is a queen? We had this question arise in class today and I still don't understand the answer given. We were to assume that drawing cards are independent events. We were asked what the probability that the second card drawn is a queen if we take two fr...
Sampling with replacement or without replacement I'm writing a program in R that simulates bank losses on car loans. Here is the questions I'm trying to solve: You run a bank that has a history of identifying potential homeowners that can be trusted to make payments. In fact, historically, in a given year, only 2% of...
eng_Latn
34,538
Probability of tossing an even/odd number of heads Lets say I toss a coin $n$ times where $n \geq 1$. Is it always the case that the probability of getting an even number of heads is $\frac{1}{2}$. If so can someone explain mathematically why? edit: as an additional question, If I introduce some subset of the n coins a...
A coin is tossed $n$ times. What is the probability of getting odd number of heads? A coin is tossed $n$ times. What is the probability of getting odd number of heads? I started this chapter sometimes ago and faced in front of a tough problem. At first I started considering cases. Case-I : The probability of getting ...
What's wrong with this equal probability solution for Monty Hall Problem? I'm confused about why we should change door in the Monty Hall Problem, when thinking from a different perspective gives me equal probability. Think about this first: if we have two doors, and one car behind one of them, then we have a 50/50 c...
eng_Latn
34,539
Javascript return unexpected value when calculating numbers Please see code snippet, javascript return unexpected value when calculating numbers. I'm using newest firefox. Is there a way I could always get correct value ? console.log(100+59.59, "expected 159.59"); console.log(200+59.59, "expected 259.59"); console....
Is floating point math broken? Consider the following code: 0.1 + 0.2 == 0.3 -> false 0.1 + 0.2 -> 0.30000000000000004 Why do these inaccuracies happen?
Maximizing expected value of coin reveal game I was asked this question today in an interview and am still not sure of the answer. The question is as follows. Part one: Say I have flipped 100 coins already and they are hidden to you. Now I reveal these coins one by one and you are to guess if it is heads or tails be...
eng_Latn
34,540
How to find the total number of exchanges? Given n objects held by n people, how to find the total number of valid exchanges, where a valid exchange means that all persons hold different objects after the exchange? eg for 4 objects 1 2 3 4: valid exchanges are: 2 1 4 3 2 3 4 1 2 4 1 3 3 1 4 2 3 4 1 2 3 4 2 1 4 ...
I have a problem understanding the proof of Rencontres numbers (Derangements) I understand the whole concept of Rencontres numbers but I can't understand how to prove this equation $$D_{n,0}=\left[\frac{n!}{e}\right]$$ where $[\cdot]$ denotes the rounding function (i.e., $[x]$ is the integer nearest to $x$). This equ...
Maximizing expected value of coin reveal game I was asked this question today in an interview and am still not sure of the answer. The question is as follows. Part one: Say I have flipped 100 coins already and they are hidden to you. Now I reveal these coins one by one and you are to guess if it is heads or tails be...
eng_Latn
34,541
Is it better to spawn your first overlord at 9 or 10 supply? Assuming you're not doing some early cheese build, I'd think this would be something you could just do some math on to figure out which is better. Has this problem been solved? Which is better, and what is the math behind it?
Why does everyone do 9-overlord, not 10-overlord? What is the advantage on saving the money for the overlord when you have 9 drones, and not filling your supply first and then getting the overlord? In my theory, in the first case you get to wait the saving time with 9 drones, and get to wait almost the same time with ...
Why is the last digit of $n^5$ equal to the last digit of $n$? I was wondering why the last digit of $n^5$ is that of $n$? What's the proof and logic behind the statement? I have no idea where to start. Can someone please provide a simple proof or some general ideas about how I can figure out the proof myself? Thanks.
eng_Latn
34,542
need to create a random number between 10 and 20 I am trying to generate a random number between 10 and 20 for my program but the numbers being generated are less than 1 and are to 2 decimal places e.g. 0.64, 0.34 etc.. Dim TrigB As Random Dim numberb As Integer TrigB = New Random numberb = TrigB.Next(10, ...
Random integer in VB.NET I need to generate a random integer between 1 and n (where n is a positive whole number) to use for a unit test. I don't need something overly complicated to ensure true randomness - just an old-fashioned random number. How would I do that?
Poisson / exponential distribution Next weekend you will be participating in 12km cross country race on a mountain.The average time between two successive wild animal sightings on the mountain is reported to be 5 minutes (a) What is the probability that you see at least one wild animal in the 11th minute of the r...
eng_Latn
34,543
Expected value question Say I am rolling a 20-sided die. What is the expected number of rolls to have rolled each number? I haven't taken statistics in a while so my syntax might be off but this question has been bugging me for a while. Any help or direction is much appreciated.
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
What is syntax highlighting and how does it work? I noticed that sometimes my code gets highlighted in different colors when rendered. What is syntax highlighting? How does it work? Why isn't my code being highlighted correctly? How do I report a bug or request a new language? How do I use syntax highlighting? What l...
eng_Latn
34,544
Expected number of variables that are at least n I wasn't sure what to title this. We have n objects distributed uniformly and independently at random among n people. Calculate the expected number of people that receive at least 5 objects. I know how to calculate the probability that one person receives at least 5 ob...
n tasks assigned to n computers, what is the EX value of a computer getting 5 or more tasks? Say a central server assigns each of n tasks uniformly and independently at random to n computers connected to it on a network. Say a computer is ‘overloaded’ if it receives 5 or more tasks. Q: Calculate the expected number of...
How do you calculate the likelihood of drawing certain cards in your opening hand? In Magic, at the start of the game, you draw 7 cards. How would you calculate the likelihood of drawing a specific card in your opening hand? For example, let's say I have a 60 card deck, and I'm running 4 . What is the percent chance t...
eng_Latn
34,545
Stuck at an assignment for conditional probability So I'm having this assignment in probability regarding conditional probability that states the following: Each of 25 exams papers has 2 questions written on it. Neither of the 50 questions repeats itself. The student knows the answer for 44 questions. In order for the...
Probability of student passing an exam There're $25$ tests, each with $2$ questions. There're total of $50$ different questions (the questions do not repeat). The student knows the answer of $44$ questions. To pass the exam, the student needs to correctly answer both questions on the first test he drew, or answer $1$ q...
Game Theory and Uniform Distribution question? In an Auction , two players are bidding. Their bids will be a unknown fraction of their valuations. The valuations come from a uniform distribution $$[0,1] $$ If Player 2 bids $$ v/2 $$ and Player 1 bids $$b1<1/2$$ What is the probability player 1 wins ? Clearly fo...
eng_Latn
34,546
How to generate combinations from arrays? Consider the case of having three arrays: X = {A , B , C}; Y = {D , E , F}; Z = {G , H , I}; How to generate all the possible combinations from these three arrays ( C++ or Python ), that's like C1 = {A , D , G}; C2 = {A , D , H}; ... C4 = {A, E , G}; ... C10 = {B , D , G}; ...
Get the cartesian product of a series of lists? How can I get the Cartesian product (every possible combination of values) from a group of lists? Input: somelists = [ [1, 2, 3], ['a', 'b'], [4, 5] ] Desired output: [(1, 'a', 4), (1, 'a', 5), (1, 'b', 4), (1, 'b', 5), (2, 'a', 4), (2, 'a', 5) ...]
Probability distribution in the coupon collector's problem I'm trying to solve the well known Coupon Collector's Problem by explicitly finding the probability distribution (so far all the methods I read involve using some sort of trick). However, I'm not having much luck getting anywhere as combinatorics is not somethi...
eng_Latn
34,547
find the probability that more than 50 of the observations of the random sample are less than 3 Let X1,X2,...,Xn be a random sample of size n=72 from a distribution with pdf f(x)={1/x2 1<x<infinity 0 otherwise Find the probability that more than 50 of the observations of the random sample are <3 (less ...
Compute approximately the probability that more than 50 of the observations of the random sample are less than 3. Let $X_1,X_2,...,X_n$ be a random sample of size $n = 72$ from a distribution with probability density function $f(x) =\begin{cases} 1/x^2,& 1 < x < infinity\\0,&\text{otherwise}\end{cases}$ C...
Coupon collector's problem: mean and variance in number of coupons to be collected to complete a set (unequal probabilities) There are $n$ coupons in a collection. A collector has the ability to purchase a coupon, but can't choose the coupon he purchases. Instead, the coupon is revealed to be coupon $i$ with probabilit...
eng_Latn
34,548
Changing Pixels Per Unit First off, excuse my ignorance. I am just getting started in game dev. and ran into a little issue. So I had these weird rippling-lines going across my screen, and saw in a couple forums that this means I don't have what is called a "pixel perfect" game. To fix this, I am supposed to ...
Pixel Perfect 2D tiles I'm trying to make an 64x64 tilemap using Super Tilemap Editor & Unity but my tiles looks terrible. I did my research about pixel perfect 2D and all of the solutions were for pixel art, they didn't work for me. I have the following tileset I made in Adobe Illustrator as an example Tiles l...
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
eng_Latn
34,549
For a one-shot, how do I handle starting equipment above level 1? I'm looking to do a one-shot to try my hand at DM-ing. In addition to this, I'm also building the setting and objective by myself as well. I've decided for everyone to be level 5 and have built encounters around it, however I want to be more accurate to ...
What's the starting wealth for higher levels? The PHB only gives starting wealth for Level 1 PCs. Based on my experience in other games, specifically Pathfinder, I would expect to get more at higher levels. Where can I find an appropriate table or calculation?
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
eng_Latn
34,550
Statistical reasoning in board game In each round of the board game "The Resistance" three players are randomly and secretly chosen to be spies while the rest of the players are part of the resistance. The spies are then made aware of each other while the players do not know the identity of the rest. Imagine that 8 p...
Does 10 heads in a row increase the chance of the next toss being a tail? I assume the following is true: assuming a fair coin, getting 10 heads in a row whilst tossing a coin does not increase the chance of the next coin toss being a tail, no matter what amount of probability and/or statistical jargon is tossed around...
Covering ten dots on a table with ten equal-sized coins: explanation of proof Note: . I have moved it here because: I am curious about the answer The OP has not shown any interest in moving it himself In the Communications of the ACM, , Peter Winkler asked the following question: On the table before us are 10...
eng_Latn
34,551
Is this a correct use of Bayesian statistics when choosing a box A-E? Occasionally my friends and I attend a local pub quiz. In the final round of the quiz, the winning team is allowed to select one box from five, labelled: A, B, C, D, E In one of these boxes is a £250 prize. The others contain the following prizes: ...
Two envelope problem revisited I was thinking of this problem. I believe the solution and I think I understand it, but if I take the following approach I'm completely confused. Problem 1: I will offer you the following game. You pay me \$10 and I will flip a fair coin. Heads I give you \$5 and Tails I give you \$20. ...
How can I get a significant overall ANOVA but no significant pairwise differences with Tukey's procedure? I performed with R an ANOVA and I got significant differences. However when checking which pairs were significantly different using the Tukey's procedure I did not get any of them. How can this be possible? Here i...
eng_Latn
34,552
Random placement of rooks on a chessboard $8$ rooks are placed randomly on an $8\times 8$ chess board. What is the probability of having exactly one rook each row and each column? I guess there is no meaningful order here?
What is the probability that when you place 8 towers on a chess-board, none of them can beat the other. What is the probability that when you place 8 towers on a chess-board, none of them can beat the other. Attempt: ${64 \choose 8}^{-1} \approx1$ in $4\ 400\ 000\ 000$ Correct answer: ${64 \choose 8}^{-1} \cdot 8! \a...
Sampling with replacement or without replacement I'm writing a program in R that simulates bank losses on car loans. Here is the questions I'm trying to solve: You run a bank that has a history of identifying potential homeowners that can be trusted to make payments. In fact, historically, in a given year, only 2% of...
eng_Latn
34,553
Expected number of siblings in a family The question goes as follows: Given a family where the number of children is a random variable $(\mu=1.8, \sigma=0.36)$, if one selects a child randomly, what’s the expected number of siblings the child has? I stumbled upon this problem while reading Sheldon Ross’s a first cours...
Expected number of siblings, given the expectation of children in a family The number of children in a family is a random variable $X$, where $ \mathbb E(X) = 1.8 $ and $Var(X) = 0.36 $. If we randomly choose a child, which is the expected number of its siblings? (it is given that the answer $> 0.8$) Let t...
What kind of distribution is this "almost" uniformly distributed data for calls/week? My supervisor asked me to find out which distribution represents a particular situation. I have a VoIP generator that generates calls "uniformly" distributed between callers. This means that the volume per caller distribution is "alm...
eng_Latn
34,554
Finding the Probability that the Expected Outcome is the Actual Outcome
probability of getting 50 heads from tossing a coin 100 times
Direct proof that nilpotent matrix has zero trace
eng_Latn
34,555
Can we predict throwing a dice?
Is it really impossible to calculate in advance the result of throwing dice?
Is it really impossible to calculate in advance the result of throwing dice?
eng_Latn
34,556
A quick count in the college car park tells me that out of 40 cars parked there, 15 are hatch-backs. Assuming?
I don't really understand your question, but I would say if 15 are hatch-backs, then 15 people at college need a good bit of boot space. I would also deduce that 25 cars would not be hatchbacks, so I would say there are 25 teachers and 15 students (with their own cars).
Like the first answer..but let's expand on it a little.\n\nThe reorder level is the point at which you need to order more of that specific item in order to maintain production/sales.\nTaking the example of muffler's another level...let's expand on it:\nLet's say you have 100 muffler's on hand.\nLet's say you average se...
eng_Latn
34,557
Probability question involving quadratic equation
Probability of Obtaining the Roots in a Quadratic Equation by Throwing a Die Three Times
Probability of Obtaining the Roots in a Quadratic Equation by Throwing a Die Three Times
eng_Latn
34,558
Can multiple doom tokens be removed in one hit in the final battle? If I have two players and my investigator is blessed and has a resultant fight of 11 and rolls 8 successes, do I outright take 4 doom tokens off the ancient one? We spent 2-3 hours slogging through the game and getting hurt at every turn, but when the ...
In the Final Battle, when you remove doom tokens for rolling successes against an Ancient One do you stop counting successes for that roll? In Arkham Horror you have to roll a cumulative number of successes equal to the number of players to knock off a doom token from the Elder God's health. If you reach the number of ...
Is this a grammatically correct line in a poem: “Will he roll the dice, and follow it to Vegas?”? I want to use the following line in a poem: "Will he roll the dice, and follow it to Vegas?" A couple of things to note; firstly, obviously I'm using "roll the dice" in both a figurative/idiomatic sense (as in taking a r...
eng_Latn
34,559
My webhoster seems to have some troubles with DDOS attacks and routing overload. This makes my IP to be not available sometimes and I'd like to add a failover IP for the domain. However, 2 A-Records means that it's similar to a load balancer which is NOT what i am looking for. I do not want the fallback machine to be ...
This is a about DoS and DDoS mitigation. I found a massive traffic spike on a website that I host today; I am getting thousands of connections a second and I see I'm using all 100Mbps of my available bandwidth. Nobody can access my site because all the requests time out, and I can't even log into the server because...
When a divination wizard character uses their Portent ability: Starting at 2nd level when you choose this school, glimpses of the future begin to press in on your awareness. When you finish a long rest, roll two d20s and record the numbers rolled. You can replace any attack roll, saving throw, or ability chec...
eng_Latn
34,560
How do I find out how many people use a particular PPA. I see on a particular PPA ; Package build summary A total of 108 builds have been dispatched for this PPA. Completed builds 108 successful 0 failed Does that mean only 108 people have added this PPA to their sources list and installed the package?
I'd like to know how many downloads of a given package in a PPA there have been since it was first published. I remember there was about it about getting these metrics on the web UI, but as far as I know, it never got implemented. But I think the number of downloads can nevertheless be obtained via the if I'm the o...
Say I have the titanic kaggle competition, but I'm not interested in the competition for predicting survival for each individual. Instead I want the most accurate estimate of total survivors on the titanic. Would this be achieved by using a probabilistic model, then adding the probabilities for each individual? For exa...
eng_Latn
34,561
3 steps to find one of 12 balls Imagine you have 12 balls. They are all the same color. We know that one ball is different in weight from the others but we dont know is it heavier or easier. You have a beam scale without measurements on it. Just two sides where you can put any number of balls on it. In three steps find...
A logic puzzle involving a balance. Possible Duplicate: You have 12 balls and you know that they all weigh the same except for 1 which is heavier or lighter than all the others (you don't know which though). How can you make sure you know which ball is the heaviest/lightest in only 3 weighings? The way I appr...
Is this a grammatically correct line in a poem: “Will he roll the dice, and follow it to Vegas?”? I want to use the following line in a poem: "Will he roll the dice, and follow it to Vegas?" A couple of things to note; firstly, obviously I'm using "roll the dice" in both a figurative/idiomatic sense (as in taking a r...
eng_Latn
34,562
If some respondents are skipping certain questions because they do not apply to them, how would I address these missing values? If there's a questionaire that has questions like if you answered yes to this question, then skip the next 2 questions, how would I address these missing values? Would I ignore them when makin...
Can I still use logistic regression if some variables are not applied to all the observational units? Some of the variables are questions that are not being asked to every single person in the questionaire depending on how they answered previous question(s). So would I still be able to use a logistic regression if some...
Calculate E[X] from incomplete data? The exercise I'm doing describes the random variable $X$ as the following | Number of cars | 0 | 1 | 2 | 3 | 4+ | | % of families | 15 | 45 | 25 | 13 | 2 | Then it asks me to evaluate $E[X]$. But if there could be cases with 4+ cars, wouldn't that make it impossible to...
eng_Latn
34,563
What does the "Dice" package look like? Looking at a of an inverting regulator, I found something peculiar: I've never heard of a Pin-Package called "Dice" before, and it doesn't even specify the pin-count. On the of the manufacturer, this package isn't mentioned either. What does "Dice" mean in this context and ...
What is a "DIE" package? In a list of ICs, along with the familiar package names such as QFN32, LQFP48, etc., I've seen a few ICs to be listed as DIE for the package size. I've never seen that description before as an IC package size, and does not list it either. What can it be? I assume it's some kind of chip-scale...
Is this a grammatically correct line in a poem: “Will he roll the dice, and follow it to Vegas?”? I want to use the following line in a poem: "Will he roll the dice, and follow it to Vegas?" A couple of things to note; firstly, obviously I'm using "roll the dice" in both a figurative/idiomatic sense (as in taking a r...
eng_Latn
34,564
Probability that Amy gets more heads than Bob? Say that Amy tosses a coin 6 times, and Bob tosses a coin 5 times. What's the probability that Amy gets more heads than Bob does?
A probability theory question about independent coin tosses by two players Say Bob tosses his $n+1$ fair coins and Alice tosses her $n$ fair coins. Lets assume independent coin tosses. Now after all the $2n+1$ coin tosses one wants to know the probability that Bob has gotten more heads than Alice. The way I thought ...
Asking feedback/rating for a mobile app? Fig.1: A typical prompt, asking user for feedback/rating in iOS Background Any serious smartphone users must have seen a message similar to Fig.1 above at least once. Variations of such prompt include: "Please give us 5 star ratings if you love this app!", "Rate u...
eng_Latn
34,565
Server Sizing Methodology
Can you help me with my capacity planning?
Is "TABLESAMPLE BERNOULLI(1)" not very random at all?
eng_Latn
34,566
Expected number of triangles with random lines
Probability of area being greater than 0.5 with random lines
Proof about Graph with no triangle
eng_Latn
34,567
What does the Rule of Two actually mean? Does it mean "A master has only one apprentice, if he becomes a master we part and search for new apprentices each" or always "enter random number here" masters with apprentice, or even "There can only be two" in Highlander fashion?
Does the Rule of Two Serve any Actual Purpose? I know Darth Bane came up with the Rule of Two to ensure the survival of the Sith, but, in reality (or in the Star Wars reality), does it (or any Sith rule) serve a true purpose? And why does each successive Sith bother with it? Due to the nature of the Sith, Sith Lords ...
Magic 8 Ball Problem This problem is probably simple enough to have an analogous problem, I just don't know the name so I'm going to describe it and hopefully somebody can point me in the right direction. The problem is this: estimating the number of sides of a . Let's say you perform the following process: Shake ...
eng_Latn
34,568
The Prisoner's Release Probability Problem The release of two out of three prisoners has been announced. but their identity is kept secret. One of the prisoners considers asking a friendly guard to tell him who is the prisoner other than himself that will be released, but hesitates based on the following rationale: at ...
Understanding a probability paradox Three prisoners are informed by their jailer that one of them has been chosen at random to be executed and the other two are to be freed. Prisoner A asks the jailer to tell him privately which of his fellow prisoners will be set free, claiming that there would be no harm in divulging...
A probability theory question about independent coin tosses by two players Say Bob tosses his $n+1$ fair coins and Alice tosses her $n$ fair coins. Lets assume independent coin tosses. Now after all the $2n+1$ coin tosses one wants to know the probability that Bob has gotten more heads than Alice. The way I thought ...
eng_Latn
34,569
Intuition about a coupon problem were we ask for the distribution of the unique coupons when the number of draws is fixed Alternative viewpoint of the coupon collectors problem In the coupon collectors problem we draw from a collection of $n$ coupons, with replacement and ask the question how many draws $K$ it takes to...
How often do you have to roll a 6-sided die to obtain every number at least once? I've just played a game with my kids that basically boils down to: whoever rolls every number at least once on a 6-sided die wins. I won, eventually, and the others finished 1-2 turns later. Now I'm wondering: what is the expectation of ...
Proving AM-GM with induction I am trying to prove AM-GM with the following steps: Prove that AM-GM holds for two variables Prove that if AM-GM holds for $k$ variables then it holds for $2k$ variables Prove that if AM-GM holds for $k$ variables then it holds for $k-1$ variables If I prove all of these, I will have ...
eng_Latn
34,570
Imagine that I've got a big $N \times N$ boolean matrix (all entries are $0$ or $1$). At the beginning, the matrix is full of zeros. Then, I execute the following algorithm Matrix M empty of type N x N while (there is a 0 in M) { Position pos; do { pos = random position in M } while (pos is 1); ...
What is the average number of times it would it take to roll a fair 6-sided die and get all numbers on the die? The order in which the numbers appear does not matter. I had this questions explained to me by a professor (not math professor), but it was not clear in the explanation. We were given the answer $(1-(\frac...
Prove that there are no integers $a,b \gt 2$ such that $a^2{\mid}(b^3 + 1)$ and $b^2{\mid}(a^3 + 1)$.
eng_Latn
34,571
I have been thinking about one problem, which is not understandable to me. Consider the following: I have a deck of cards (52 cards). I pick card after card (no replacement), but I stop when the current card belongs to the same family (Aces, Kings, etc.) as the card picked before. The number of observations is an event...
What is the probability that a shuffled standard deck of 52 cards has no two cards of the same rank together ? I am unable to get a handle on this problem, and wonder whether there is an analytical solution ?
The new Top-Bar does not show reputation changes from Area 51.
eng_Latn
34,572
When should there be a roll for an Ability check? Should a player make a roll for things like: He is travelling and wants to play a flute Wanting to carve a goblin's teeth as a trophy Wanting to play on a drum that he found Wanting to split through of a captured enemy or can they be considered as automatic success...
When should I make my players actually roll for stuff? I've tried to focus my group heavily on Role Playing, perhaps too well given some of my recent problems, which are Orthagonal, and linked mostly to provide historical context. A lot of the answers to these questions revolve around "have off the rail's multip...
How do I model the fighter's Great Weapon Fighting fighting style in Anydice? I was trying to create an AnyDice function to model the Great Weapon Fighting fighting style (which lets you reroll 1s and 2s), but I couldn't get it to work on any arbitrary dice. I've found this one: function: reroll R:n under N:n { if...
eng_Latn
34,573
The way my DM wants to try is roll 3d6 and reroll any 1's or 2's once. If you roll a 2 and the reroll ends up being a 1 you have to take the 1.
I was trying to create an AnyDice function to model the Great Weapon Fighting fighting style (which lets you reroll 1s and 2s), but I couldn't get it to work on any arbitrary dice. I've found this one: function: reroll R:n under N:n { if R < N { result: d12 } else {result: R} } output [reroll 1d12 under 3] name...
When a divination wizard character uses their Portent ability: Starting at 2nd level when you choose this school, glimpses of the future begin to press in on your awareness. When you finish a long rest, roll two d20s and record the numbers rolled. You can replace any attack roll, saving throw, or ability chec...
eng_Latn
34,574
How difficult is it to collect the full set of toys from McDonald's Happy Meal?
Probability associated with experiencing all outcomes
What the #$@&%*! is that called?
eng_Latn
34,575
When to Stop Rolling and Bail
Would you ever stop rolling the die?
WITH ROLLUP WHERE x IS NULL
eng_Latn
34,576
Probability last passenger on plane sits in correct seat when the first two passengers choose seats randomly There are 100 passengers with assigned seats. The first two people that boards chooses a seat at random uniformly. The remaining passengers will sit in their assigned seat if it is still open, but if it's not op...
Taking Seats on a Plane This is a neat little problem that I was discussing today with my lab group out at lunch. Not particularly difficult but interesting implications nonetheless Imagine there are a 100 people in line to board a plane that seats 100. The first person in line realizes he lost his boarding pass so wh...
How do I get my players to form a PC party without just forcing them to? I believe that it is generally a good thing that all the PCs travel together, as a "party". This way the GM has to manage one environment – not, say, five. The problem is how the GM can ensure such a relationship between the characters. One simpl...
eng_Latn
34,577
predicting the color of the next card drawn [edited based on comment and answer offered] Note: This question is different from as that question asks for the payoff of a slightly different game. This question asks if there is a strategy to win. One comment gave as a strategy, "Wait until the last card is to be drawn,...
guess the color of the next card There are 26 red cards and 26 black cards on the table which are randomly shuffled and are facing down onto the table. The host turns up the cards one at a time. You can stop the game any time (even at the beginning of the game). Once you stops the game, the next card is turned up: if i...
How many ways are there to select a pair of cards from a standard deck of cards such that one of the cards is red and the other one is black? Suppose that a pair of cards are selected from a standard deck of 52 cards. And since there are 26 black cards and 26 red cards, so I'm wondering if my thinking is right? ${26!...
eng_Latn
34,578
A woman goes to the funeral of her relative. She sees a man there she is attracked to. The next day she goes to her sisters house and kills her. Why?... NOTE (there is no wrong answer BUT there is an answer that tells you something very interesting about yourself)... I'll let you know that when i pick the best one.
Because her sister is her twin and she doesnt want the man being attracted to her twin? Haha..I dont know if this is right, just a guess
Your logic is flawed. Say you always pick card #2. The first time, you'll have 14.2857...% (that's the same as saying one seventh) of the chances of winning the car.\n\nThe second time, with a new set of cards, your chances that the card #2 is the winner are again 14.2857...%, and so will every new time, because your c...
eng_Latn
34,579
how to play bonus video poker correctly
Bonus Poker. Introduction. This page shows my strategy for 8/5 Bonus Poker. With optimal strategy, the expected return of 8/5 Bonus Poker is 99.17%. Often, 8/5 Bonus Poker is the best available video poker game in a given casino, so it is a valuable strategy to know. The following table shows the probability and return...
Lastet opp 1. mai 2009. Watch more How to Play Card Games videos: http://www.howcast.com/videos/274-How... Impress your poker buddies by learning how to shuffle and deal like you do it for a living. Step 1: Split the deck in half. Learn how to do the classic shuffle, which is called the riffle shuffle. Split the deck i...
eng_Latn
34,580
Number of restricted ways to two-color a necklace There are $n$ beads placed on a circle, $n\ge 3$. They are numbered in random order as viewed clockwise. Beads for which the number of the previous bead is less than the number of a next bead are painted in white color,and others - in black. Two colorations that can be...
Black and white beads on a circle There are $n$ beads placed on a circle, $n\ge 3$. They are numbered in random order as viewed clockwise. Beads for which the number of the previous bead is less than the number of a next bead are painted in white color,and others - in black. Two colourations that can be made equal by ...
Experimental data for asymmetric Newton cradle Using a "successive impact model" (as if each ball were seperated from the other ones), I produced the following animations: You can see any combination of balls with masses of 1 or 2 (left) or 1 and 4 (right). Unfortunately, I do not have any Newton cradle to make som...
eng_Latn
34,581
problem statement 5 1 . 2 problem statement .
Hyperparameters: optimize, or integrate out?
Stable Sampling Equilibrium in Common Pool Resource Games
nno_Latn
34,582
How to calculate the optimal number of bins for severly skewed data
Calculating the optimal number of bins for severely skewed data
Calculating the optimal number of bins for severely skewed data
eng_Latn
34,583
How can i find the following Poisson distribution when i have a non-integer value
Poisson distribution (solution check)
Integer partitions in all orderings
eng_Latn
34,584
Show the expected number of packets to buy to collect a whole set of minifigures
calculating expected number of packets.
Subset of $C[0,1]$ is nowhere dense
eng_Latn
34,585
How to determine this sampling distribution?
You must have left something out. I have not a clue where you got that answer it is not what I got based on the information given.
Does your school give you access to SPSS?\n\nCheck with one of the librarians at your campus library....they can really help you out with this type of stuff.\n\nGood Luck!
eng_Latn
34,586
How to find a 95% confidence interval for sample proportion p (sample size =5) without normal approximation??
For n = 5? Seriously?\n\nIt is not clear what you are asking.\n\nSuppose that:\n\n1. Your model is of a sequence of independent Bernoulli trials each of which succeeds with probability p.\n\n2. Your null hypothesis H0 is p = 0.3\n\n3. Your alternative hypothesis H1 is p is not 0.3.\n\n4. You plan to observe 5 trials wi...
There are several ways to go about this:\n\n1. You can hire a market research professional\n2. Or do it yourself, which if you are not a market research professional may have a significant learning curve\n\nYou did not indicate whether you have the budget to hire someone (usually cost about a thousand dollars or way mo...
eng_Latn
34,587
how to plot a binomial
How to plot a binomial or Poisson distribution. 1 Download the Prism file. 2 To modify this file, change the value of lamda (for Poission) or the probability, n, and cutoff (Binomial) in the Info sheet. Enter new values there, and the graph updates. 3 If you want to recreate graphs like these, keep in mind these poi...
1. Put the binomial terms in order. While 4 + x is a valid binomial, binomials, like other polynomials, are normally written with the highest order exponent after the variable first. Thus, you would reorder 16 + 4x as 4x +16 and 27 + x 3 as x 3 + 27.. Put the binomial terms in order. While 4 + x is a valid binomial, bi...
eng_Latn
34,588
Probability to pick last four pages
Chance of selecting the last k pages in correct order from a set of n pages
Chance of selecting the last k pages in correct order from a set of n pages
eng_Latn
34,589
Expected number of tosses until winner in game with two players with two different coins
How to solve this probability problem analytically (instead of using simulation)? Probability of Bill wins the game if he goes first
Keras - no prediction probability for multiple output models?
eng_Latn
34,590
Generating Functions to design nonstandard dice
More Generating Functions problems
How to unprotect GeneratingFunction
eng_Latn
34,591
calculating the mean for each subj in r
calculate the mean of trials for each subject in R
R.Java not generated
eng_Latn
34,592
Probability that no balls go in the right boxes
Number of permutations of $n$ elements where no number $i$ is in position $i$
probability of $k$ boxes contain exactly $1$ ball
eng_Latn
34,593
Recurrence problem with a game of probability
Gambler's ruin and coin toss
Did I correctly derive this recurrence equation formula
eng_Latn
34,594
Calculate Multiple Dice Probabilities
Lots of people think that if you roll three six sided dice, you have an equal chance of rolling a three as you have rolling a ten. This is not the case, however, and this article will show you how to calculate the mean and standard deviation of a dice pool.
Tired of the regular Nuzlocke? Looking for a challenge? Then try winning the game with a single Pokémon! Same thing, with one difference: you only have one chance, and if your Pokémon dies, it's game over!
eng_Latn
34,595
What should n be so that the probability is less than 0.5
Understanding the "Birthday Problem"
Probability of area being greater than 0.5 with random lines
eng_Latn
34,596
Probability of drawing balls with different colours
Probability distribution in the coupon collector's problem
What is the probability that a man likes pink?
eng_Latn
34,597
If I'm sampling from N items, how many samples are needed to get all N items at least once?
Expected time to roll all 1 through 6 on a die
Direct proof that nilpotent matrix has zero trace
eng_Latn
34,598
I need to make a chart with calculating probability of rolliing two heads out of seven flips. I have lined up 0,1,2,3,4,5,6,7 and next to it i need to put the probability..i dont know how to calculate it ...please help me!
In order to measure probabilities, mathematicians have devised the following formula for finding the probability of an event.\n\nProbability Of An Event \nP(A) = The Number Of Ways Event A Can Occur \nThe Total Number Of Possible Outcomes \n \nThe probability of event A is the number of ways event A can occur di...
I would suggest purchasing a book like Forgotten Calculus and Forgotten Algebra by Barbara Lee. I used those for Calc I and for Calc II I used Schaum's 3000 solved problems in Calculus and the site http://tutorial.math.lamar.edu/ for when I wanted instructions or a quick understanding of algebra, trigonometry and calc...
eng_Latn
34,599