Simplyfy Job

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

Simplyfy Job

Eugenio Grant
Hi I have a problem that I would like to simplify. I have file “data1” and
file “data2”. What I would like to do is check if both files are identical,
by that I mean:

 

1. same structure

2. same number of variables

3. same format on each variable, by that I mean same format, being numeric
or sting

 

I´ll be happy just solving 1 and 2, 3 would be just perfect!!!

 

 

 

====================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: Simplyfy Job

Peck, Jon
If you have SPSS 16.0.1, you can use COMPDS, which is an extension command available for download from SPSS Developer Central (www.spss.com/devcentral).  It requires the Python plugin (also downloadable) and the Python language.

This command, which does not require you to know anything about Python, allows you to compare either or both of selected metadata and case values.

For your example below, you would write
COMPDS DS1=data1 DS2=data2
/DICTIONARY TYPE.

The new extension mechanism allows Python or R code to be wrapped in user-defined syntax.

HTH,
Jon Peck

p.s. I posted another extension command named TEXT to Developer Central yesterday.  It lets you write blocks of comment text to text blocks in the Viewer using syntax rather than having to rely on log entries.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Eugenio Grant
Sent: Friday, January 18, 2008 1:44 PM
To: [hidden email]
Subject: [SPSSX-L] Simplyfy Job

Hi I have a problem that I would like to simplify. I have file “data1” and
file “data2”. What I would like to do is check if both files are identical,
by that I mean:



1. same structure

2. same number of variables

3. same format on each variable, by that I mean same format, being numeric
or sting



I´ll be happy just solving 1 and 2, 3 would be just perfect!!!







=======
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: Simplyfy Job

Eugenio Grant
Thanks John, but I forgot to mention I have SPSS V 13.0...


-----Mensaje original-----
De: Peck, Jon [mailto:[hidden email]]
Enviado el: Viernes, 18 de Enero de 2008 02:55 p.m.
Para: Eugenio Grant; [hidden email]
Asunto: RE: [SPSSX-L] Simplyfy Job

If you have SPSS 16.0.1, you can use COMPDS, which is an extension command
available for download from SPSS Developer Central
(www.spss.com/devcentral).  It requires the Python plugin (also
downloadable) and the Python language.

This command, which does not require you to know anything about Python,
allows you to compare either or both of selected metadata and case values.

For your example below, you would write
COMPDS DS1=data1 DS2=data2
/DICTIONARY TYPE.

The new extension mechanism allows Python or R code to be wrapped in
user-defined syntax.

HTH,
Jon Peck

p.s. I posted another extension command named TEXT to Developer Central
yesterday.  It lets you write blocks of comment text to text blocks in the
Viewer using syntax rather than having to rely on log entries.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Eugenio Grant
Sent: Friday, January 18, 2008 1:44 PM
To: [hidden email]
Subject: [SPSSX-L] Simplyfy Job

Hi I have a problem that I would like to simplify. I have file “data1” and
file “data2”. What I would like to do is check if both files are identical,
by that I mean:



1. same structure

2. same number of variables

3. same format on each variable, by that I mean same format, being numeric
or sting



I´ll be happy just solving 1 and 2, 3 would be just perfect!!!







=======
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: Simplyfy Job

Marks, Jim
Not sure what structure would mean?

Use display dictionary for each file and compare the output results (I'd use excel fo this task-- not sure if v13 supports OMS?

Here is a non-programmatic way to find something out:

ADD FILES
  /FILE = file1  /IN=from1
  /FILE = file2 /IN=from2
.

will generate errors if the variable types mismatch.
variables with system missing values will occur in only one file-- cross by from1 or from2 to determine which file has missing values.

The add files and manual investigation is likey to be fussy work-- I bet you have more than one file (or more than a few variables to work with...

--jim



-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Eugenio Grant
Sent: Friday, January 18, 2008 3:41 PM
To: [hidden email]
Subject: Re: Simplyfy Job

Thanks John, but I forgot to mention I have SPSS V 13.0...


-----Mensaje original-----
De: Peck, Jon [mailto:[hidden email]]
Enviado el: Viernes, 18 de Enero de 2008 02:55 p.m.
Para: Eugenio Grant; [hidden email]
Asunto: RE: [SPSSX-L] Simplyfy Job

If you have SPSS 16.0.1, you can use COMPDS, which is an extension command available for download from SPSS Developer Central (www.spss.com/devcentral).  It requires the Python plugin (also
downloadable) and the Python language.

This command, which does not require you to know anything about Python, allows you to compare either or both of selected metadata and case values.

For your example below, you would write
COMPDS DS1=data1 DS2=data2
/DICTIONARY TYPE.

The new extension mechanism allows Python or R code to be wrapped in user-defined syntax.

HTH,
Jon Peck

p.s. I posted another extension command named TEXT to Developer Central yesterday.  It lets you write blocks of comment text to text blocks in the Viewer using syntax rather than having to rely on log entries.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Eugenio Grant
Sent: Friday, January 18, 2008 1:44 PM
To: [hidden email]
Subject: [SPSSX-L] Simplyfy Job

Hi I have a problem that I would like to simplify. I have file "data1" and file "data2". What I would like to do is check if both files are identical, by that I mean:



1. same structure

2. same number of variables

3. same format on each variable, by that I mean same format, being numeric or sting



I´ll be happy just solving 1 and 2, 3 would be just perfect!!!







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

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

Simple Contrasts on Manova

KATHY GREEN
I need to get simple contrasts following a significant
interaction in an analysis of variance. Must the
contrasts on the manova syntax be orthogonal when using

contrast(treatment) = special(.....)?

Thanks for any help.

Kathy

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