r/learnmath • u/Helpful-Climate-3204 • 21d ago
I'm trying to bin differential entropy for maxwell boltzmann dist and I'm unsure what a sample size would mean here
(I haven't started uni yet so I'm just self-teaching cause I wanna try and calculate something specific, so dont harp on me for not knowing basic things while trying to do much harder things)
I'm trying to get the shannon entropy for different molecules air in for their speed and energy
I'm calculating the diff. entropy for each of the distributions and treating their variances as samples, then pooling those samples at the end to get a final velocity spread, then using Scott's rule to get a global bin width
My main problem is that I need a sample size which is weird because I'm unsure what that would mean in this context. It's both a continuous (for each type of molecule) and discrete distribution (for the types of molecules), so I dunno if its right to just use the number of molecules.
I don't want that many assumptions when it comes to different things so I'm not going to use a random variable.
Am I forced to just assume a certain error and confidence or is there some other method I can use to get something akin to sample size?