copying variable values

View: New views
4 Messages — Rating Filter:   Alert me  

copying variable values

by Lisa McFayden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have recently installed PSPP and am trying to set up my variables. Can
anyone tell me how to copy values where the same values apply to
multiple variables. Copying and pasting isn't working.

many thanks
Lisa


_______________________________________________
Pspp-users mailing list
Pspp-users@...
http://lists.gnu.org/mailman/listinfo/pspp-users

Re: copying variable values

by John Darrington :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That is strange.  Copying and pasting certainly works for me.  You
need to create an empty variable before you can add data to it.  Did
you do that?  Under what platform are you running PSPP?


If you just want to copy all the data from one variable into another,
one way to do it is with the compute command.  Given a variable X, you
can run a syntax like

 COMPUTE Y=X.
 EXECUTE.

This will create a new variable Y (if it doesn't already exist) and
will then copy the values from X into it.  You can do this
interactively in the GUI from the Transform->Compute menu.


Hope this helps,

J'




On Wed, Jul 16, 2008 at 10:34:34AM +1000, Lisa McFayden wrote:
     I have recently installed PSPP and am trying to set up my variables. Can
     anyone tell me how to copy values where the same values apply to
     multiple variables. Copying and pasting isn't working.

--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.




_______________________________________________
Pspp-users mailing list
Pspp-users@...
http://lists.gnu.org/mailman/listinfo/pspp-users

signature.asc (196 bytes) Download Attachment

Re: copying variable values

by Alan Mead-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lisa,

If you are entering data, I suggest that you enter it into a
spreadsheet, save the data in a delimited format, and then read the data
into SPSS.  I haven't tried PSPP, but entering data directly into an
SPSS dataset is awkward.

-Alan


Lisa McFayden wrote:

> I have recently installed PSPP and am trying to set up my variables.
> Can anyone tell me how to copy values where the same values apply to
> multiple variables. Copying and pasting isn't working.
>
> many thanks
> Lisa
>
>
> _______________________________________________
> Pspp-users mailing list
> Pspp-users@...
> http://lists.gnu.org/mailman/listinfo/pspp-users
>

--
Alan D. Mead, Ph.D.
Assistant Professor, Institute of Psychology
Scientific Adviser, Center for Research and Service
Illinois Institute of Technology
3101 South Dearborn, 2nd floor
Chicago IL 60616

Skype: alandmead
+312.567.5933 (Campus)
+312.567.3493 (Fax)

http://www.iit.edu/~mead
http://www.center.iit.edu
http://www.alanmead.org

Be not afraid of life.
Believe that life is worth living,
and your belief will help create the fact.
  -- Henry James



_______________________________________________
Pspp-users mailing list
Pspp-users@...
http://lists.gnu.org/mailman/listinfo/pspp-users

Parent Message unknown Re: copying variable values

by John Darrington :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[CCing to pspp-users@...]


On Wed, Jul 16, 2008 at 11:29:33AM +1000, Lisa McFayden wrote:
     thanks John
     I'm not yet up to entering data. I'm still setting up my variables. I'm
     new to PSPP and have only used SPSS once so I'm a rank beginner. I'm
     running it on Windows and am in the variables view.

Right.  Cut and Paste isn't supported in the variable view yet.
     
     I have a series of questions for which there are six possible responses
     (including missing data). I have numbered each possible reponse 0 to 5
     (0 = missing data) The same response options apply to several questions
     so rather that enter the values for each question I was hoping to type
     in the values for one variable and then copy to others. I hope this
     makes sense.

Perfect sense.  If there really are a  lot of variables, then I think
the easiest way to do this is  to run a short syntax like:

 value labels a,b,c  1 'very good'   2 'good'   3 'average'  4 'bad' 5 'very bad'.
 missing values a,b,c (0).

where you replace "a,b,c" with a list of variables which you should
have already created.

Hope this helps.

J'


--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.




_______________________________________________
Pspp-users mailing list
Pspp-users@...
http://lists.gnu.org/mailman/listinfo/pspp-users

signature.asc (196 bytes) Download Attachment