Line Graph

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Line Graph

E. Bernardo
Dear all,

I have n=1000 and 14 columns in my data set: X1_a, X1_b, X2_a,
X2_b,...,X7_a,X7_b.  Each Xj (j=1,2,...7) was measured twice (which values
are within the 0-10 range), thus, there are subcripts 'a' and 'b' to
represnt before and after measures of Xj.

I want to create a line graph such that the seven variables (X1,
X2, ...X7) are placed in the horizontal line while the vertical line is
the 0-10 range. Thus, the graph has two lines representing the before and
after measures.

Your help is highly appreciated.  Thank you.

=====================
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
Reply | Threaded
Open this post in threaded view
|

Re: Line Graph

ViAnn Beadle
What does the Y axis measure?

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of EB
Sent: Tuesday, March 09, 2010 8:03 PM
To: [hidden email]
Subject: Line Graph

Dear all,

I have n=1000 and 14 columns in my data set: X1_a, X1_b, X2_a,
X2_b,...,X7_a,X7_b.  Each Xj (j=1,2,...7) was measured twice (which values
are within the 0-10 range), thus, there are subcripts 'a' and 'b' to
represnt before and after measures of Xj.

I want to create a line graph such that the seven variables (X1, X2, ...X7)
are placed in the horizontal line while the vertical line is the 0-10 range.
Thus, the graph has two lines representing the before and after measures.

Your help is highly appreciated.  Thank you.

=====================
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
Reply | Threaded
Open this post in threaded view
|

Re: Line Graph

E. Bernardo
It measures satisfaction with values range from 0 to 10.

--- On Wed, 3/10/10, ViAnn Beadle <[hidden email]> wrote:

From: ViAnn Beadle <[hidden email]>
Subject: Re: Line Graph
To: [hidden email]
Date: Wednesday, 10 March, 2010, 3:30 AM

What does the Y axis measure?

-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of EB
Sent: Tuesday, March 09, 2010 8:03 PM
To: SPSSX-L@...
Subject: Line Graph

Dear all,

I have n=1000 and 14 columns in my data set: X1_a, X1_b, X2_a,
X2_b,...,X7_a,X7_b.  Each Xj (j=1,2,...7) was measured twice (which values
are within the 0-10 range), thus, there are subcripts 'a' and 'b' to
represnt before and after measures of Xj.

I want to create a line graph such that the seven variables (X1, X2, ...X7)
are placed in the horizontal line while the vertical line is the 0-10 range.
Thus, the graph has two lines representing the before and after measures.

Your help is highly appreciated.  Thank you.

=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@... (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
LISTSERV@... (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


Connect instantly with more friends on your blog and personal website?
Create your latest Pingbox today!
Reply | Threaded
Open this post in threaded view
|

Re: Line Graph

E. Bernardo
In reply to this post by E. Bernardo
Im sorry for the incomplete information.  It's a mean.


--- On Wed, 3/10/10, ViAnn Beadle <[hidden email]> wrote:

From: ViAnn Beadle <[hidden email]>
Subject: RE: Line Graph
To: "'Eins Bernardo'" <[hidden email]>, [hidden email]
Date: Wednesday, 10 March, 2010, 4:44 AM

But what does it measure in the chart? A mean, a median, something else?

 

From: Eins Bernardo [mailto:[hidden email]]
Sent: Tuesday, March 09, 2010 8:45 PM
To: [hidden email]; ViAnn Beadle
Subject: Re: Line Graph

 

It measures satisfaction with values range from 0 to 10.

--- On Wed, 3/10/10, ViAnn Beadle <vab88011@...> wrote:


From: ViAnn Beadle <vab88011@...>
Subject: Re: Line Graph
To: SPSSX-L@...
Date: Wednesday, 10 March, 2010, 3:30 AM

What does the Y axis measure?

-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of EB
Sent: Tuesday, March 09, 2010 8:03 PM
To: SPSSX-L@...
Subject: Line Graph

Dear all,

I have n=1000 and 14 columns in my data set: X1_a, X1_b, X2_a,
X2_b,...,X7_a,X7_b.  Each Xj (j=1,2,...7) was measured twice (which values
are within the 0-10 range), thus, there are subcripts 'a' and 'b' to
represnt before and after measures of Xj.

I want to create a line graph such that the seven variables (X1, X2, ...X7)
are placed in the horizontal line while the vertical line is the 0-10 range.
Thus, the graph has two lines representing the before and after measures.

Your help is highly appreciated.  Thank you.

=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@... (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
LISTSERV@... (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

 


Connect instantly with more friends on your blog and personal website?
Create your latest Pingbox today!



Design your own exclusive Pingbox today!
It's easy to create your personal chat space on your blogs
Reply | Threaded
Open this post in threaded view
|

Re: Line Graph

Bruce Weaver
Administrator
In reply to this post by E. Bernardo
eins wrote
Dear all,

I have n=1000 and 14 columns in my data set: X1_a, X1_b, X2_a,
X2_b,...,X7_a,X7_b.  Each Xj (j=1,2,...7) was measured twice (which values
are within the 0-10 range), thus, there are subcripts 'a' and 'b' to
represnt before and after measures of Xj.

I want to create a line graph such that the seven variables (X1,
X2, ...X7) are placed in the horizontal line while the vertical line is
the 0-10 range. Thus, the graph has two lines representing the before and
after measures.

Your help is highly appreciated.  Thank you.

You could restructure the data (with VARSTOCASES) to get all of the Y-axis values into a single column, with index variables for X (1-7) and pre-post (1-2).  After doing that, making the graph you desire should be fairly straightforward.  I think Marta posted an example of this not too long ago.

--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: Line Graph

ViAnn Beadle
In reply to this post by E. Bernardo

Use VARSTOCASES to create a file where each record contains a single value (let’s call it Y)) corresponding to a satisfaction score and two index variables corresponding to the 7 X variables (let’s call it test) and the 2 times (let’s call it time).  Then pick your favorite graphics menu choice: legacy dialogs, chart builder, … and assign Y to Y, test to X, and time to the grouping variable or legend variable. Specify Mean as the summary measure for Y.

 

The biggest issue is to get the data into the shape that the graphics command expects and that is what VARSTOCASES will do for you.

 

From: Eins Bernardo [mailto:[hidden email]]
Sent: Tuesday, March 09, 2010 9:49 PM
To: [hidden email]; ViAnn Beadle
Subject: RE: Line Graph

 

Im sorry for the incomplete information.  It's a mean.



--- On Wed, 3/10/10, ViAnn Beadle <[hidden email]> wrote:


From: ViAnn Beadle <[hidden email]>
Subject: RE: Line Graph
To: "'Eins Bernardo'" <[hidden email]>, [hidden email]
Date: Wednesday, 10 March, 2010, 4:44 AM

But what does it measure in the chart? A mean, a median, something else?

 

From: Eins Bernardo [mailto:[hidden email]]
Sent: Tuesday, March 09, 2010 8:45 PM
To: [hidden email]; ViAnn Beadle
Subject: Re: Line Graph

 

It measures satisfaction with values range from 0 to 10.

--- On Wed, 3/10/10, ViAnn Beadle <vab88011@...> wrote:


From: ViAnn Beadle <vab88011@...>
Subject: Re: Line Graph
To: SPSSX-L@...
Date: Wednesday, 10 March, 2010, 3:30 AM

What does the Y axis measure?

-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of EB
Sent: Tuesday, March 09, 2010 8:03 PM
To: SPSSX-L@...
Subject: Line Graph

Dear all,

I have n=1000 and 14 columns in my data set: X1_a, X1_b, X2_a,
X2_b,...,X7_a,X7_b.  Each Xj (j=1,2,...7) was measured twice (which values
are within the 0-10 range), thus, there are subcripts 'a' and 'b' to
represnt before and after measures of Xj.

I want to create a line graph such that the seven variables (X1, X2, ...X7)
are placed in the horizontal line while the vertical line is the 0-10 range.
Thus, the graph has two lines representing the before and after measures.

Your help is highly appreciated.  Thank you.

=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@... (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
LISTSERV@... (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

 


Connect instantly with more friends on your blog and personal website?
Create your latest Pingbox today!

 


Design your own exclusive Pingbox today!
It's easy to create your personal chat space on your blogs