HP Forums
Statistic: class interval? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Statistic: class interval? (/thread-3289.html)



Statistic: class interval? - salvomic - 03-06-2015 11:11 PM

hi,
I need help (or a tutorial, if there is one) to represent a table divided into "class intervals" and frequencies (or class intervals for a var and another variable, if it possible, in Statistics 1var or statistic 2var...
Or hints to "disaggregate" data to analyze with Prime apps...

i.e. w have
x_i 0-10, 11-20, 21-30, 31-40 (intervals)
n_i 1, 3, 2, 1 (frequencies)

or
x_1 0-10, 11-20, 21-30, 31-40 (class intervals)
y_1 30, 24, 60, 22 (data)

thanks

Salvo


RE: Statistic: class interval? - Helge Gabert - 03-07-2015 12:56 AM

The built in Histogram in Stats 1Var doesn't do it? Look at H1-H5 (there is a provision for a frequency column as well).


RE: Statistic: class interval? - salvomic - 03-07-2015 06:10 AM

(03-07-2015 12:56 AM)Helge Gabert Wrote:  The built in Histogram in Stats 1Var doesn't do it? Look at H1-H5 (there is a provision for a frequency column as well).

histograms are ok and handle frequencies, but I mean: I have data in which X is expressed as class interval (ex. classes of age), I need a method to input data to calculate statistics...
0-12 3
13-24 4
25-30 6
31-40 4
...
then make statistics on X and frequencies (or, in 2var stat, also on Y)...

thanks
Salvo


RE: Statistic: class interval? - Tim Wessman - 03-07-2015 06:27 AM

Change the bin width on the plot setup screen for your histogram.

Histograms are nearly always uniformly spaced and there are actually very few software packages that allow non-uniform bin widths.


RE: Statistic: class interval? - parisse - 03-07-2015 07:43 AM

histogram should do it (inside Geo app), an example from Xcas online help:
histogram([[1.5..1.65,50],[1.65..1.7,20],[1.7..1.8,30]])


RE: Statistic: class interval? - salvomic - 03-07-2015 09:00 AM

(03-07-2015 06:27 AM)Tim Wessman Wrote:  Change the bin width on the plot setup screen for your histogram.

Histograms are nearly always uniformly spaced and there are actually very few software packages that allow non-uniform bin widths.

(03-07-2015 07:43 AM)parisse Wrote:  histogram should do it (inside Geo app), an example from Xcas online help:
histogram([[1.5..1.65,50],[1.65..1.7,20],[1.7..1.8,30]])

thank you both, I'll make some tries...
I understand that it's not easy to handle this kind of problem.
I thought there was a way to input something like 0..10 or 0::10. This was the sense of my question...
I'll try as you suggest with some examples.
However, for now, I don't find histogram in Geo; I'm searching better...

Salvo