Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Relative frequency histogram

744 views
Skip to first unread message

Stanley

unread,
Jun 25, 2007, 11:06:19 PM6/25/07
to
Hi,

This should be simple.

I would like to know how to create a relative frequency histogram in SPSS.

Using syntax, the command to create a frequency histogram is /HISTOGRAM
NORMAL.

Using syntax, what is the command for a relative frequency histogram,
please?

Similarly, using menus, you create a frequency histogram by clicking on
"graphs," "legacy dialogs," and "histogram."

So using menus, how do you create a relative frequency histogram?

Thank you for help.

Stanley

Bruce Weaver

unread,
Jun 26, 2007, 7:15:39 AM6/26/07
to


Graphs --> Interactive --> Histogram. Move $pct to the Y-axis.

--
Bruce Weaver
bwe...@lakeheadu.ca
www.angelfire.com/wv/bwhomedir
"When all else fails, RTFM."

Stanley

unread,
Jun 26, 2007, 9:58:27 AM6/26/07
to
Hi Bruce,

Thank you for your reply.

That worked with menus just fine.

Now, if I wanted to use the syntax editor, would I have to enter all of
the following information (which I have copied from the output log):

IGRAPH /VIEWNAME='Histogram' /X1 = VAR(salary) TYPE = SCALE /Y = $pct
/COORDINATE = VERTICAL /X1LENGTH=3.0 /YLENGTH=3.0 /X2LENGTH=3.0
/CHARTLOOK='NONE' /Histogram SHAPE = HISTOGRAM CURVE = OFF X1INTERVAL NUM
= 11 X1START = 0.

Thanks again.

Stanley

Bruce Weaver

unread,
Jun 26, 2007, 10:09:59 AM6/26/07
to


The other way to obtain syntax is by clicking on PASTE (rather than
OKAY) to exit the dialog.

Stanley

unread,
Jun 26, 2007, 10:20:47 AM6/26/07
to
Hi Bruce,

Thank you. That was instructive.

Stanley

0 new messages