Questions relating to (pseudo)randomness, random oracles, and stochastic processes.
Questions tagged [random]
1860 questions
0
votes
0 answers
Difference Between Chaos and Randomness
I was watching the following video: https://youtube.com/shorts/fK1VmX9mzRw?feature=share
In the video, they claim that a double pendulum is not "random" but "chaotic". The future trajectory of the double pendulum is unpredictable at any time, and…
stats_noob
- 3,112
- 4
- 10
- 36
0
votes
0 answers
Expected cycle length in random set
We know that expected cycle size of a random element in random permutation is $\frac {n+1}{2}$:
https://en.wikipedia.org/wiki/Random_permutation_statistics#Expected_cycle_size_of_a_random_element
But let's consider random set of n-bit random numbers…
Tom
- 159
0
votes
1 answer
Looking for pseudo random / iterative function that generates similar numbers for similar seeds
I am writing some code to generate 2D polygonal creatures based on 2 arguments: number of edges and a seed.
Using the seed and the iterative function, i generate a sequence of radius which defines the position of the corners of the polygon (rotating…
0
votes
2 answers
Do all LCG-based PRNGs suffer from predictable patterns?
I needed to produce trivial (low-quality) random integers and remembered how simple linear congruential generators were to implement from school:
Went to Wikipedia, found the first example which appeared to produce 32 bits (sourced from the…
ardnew
- 101
- 2
0
votes
1 answer
Denoting Random Numbers in Equations
I'm trying to document an equation in a report that uses a random number generated between 1 and 0, is there any formal way in mathematics to document this or should i just use the letter r?
Dean
- 1,881
0
votes
0 answers
Pseudo random number generator with short period
I need to create a good quality random number generator that generates integer numbers in the range $0$ to $N-1$ where $N$ is a number in the single or tens of thousands. For example, $N=4096$.
The generator's period should be $N$ and it should…
paperjam
- 101
0
votes
1 answer
Generating a set of random numbers such that their sum falls within a range
I'm sure this is something that I should be able to google but for some reason, I just can't structure my question properly...
Basically: Given a set of size N, I need to generate numbers between A and B and ensure that the resulting sum of the set…
Big Bad Waffle
- 101
0
votes
1 answer
Normal Random Variable transformation distribute as N(0,1)
We know that a random variable Y $\sim N(0,1)$
We define the random variable $Z= Y \mathbb 1_{|Y|\leq a} - Y \mathbb 1_{|Y|>a}$
I want to proove that Z $\sim N(0,1)$, and I know that I've to do the transformation, but I don't know how to do it…
luisegf
- 715
0
votes
0 answers
how to find the totalamount of hot metal filled in?
I have a truck carrying hot metal. There is always some unknown amount of residual hot metal inside this truck. At start of day i fill it up with some amount of hot metal. I take this truck to weigh bridge and weigh it. Then i take it to the…
bipin_s
- 101
0
votes
0 answers
Translate 0 to infinity ratio to a 0-1 range
I'm a programmer and terrible with math notations, so sorry for the bad formatting.
I have tree points, lets call them P, A and B.
I have the distance from P to A and P to B, and I want to choose the point A or B randomly, but weighted depending on…
Mockarutan
- 101
- 1
0
votes
2 answers
Prove $\mathbb E(X∣Y)=0$ for $2$ variables
I was looking for an example of two dependent random variables in which
$\mathbb E(X|Y)=\mathbb E(X)$
I found this example:
$X∼U[−1,1]$ and $Y=X^2$
How can I prove that $\mathbb E(X∣Y)=0$?
thanks!
0
votes
0 answers
Whats a very simple sequential random number generators that doesn't produce a repeating pattern?
I need a simple as possible deterministic random number generator from 0-N that I can chuck a number from 1-Infinity into and get a random number out of, without it the pattern repeating over and over again.
Is this even possible?
If so what would…
user2741831
- 225
0
votes
1 answer
How can this be calculated? (Shuffled deck)
In one of Professor Layton's games there is a puzzle that has picked my interest. I mean, I know the answer using logic, but I am not able to produce an equation, so I hope someone could help me.
"There are 52 cards in the deck below -26 black and…
0
votes
0 answers
Can a random number be created from competing non random numbers
Think about the following situation:
Elections are held by dropping notes with the symbol of the political party to a ballot box. In order to save on time, a new automatic counting machine is proposed to count the votes at each ballot box. But,…
SIMEL
- 680
0
votes
0 answers
From a sequence of sets that transitions from all same value to completely random, how to know when it's made the switch?
Say I have a sequence that starts with:
H, H, H, H, H, H, H, H
Now each time I get another element one of two things can happen:
it exhibits the same amount of randomness as the previous element
T, T, T, T, T, T, T, T
it exhibits more randomness…
Aaron Anodide
- 623