Display/Print two variables side by side.

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

Display/Print two variables side by side.

Jeff6610

 

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

Re: Display/Print two variables side by side.

Jon Peck
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:

 

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


--
Jon K Peck
[hidden email]

===================== 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: Display/Print two variables side by side.

John F Hall
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 Government should redistribute income from the better-off to less well-off

 

Frequency

Valid

1 Agree strongly

287

2 Agree

712

3 Neither agree nor disagree

659

4 Disagree

565

5 Disagree strongly

127

Total

2350

Missing

-1 skip, didn't return SC questionnaire

542

9 Not answered

50

Total

592

Total

2942

 

 

BigBusnn Big business benefits owners at the expense of workers

 

Frequency

Valid

1 Agree strongly

372

2 Agree

955

3 Neither agree nor disagree

701

4 Disagree

271

5 Disagree strongly

37

Total

2336

Missing

-1 skip, didn't return SC questionnaire

542

9 Not answered

64

Total

606

Total

2942

 

Redistrb           BigBusnn

 

 

Frequency

Frequency

Valid

1 Agree strongly

287

372

2 Agree

712

955

3 Neither agree nor disagree

659

701

4 Disagree

565

271

5 Disagree strongly

127

37

Total

2350

2336

Missing

-1 skip, didn't return SC questionnaire

542

542

9 Not answered

50

64

Total

592

606

Total

2942

2942

 

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 Jeff
Sent: 21 September 2018 02:18
To: [hidden email]
Subject: Display/Print two variables side by side.

 

 

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

===================== 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: Display/Print two variables side by side.

Timothy Hennigar-2
In reply to this post by Jeff6610

How about

 

LIST x y.

 

 

 

 

 

 

Thanks!

 

[hidden email]

(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
Sent: Thursday, September 20, 2018 8:18 PM
To: [hidden email]
Subject: Display/Print two variables side by side.

 

 

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

===================== 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: Display/Print two variables side by side.

Jim Marks
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&#43;States&#43;Market&#43;Research">MAS NMR Wiki

 

From: SPSSX(r) Discussion <[hidden email]> On Behalf Of Jeff
Sent: Thursday, September 20, 2018 8:18 PM
To: [hidden email]
Subject: Display/Print two variables side by side.

 

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

Re: Display/Print two variables side by side.

Jon Peck
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:

How about

 

LIST x y.

 

 

 

 

 

 

Thanks!

 

[hidden email]

(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
Sent: Thursday, September 20, 2018 8:18 PM
To: [hidden email]
Subject: Display/Print two variables side by side.

 

 

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

===================== 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


--
Jon K Peck
[hidden email]

===================== 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: Display/Print two variables side by side.

Timothy Hennigar-2

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]>
Sent: Friday, September 21, 2018 2:08 PM
To: Timothy Hennigar <[hidden email]>
Cc: SPSS List <[hidden email]>
Subject: Re: [SPSSX-L] Display/Print two variables side by side.

 

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:

How about

 

LIST x y.

 

 

 

 

 

 

*********************************

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
Sent: Thursday, September 20, 2018 8:18 PM
To: [hidden email]
Subject: Display/Print two variables side by side.

 

 

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

===================== 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


 

--

Jon K Peck
[hidden email]

===================== 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: Display/Print two variables side by side.

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ó:

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]>
Sent: Friday, September 21, 2018 2:08 PM
To: Timothy Hennigar <[hidden email]>
Cc: SPSS List <[hidden email]>
Subject: Re: [SPSSX-L] Display/Print two variables side by side.

 

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:

How about

 

LIST x y.

 

 

 

 

 

 

*********************************

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
Sent: Thursday, September 20, 2018 8:18 PM
To: [hidden email]
Subject: Display/Print two variables side by side.

 

 

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

===================== 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


 

--

Jon K Peck
[hidden email]

===================== 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


--
Javier Figueroa
Procesamiento y Análisis de bases de datos
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
Reply | Threaded
Open this post in threaded view
|

Re: Display/Print two variables side by side.

Rick Oliver
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:

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]>
Sent: Friday, September 21, 2018 2:08 PM
To: Timothy Hennigar <[hidden email]>
Cc: SPSS List <[hidden email]>
Subject: Re: [SPSSX-L] Display/Print two variables side by side.

 

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:

How about

 

LIST x y.

 

 

 

 

 

 

*********************************

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
Sent: Thursday, September 20, 2018 8:18 PM
To: [hidden email]
Subject: Display/Print two variables side by side.

 

 

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

===================== 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


 

--

Jon K Peck
[hidden email]

===================== 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: Display/Print two variables side by side.

Jeff6610
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]>
Sent: Saturday, 22 September 2018 3:08 AM
To: Jeff <[hidden email]>; [hidden email]
Subject: RE: Display/Print two variables side by side.

 

How about

 

LIST x y.

 

 

 

 

 

 

Thanks!

 

[hidden email]

(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
Sent: Thursday, September 20, 2018 8:18 PM
To: [hidden email]
Subject: Display/Print two variables side by side.

 

 

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

===================== 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: Display/Print two variables side by side.

John F Hall
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
Sent: 21 September 2018 21:53
To: [hidden email]
Subject: Re: Display/Print two variables side by side.

 

/* 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ó:

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]>
Sent: Friday, September 21, 2018 2:08 PM
To: Timothy Hennigar <[hidden email]>
Cc: SPSS List <[hidden email]>
Subject: Re: [SPSSX-L] Display/Print two variables side by side.

 

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:

How about

 

LIST x y.

 

 

 

 

 

 

*********************************

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
Sent: Thursday, September 20, 2018 8:18 PM
To: [hidden email]
Subject: Display/Print two variables side by side.

 

 

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

===================== 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


 

--

Jon K Peck
[hidden email]

===================== 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


 

--

Javier Figueroa
Procesamiento y Análisis de bases de datos

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

===================== 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