HP Forums
Help histogram and range - 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: Help histogram and range (/thread-3480.html)



Help histogram and range - salvomic - 03-25-2015 02:05 PM

hi, please, can someone help me with this statistic in Statistics 1var?

I've four classes of values:
1000÷1500, 1500 ÷ 2000, 2000 ÷ 2500, 3000 ÷ 3500
with these frequencies:
1, 3, 4, 12
I put the center values:
1250, 1750, 2250, 3250 in D1 and the frequencies in D2
I set Plot setup:
H width 500, H range 0 ÷ 12, X range 1000 ÷ 4000, Y range -10 ÷15, X tick 500, Y tick 5
But I cannot see any histogram...

If I divide values x 1000 (or 100) I see them...

Where I'm wrong?
Thank you

Salvo


RE: Help histogram and range - Tim Wessman - 03-25-2015 02:14 PM

Take a look at the first 3 fields in plot setup. (HMin, HMax, HWidth)


RE: Help histogram and range - salvomic - 03-25-2015 02:56 PM

(03-25-2015 02:14 PM)Tim Wessman Wrote:  Take a look at the first 3 fields in plot setup. (HMin, HMax, HWidth)

I've H Rng min 0, H Rng max 12, HWidth 500...

ok, it works with:
Plot setup:
H width 500, H range 0 ÷ 4000, X range 500 ÷ 4000, Y range -10 ÷15, X tick 500, Y tick 5

The error was H Rng! not 0-12 but 500-4000...
With wrong values I got error also with zoom...
I tried also Zoom autoscale, but it gives error: "Cannot autoscale Only one Y value found"...

Thank you Tim, now it's ok


RE: Help histogram and range - Han - 03-25-2015 03:13 PM

(03-25-2015 02:05 PM)salvomic Wrote:  hi, please, can someone help me with this statistic in Statistics 1var?

I've four classes of values:
1000÷1500, 1500 ÷ 2000, 2000 ÷ 2500, 3000 ÷ 3500
with these frequencies:
1, 3, 4, 12
I put the center values:
1250, 1750, 2250, 3250 in D1 and the frequencies in D2
I set Plot setup:
H width 500, H range 0 ÷ 12, X range 1000 ÷ 4000, Y range -10 ÷15, X tick 500, Y tick 5
But I cannot see any histogram...

If I divide values x 1000 (or 100) I see them...

Where I'm wrong?
Thank you

Salvo

H Width: 500
H Rng: 1000 to 3500 (since your data values are in between 1000 and 3500)
X Rng: 500 to 4000 (viewing window; should generally be slightly bigger than H Rng)
Y Rng: -1 to 40 (-1 to see the horizontal axis, and 40 since 1+3+4+12 < 40)
X Tick: 500
Y Tick: 5


RE: Help histogram and range - salvomic - 03-25-2015 03:16 PM


H Width: 500
H Rng: 1000 to 3500 (since your data values are in between 1000 and 3500)
X Rng: 500 to 4000 (viewing window; should generally be slightly bigger than H Rng)
Y Rng: -1 to 40 (-1 to see the horizontal axis, and 40 since 1+3+4+12 < 40)
X Tick: 500
Y Tick: 5
[/quote]

thank you Han!
my error was to give at H Rng the frequency and not the values...

Also with your settings all goes well.

Salvo