Antal stikprøver (m):

Stikprøvestørrelse (n):

Procent i population (pp):

Udfør måling

show absolute values in histogram

adjust view automatically

m = 1 (slider from -20 to 20000000, step 1)
n = 500 (slider from -20 to 20000, step 100)
pp = 40 (slider from -2 to 500, step 0.01)
InputBox1 = Textfield(m)
InputBox2 = Textfield(n)
InputBox3 = Textfield(pp)
histClassbounds = Sequence(k - 0.5, k, 0, 101)
histHeightsAbs: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
histCount = Sum(histHeightsAbs)
histHeightsRel: histHeightsAbs / histCount
temp = 49
showHistAbs = false
autoAdjustView = true
hist = Histogram(histClassbounds, If[showHistAbs, histHeightsAbs, histHeightsRel])
maxHeight = 1