Andy, Thank you.
-----Original Message-----
From: SPSSX(r) Discussion <
[hidden email]> On Behalf Of Andy W
Sent: Thursday, May 13, 2021 12:38 PM
To:
[hidden email]
Subject: Re: graph command help
I just use the GUI till I figure out the syntax. Pretty sure
GRAPH
/BAR(SIMPLE)=MEAN(X) BY Year.
does what you want Gene.
***************************.
DATA LIST FREE / Year X.
BEGIN DATA
2010 0
2010 1
2010 1
2011 0
2011 0
2011 0
2012 1
2012 1
2012 1
2012 0
2013 1
2014 0
2014 1
END DATA.
DATASET NAME Sim.
EXECUTE.
GRAPH
/BAR(SIMPLE)=MEAN(X) BY Year.
***************************.
-----
Andy W
[hidden email]
http://andrewpwheeler.wordpress.com/--
Sent from:
http://spssx-discussion.1045642.n5.nabble.com/=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD