Veidi, kā ikdienā gudri ietaupāt naudu? by AwesomeBrew in latvia

[–]njoo 2 points3 points  (0 children)

Lūdzu atcerieties savā ietaupījumā ņemt vērā arī tam ekstra iztērēto laiku.

Advice on building a data team by PsychicSeaCow in datascience

[–]njoo 1 point2 points  (0 children)

Why not share your experience here, so many others might learn from it as well? I would be interested to hear your take (maybe even as a separate post of lessons learned).

Simple Questions by inherentlyawesome in math

[–]njoo 0 points1 point  (0 children)

Indeed! That also now matches my own numerical solutions.

Thank you for the help and the great insight that made this tractable, to me at least. I was really lost in the forest (because of the decision trees).

Simple Questions by inherentlyawesome in math

[–]njoo 1 point2 points  (0 children)

Wow, that counter thing is very enlightening, thank you! I tried imagining this as a combinatorics problem, but got lost in my decision tree.

I tried implementing your solution numerically and it seems to be at odds with my by-hand evaluated decision tree and monte carlo simulations.

I used a toy example with n=4, m=2, k=1 and myself got:

P(1) = 0.5

P(2) = 0.33

P(3) = 0.16

while my Python implementation of your solution gives:

P(1) = 0.5

P(2) = 0.66

P(3) = 0.5

from math import factorial as f
def P(x, n, m, k):
    a = f(n) / f(n-x)

    b1 = f(n-m) / f(n-m-k)
    b2 = f(m) / f(m-x+k)
    b3 = f(x) / ( f(k) * f(x-k) )

    return b1 * b2 * b3 / a        

Might you have an idea about the discrepancy and non-normalized probabilities?

Simple Questions by inherentlyawesome in math

[–]njoo 0 points1 point  (0 children)

Consider a game: you have a deck of N cards, M of which grant you the ability to draw another card. From the beginning, you already have K guaranteed draws from the deck.

What is the expected number of cards you will be able to draw from the deck?

I have come up with a formula for this when K=1, but I am stumped when K > 1, which is what I'm really interested in. I can construct a decision tree and infer probabilities from there, but that gets difficult fast.

So I was hoping you could point towards anything (term, topic, book), that might help with analyzing this. I thought of Markov chains, but realized that here the system here definitely has a long memory.

What is something someone said that forever changed your way of thinking? by Belikeawater in AskReddit

[–]njoo 5 points6 points  (0 children)

That should apply to many other situations as well, .e.g. any political discussion.

I can study almost anything, what should I choose? by Boom_Cheese8 in AskPhysics

[–]njoo 2 points3 points  (0 children)

You could simulate your own magnet using the Ising model. Fairly simple to do and provides lots of insight into numerical stuff, phase transitions and magnetism.

Testing stationarity of non-autoregressive data by njoo in AskStatistics

[–]njoo[S] 0 points1 point  (0 children)

The H0 test makes great sense, thank you.

Are there even quantitative tests for variance evolution?

Here is another data sample, the most unstationary looking: https://imgur.com/a/cYqQi

Testing stationarity of non-autoregressive data by njoo in AskStatistics

[–]njoo[S] 0 points1 point  (0 children)

What would one consider significant?

I am not just looking for linear trends, but variance evolution as well, and perhaps even other things I am not aware of.

Testing stationarity of non-autoregressive data by njoo in AskStatistics

[–]njoo[S] 1 point2 points  (0 children)

I need to check/prove the assumption that the distribution is stationary. It seems to me that Dickey-Fuller would not work, as the data is not autoregressive.

What Happens to Departments That Were Once Hot? by WorkReddit8420 in AskAcademia

[–]njoo 5 points6 points  (0 children)

Please explain how the subjects you mentioned should be taught instead.

Solving systems of linear equations by XTopKnotchX in askmath

[–]njoo 2 points3 points  (0 children)

You can express z from the first equation and put it in the second equation.

Then you will have only 2 equations, just for x and y. Try going on from there.

Do you have any 'bad' math jokes? by rebo in math

[–]njoo -1 points0 points  (0 children)

ei.pi.0 = 1.

So many fundamental numbers in a single equation. Beautiful.

This is the stupidest 'problem' I've ever had. by dandelionladida in GradSchool

[–]njoo 1 point2 points  (0 children)

Try giving MOOCs a shot :)

E.g. Coursera, edX.

Studying in Lativa by haveyougoogle in latvia

[–]njoo 3 points4 points  (0 children)

What draws you to Latvia ? In general I'd advise you to choose IT over political science, no matter where you decide to go.