|
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 |
|
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 |
Connect instantly with more friends on your blog and personal website? Create your latest Pingbox today! |
|
In reply to this post by E. Bernardo
Design your own exclusive Pingbox today! It's easy to create your personal chat space on your blogs |
|
Administrator
|
In reply to this post by E. Bernardo
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/). |
|
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]]
Design your own exclusive Pingbox today! |
| Free forum by Nabble | Edit this page |
