HP Forums

Full Version: Statistic: class interval?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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).
(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
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.
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]])
(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
Reference URL's