I’m trying to do something simple, but only seem to be able to do more complex things with spss… …just trying to run the equivalent of frequencies, but want the values of two different variables to be outputted side-by-side so that I can simply visually look for a few patterns. I could get this equivalent thing by simply deleting all of the variables in the dateset other than the two I’m interested in and then just looking at the data editor window, but I’m hoping to output this to the output window instead. Crosstabs won’t do. Best, Jeff E.g., X Y 5 6 4 7 5 7 |
Regarding the Data Editor, you can split the window vertically by dragging the mullion or using the Window menu to position the two variables side by side. But to get this in the output window, use CTABLES (Analyze > Tables > Custom Tables) like this. CTABLES /TABLE BY (x+y)[C][COUNT] /CLABELS COLLABELS=OPPOSITE. There are lots of options for the statistics to show, missing value treatment, etc. On Fri, Sep 21, 2018 at 9:49 AM Jeff <[hidden email]> wrote:
|
In reply to this post by Jeff6610
Have a look at CTABLES. A bit complex to learn or use. You could always also try two separate frequency counts, then copy the columns you want into Word, email or excel. Sounds clumsy but it might be quicker.
Redistrb BigBusnn
John F Hall MA (Cantab) Dip Ed (Dunelm) [Retired academic survey researcher] Email: [hidden email] Website: Journeys in Survey Research Course: Survey Analysis Workshop (SPSS) From: SPSSX(r) Discussion <[hidden email]> On Behalf Of Jeff I’m trying to do something simple, but only seem to be able to do more complex things with spss… …just trying to run the equivalent of frequencies, but want the values of two different variables to be outputted side-by-side so that I can simply visually look for a few patterns. I could get this equivalent thing by simply deleting all of the variables in the dateset other than the two I’m interested in and then just looking at the data editor window, but I’m hoping to output this to the output window instead. Crosstabs won’t do. Best, Jeff E.g., X Y 5 6 4 7 5 7 ===================== 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 |
In reply to this post by Jeff6610
How about LIST x y. Thanks! (W) 416-947-7807 (H) 905-987-3250 ********************************* Notice: This e-mail and
any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, do not use the information, delete this e-mail and destroy any copies. Any dissemination or
use of this information by a person other than the intended recipient is unauthorized and may be illegal. Email transmissions cannot be guaranteed to be secure or error free. The sender therefore does not accept any liability for errors or omissions in the
contents of this message that arise as a result of email transmissions. From: SPSSX(r) Discussion <[hidden email]>
On Behalf Of Jeff I’m trying to do something simple, but only seem to be able to do more complex things with spss… …just trying to run the equivalent of frequencies, but want the values of two different variables to be outputted side-by-side so that I can simply visually look for a few patterns.
I could get this equivalent thing by simply deleting all of the variables in the dateset other than the two I’m interested in and then just looking at the data editor window, but I’m hoping to output this to the output
window instead. Crosstabs won’t do. Best, Jeff E.g., X Y 5 6 4 7 5 7 ===================== 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 |
In reply to this post by Jeff6610
*Untested. LIST VARIABLES = V1 V2 /CASES = FROM 1. *Second option: PRINT / VAR1 VAR2. EXECUTE. Jim Marks Sr. Market Research Manager National Market Research Kaiser Foundation Health Plan of the Mid-Atlantic States, Inc. <a href="https://wiki.kp.org/wiki/display/nmr/Mid-Atlantic+States+Market+Research">MAS NMR Wiki From: SPSSX(r) Discussion <[hidden email]>
On Behalf Of Jeff Caution:
This email came from outside Kaiser Permanente. Do not open attachments or click on links if you do not recognize the sender. I’m trying to do something simple, but only seem to be able to do more complex things with spss… …just trying to run the equivalent of frequencies, but want the values of two different variables to be outputted side-by-side so that I can simply visually look for a few patterns.
I could get this equivalent thing by simply deleting all of the variables in the dateset other than the two I’m interested in and then just looking at the data editor window, but I’m hoping to output this to the output
window instead. Crosstabs won’t do. Best, Jeff E.g., X Y 5 6 4 7 5 7 ===================== 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
NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. 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 |
In reply to this post by Timothy Hennigar-2
LIST is going to show the individual cases. CTABLES gives the aggregate similar to FREQUENCIES. On Fri, Sep 21, 2018 at 11:08 AM Timothy Hennigar <[hidden email]> wrote:
|
True – but I thought the post sufficiently unclear – looks like what he was providing as example was the actual values. Thanks! ********************************* Notice: This e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the sender immediately by return e-mail, do not use the information, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended
recipient is unauthorized and may be illegal. Email transmissions cannot be guaranteed to be secure or error free. The sender therefore does not accept any liability for errors or omissions in the contents of this message that arise as a result of email transmissions. From: Jon Peck <[hidden email]>
LIST is going to show the individual cases. CTABLES gives the aggregate similar to FREQUENCIES. On Fri, Sep 21, 2018 at 11:08 AM Timothy Hennigar <[hidden email]> wrote:
-- Jon K Peck |
/* Escalas data list list /p29 p30. begin data. 1 1 1 3 1 3 5 1 4 6 2 5 7 3 3 8 4 2 5 5 3 6 3 4 7 2 5 8 0 8 9 3 5 10 2 2 end data. execute. variable labels p29 'Calificación señalización'. variable labels p30 'Calificación precios de ingreso'. value labels p29 p30 1 '(1) Muy insatisfecho' 2 '(2)' 3 '(3)' 4 '(4)' 5 '(5) Muy satisfecho' 0 '(0) NS/NR'. * Tablas personalizadas. CTABLES /VLABELS VARIABLES=p29 p30 DISPLAY=DEFAULT /TABLE BY p29 [C][COUNT F40.0] + p30 [C][COUNT F40.0] /CLABELS COLLABELS=OPPOSITE /CATEGORIES VARIABLES=p29 p30 ORDER=A KEY=VALUE EMPTY=INCLUDE MISSING=EXCLUDE. El vie., 21 sept. 2018 a las 12:17, Timothy Hennigar (<[hidden email]>) escribió:
Javier Figueroa Procesamiento y Análisis de bases de datos Cel: 5927-4748 / 4970-1940 Casa: 2289-0184 |
In reply to this post by Timothy Hennigar-2
Here's a CTABLES example: data list list /x y. begin data 1 1 2 1 3 1 2 3 2 3 end data. value labels x y 1 'Low' 2 'Medium' 3 'High'. CTABLES /VLABELS VARIABLES=x y DISPLAY=LABEL /TABLE BY x [COUNT F40.0] + y [COUNT F40.0] /CLABELS COLLABELS=OPPOSITE /CATEGORIES VARIABLES=x y ORDER=A KEY=VALUE EMPTY=INCLUDE. On Fri, Sep 21, 2018 at 1:17 PM Timothy Hennigar <[hidden email]> wrote:
|
In reply to this post by Timothy Hennigar-2
That’s what I wanted. I had a feeling that it was going to be so simple that I was going to be misunderstood as wanting something more complex. I’ll make note of the C Tables thing for the future, but in this case the list command does exactly what I want to simply allow me to visualize the pattern between two variables as an exploratory step. Thank Tim Jeff From: Timothy Hennigar <[hidden email]> How about LIST x y. Thanks! (W) 416-947-7807 (H) 905-987-3250 ********************************* Notice: This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, do not use the information, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. Email transmissions cannot be guaranteed to be secure or error free. The sender therefore does not accept any liability for errors or omissions in the contents of this message that arise as a result of email transmissions. From: SPSSX(r) Discussion <[hidden email]> On Behalf Of Jeff I’m trying to do something simple, but only seem to be able to do more complex things with spss… …just trying to run the equivalent of frequencies, but want the values of two different variables to be outputted side-by-side so that I can simply visually look for a few patterns. I could get this equivalent thing by simply deleting all of the variables in the dateset other than the two I’m interested in and then just looking at the data editor window, but I’m hoping to output this to the output window instead. Crosstabs won’t do. Best, Jeff E.g., X Y 5 6 4 7 5 7 ===================== 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 |
In reply to this post by Javier Figueroa
Two variables; three data values? /p29 p30. begin data. 1 1 1 Should that be . .? /id p29 p30. begin data. 1 1 1 John F Hall MA (Cantab) Dip Ed (Dunelm) [Retired academic survey researcher] Email: [hidden email] Website: Journeys in Survey Research Course: Survey Analysis Workshop (SPSS) Research: Subjective Social Indicators (Quality of Life) From: SPSSX(r) Discussion <[hidden email]> On Behalf Of Javier Figueroa /* Escalas data list list /p29 p30. begin data. 1 1 1 3 1 3 5 1 4 6 2 5 7 3 3 8 4 2 5 5 3 6 3 4 7 2 5 8 0 8 9 3 5 10 2 2 end data. execute. variable labels p29 'Calificación señalización'. variable labels p30 'Calificación precios de ingreso'. value labels p29 p30 1 '(1) Muy insatisfecho' 2 '(2)' 3 '(3)' 4 '(4)' 5 '(5) Muy satisfecho' 0 '(0) NS/NR'. * Tablas personalizadas. CTABLES /VLABELS VARIABLES=p29 p30 DISPLAY=DEFAULT /TABLE BY p29 [C][COUNT F40.0] + p30 [C][COUNT F40.0] /CLABELS COLLABELS=OPPOSITE /CATEGORIES VARIABLES=p29 p30 ORDER=A KEY=VALUE EMPTY=INCLUDE MISSING=EXCLUDE. El vie., 21 sept. 2018 a las 12:17, Timothy Hennigar (<[hidden email]>) escribió:
-- Javier Figueroa Cel: 5927-4748 / 4970-1940 Casa: 2289-0184 ===================== 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 |
Free forum by Nabble | Edit this page |