I am using a standard SPSS package. I want all of the tables to be in 12 font and Times New Roman. Is there a simple way to do this? I don't use syntax.
-------------- Original message -------------- From: SPSS Chen <[hidden email]> > *Dear Sir or Madam:* > > * * > > *I have a dataset which contain following columns* > > * * > > *Customer |Sales |Quantity |Sales Price |Type| Finish| Color |Province| > Year| Month| day|* > > *Penner* > > *Distinctive* > > *...* > > *Walters* > > * * > *Could you tell me how to select all the records of customer "Penner" from > the huge data in SPSS(syntax)and then conduct analysis? Thanks!* > ** > ** > ** > ** > *Hans Chen* |
Hi Team, this might be asked earlier and is frequently asked question but I am unable to find complete solution. On the Raynald's site I could find the following syntax but somehow I am getting an error. All the variable names, length and type are same in both the files. Ultimately I want a file differences in any variable be listed with id and variable name. I would appreciate your input and I am sure this will also help many of the users.
Thanks in advance. /* Compare two files and lists all differences */ /* Simon Freidin 09/05/2006 */ /* Cases are matched by ID */ /* Output is variable by variable. */ /* Typical output: */ /* ID var1_old var1_new */ /* */ /* 32747 3 2 */ /* 32676 4 5 */ /* 36472 2 3 */ /* 47699 5 4 */ set printback=no mprint=no length=none. file handle oldfile /name='substitute path and filename'. file handle newfile /name='substitute path and filename'. define checkvar (!pos=!tokens(1)). match files file=oldfile /rename= (!1=!concat(!1,'_old')) /in=inold /file=newfile /rename= (!1=!concat(!1,'_new')) /in=innew /keep=!concat(!1,'_old') !concat(!1,'_new') ID /by ID. sel if inold and innew. /* select cases in both files */ display labels var=!concat(!1,'_new'). sel if !concat(!1,'_old') ne !concat(!1,'_new'). list /ID !concat(!1,'_old') !concat(!1,'_new'). !enddefine. /* drop ID and variables not in new file here */ /* drop any other variables you don't want to compare */ get file=oldfile /drop= ID . n of cases 1. oms /destination viewer=no. flip. omsend. write outfile="c:\temp\checkvar.sps"/"checkvar " case_lbl ".". exe. include "c:\temp\checkvar.sps". |
In reply to this post by Robert Marshall-7
Edit>Options...
Select "Pivot Tables" tab and then choose a default Table Look, such as "Times Roman.tlo". If this is not perfect, refer to the help system for guidance on how to create a Table Look to match your needs (see Base System>Pivot Tables>Changing the Appearance of Tables) HTH Jason On 11/26/06, Robert Marshall <[hidden email]> wrote: > I am using a standard SPSS package. I want all of the tables to be in 12 font and Times New Roman. Is there a simple way to do this? I don't use syntax. > > -------------- Original message -------------- > From: SPSS Chen <[hidden email]> > > > *Dear Sir or Madam:* > > > > * * > > > > *I have a dataset which contain following columns* > > > > * * > > > > *Customer |Sales |Quantity |Sales Price |Type| Finish| Color |Province| > > Year| Month| day|* > > > > *Penner* > > > > *Distinctive* > > > > *...* > > > > *Walters* > > > > * * > > *Could you tell me how to select all the records of customer "Penner" from > > the huge data in SPSS(syntax)and then conduct analysis? Thanks!* > > ** > > ** > > ** > > ** > > *Hans Chen* > |
In reply to this post by Manmit Shrimali-2
At 01:00 PM 11/25/2006, Manmit Shrimali wrote:
>On the Raynald's site I could find the following syntax but somehow I >am getting an error. What error? Where in the code does it occur? |
Free forum by Nabble | Edit this page |