A=

B=

C=

D=

E=

F=

G=

H=

I=

J=

K=

L=

M=

N=

O=

P=

Q=

R=

S=

T=

U=

V=

W=

Z=

A1=

B1=

C1=

D1=

E1=

F1

Classinterval

$ The \:numbers \:are \:set\:in \: Ascending Order $

$ This \:programme\:sets \:the\:raw\:data\:in\:ascending\:order, \:calculates \:mean\:for \:ungrouped\:dara$
$ finds\:maximum\:and \:minimum\:of \:the\:group,\:Range,\:mean,\:mediaun\:mode,\:and \:standard \:deviation\:$
$ \:The \:program\:then \:arranges\:the\:class\:interval\:when \:the\:value\:of \:m1 \:is \:changed, \:calculates\:mean.$

Author- Tharanath
License- CC BY SA 4.0

$ Please\:change\:the\:values\:of \:30\:data\: from\:A\:to\:F1$

Give raw data and get frequency distribution

a = 25 (slider from -1000 to 1000, step 1)
b = 13 (slider from -1000 to 1000, step 1)
c = 34 (slider from -1000 to 1000, step 1)
d = 6 (slider from -1000 to 1000, step 1)
e = 8 (slider from -1000 to 1000, step 1)
f = 5 (slider from -1000 to 1000, step 1)
g = 28 (slider from -1000 to 1000, step 1)
h = 15 (slider from -1000 to 1000, step 1)
i = 23 (slider from -1000 to 1000, step 1)
j = 21 (slider from -1000 to 1000, step 1)
k = 23 (slider from -1000 to 1000, step 1)
inputBox1 = Textfield(a)
inputBox2 = Textfield(b)
inputBox3 = Textfield(c)
inputBox4 = Textfield(d)
inputBox5 = Textfield(e)
inputBox6 = Textfield(f)
inputBox7 = Textfield(g)
inputBox8 = Textfield(h)
inputBox9 = Textfield(i)
inputBox10 = Textfield(j)
list1 = Sort({a, b, c, d, e, f, g, h, i, j})
l = 25 (slider from -1000 to 1000, step 1)
m = 29 (slider from -1000 to 1000, step 1)
n = 28 (slider from -1000 to 1000, step 1)
o = 16 (slider from -1000 to 1000, step 1)
p = 32 (slider from -1000 to 1000, step 1)
q = 12 (slider from -1000 to 1000, step 1)
r = 38 (slider from -1000 to 1000, step 1)
s = 16 (slider from -1000 to 1000, step 1)
inputBox11 = Textfield(k)
inputBox12 = Textfield(l)
inputBox13 = Textfield(m)
inputBox14 = Textfield(n)
inputBox15 = Textfield(o)
inputBox16 = Textfield(p)
inputBox17 = Textfield(q)
inputBox18 = Textfield(r)
inputBox19 = Textfield(s)
t = 20 (slider from -1000 to 1000, step 1)
u = 15 (slider from -1000 to 1000, step 1)
v = 22 (slider from -1000 to 1000, step 1)
w = 11 (slider from -1000 to 1000, step 1)
z = 16 (slider from -1000 to 1000, step 1)
a_1 = 20 (slider from -1000 to 1000, step 1)
b_1 = 9 (slider from -1000 to 1000, step 1)
c_1 = 25 (slider from -1000 to 1000, step 1)
d_1 = 22 (slider from -1000 to 1000, step 1)
e_1 = 14 (slider from -1000 to 1000, step 1)
inputBox20 = Textfield(t)
inputBox21 = Textfield(u)
inputBox22 = Textfield(v)
inputBox23 = Textfield(w)
inputBox24 = Textfield(z)
inputBox25 = Textfield(a_1)
inputBox26 = Textfield(b_1)
inputBox27 = Textfield(c_1)
inputBox28 = Textfield(d_1)
inputBox29 = Textfield(e_1)
f_1 = 25 (slider from -1000 to 1000, step 1)
inputBox30 = Textfield(f_1)
list2 = Sort({a, b, c, d, e, f, g, h, i, j, j, k, l, m, n, o, p, q, r, s, t, u, v, w, z, a_1, b_1, c_1, d_1, e_1, f_1})
list3 = Sort({a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, z, a_1, b_1, c_1, d_1, e_1, f_1})
text2: "" + list3 + ""
g_1 = Max(list3)
h_1 = Min(list3)
t1: g_1 - h_1
text3: "Maximum:H= " + (LaTeX[g_1]) + "\:\: \:\: \:\:\: Minimum: L =" + (LaTeX[h_1]) + " \:\:\: \:Range=H-L=" + (LaTeX[g_1]) + "-" + (LaTeX[h_1]) + "=" + (LaTeX[t1]) + ""
i_1 = Median(list3)
j_1 = Mean(list3)
list4 = Mode(list3)
k_1 = SD(list3)
text4: "$Mean =" + (LaTeX[j_1]) + "\:  \:\:\:\:\:  Median=" + (LaTeX[i_1]) + " \:\:\: \:\:\:Mode=" + (LaTeX[list4]) + "\:\: Standard Deviation=" + (LaTeX[k_1]) + "$"
l_1 = Variance(list3)
list5 = OrdinalRank(list3)
m_1 = 5 (slider from 0 to 100, step 1)
r1: m_1 - 1 + h_1
r2: r1 + 1
r3: r2 - 1 + h_1
r4: r3 + 1
r5: r4 - 1 + h_1
r6: r5 + 1
r7: r6 - 1 + h_1
r8: r7 + 1
r9: r8 - 1 + h_1
n_1 = CountIf(x ≤ r1, list3)
o_1: CountIf[x ≤ r3, list3] - n_1
p_1: CountIf[x ≤ r5, list3] - (n_1 + o_1)
q_1: CountIf[x ≤ r7, list3] - (n_1 + o_1 + p_1)
r_1: CountIf[x ≤ r9, list3] - (n_1 + o_1 + p_1 + q_1)
r10: r9 + 1
r11: r10 - 1 + h_1
r12: r11 + 1
r13: r12 - 1 + h_1
s_1: CountIf[x ≤ r11, list3] - (n_1 + o_1 + p_1 + q_1 + r_1)
t_1: CountIf[x ≤ r13, list3] - (n_1 + o_1 + p_1 + q_1 + r_1 + s_1)
tt: n_1 + o_1 + p_1 + q_1 + r_1 + s_1 + t_1
m1: (h_1 + r1) / 2
m2: (r2 + r3) / 2
m3: (r4 + r5) / 2
m4: (r6 + r7) / 2
m5: (r8 + r9) / 2
m6: (r10 + r11) / 2
m7: (r12 + r13) / 2
k1: (n_1 * m1)
k2: (o_1 * m2)
k3: (p_1 * m3)
k4: (q_1 * m4)
k5: (r_1 * m5)
k6: (s_1 * m6)
k7: (t_1 * m7)
kk: k1 + k2 + k3 + k4 + k5 + k6 + k7
ss: kk / tt
text6: "$ \:\:\:\:\:\:CI\:\:\:\:\:\:\:\:\:  \:\:\:\:\:\: \: f\:\:\:\:\:\:\:\: \:x\:\:\:\:\:\:\:\:\:\:fx$
$\:\: " + (LaTeX[h_1]) + "\:\:-\:\: " + (LaTeX[r1]) + "\:\:\:\:\:\:\:\:\:\:\:" + (LaTeX[n_1]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[m1]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[k1]) + "$
$ " + (LaTeX[r2]) + "\:\:-\:\:" + (LaTeX[r3]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[o_1]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[m2]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[k2]) + "$
$  " + (LaTeX[r4]) + "\:\:-\: \:" + (LaTeX[r5]) + "\:\:\:\:\:\: \:\:\:" + (LaTeX[p_1]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[m3]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[k3]) + "$
$ " + (LaTeX[r6]) + "\:\:-\:\:" + (LaTeX[r7]) + "\:\:\:  \:\:\:\:\:\:" + (LaTeX[q_1]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[m4]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[k4]) + "$
$ " + (LaTeX[r8]) + "\:\:-\:\:" + (LaTeX[r9]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[r_1]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[m5]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[k5]) + "$
$ " + (LaTeX[r10]) + "\:\:-\:\:" + (LaTeX[r11]) + "\:\:\:\:\:\:\:\:\:\:" + (LaTeX[s_1]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[m6]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[k6]) + "$
$" + (LaTeX[r12]) + "\:\:-\:\:" + (LaTeX[r13]) + "\:\:\:\:\:\:\:\:\:\:" + (LaTeX[t_1]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[m7]) + "\:\:\:\:\:\:\:\:\:" + (LaTeX[k7]) + "$
$\:\:\:\:\:\:\:\:\:\:Total:\:\:\:\:" + (LaTeX[tt]) + "\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:" + (LaTeX[kk]) + "$
$Mean\:\:\bar{x}=\frac{\sum{ fx}}{N}=\frac{" + (LaTeX[kk]) + "}{" + (LaTeX[tt]) + "}=" + (LaTeX[ss]) + "$"