Date: Tue, 7 Jul 2009 12:50:02 +0000
Reply-To: Frans Marcelissen <fransiepansiekevertje@hotmail.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Frans Marcelissen <fransiepansiekevertje@hotmail.com>
Subject: Re: Help with Compute Variable problem
In-Reply-To: <24366482.post@talk.nabble.com>
Content-Type: multipart/alternative;
MIME-Version: 1.0
X-OriginalArrivalTime: 07 Jul 2009 12:50:02.0335 (UTC) FILETIME=[71A356F0:01C9FF01]
X-Scanned-By: Digested by UGA Mail Gateway on 128.192.1.75
--_16d14a19-cb66-471c-a852-0491452b3510_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I did not try=2C but I do not see why you should need the python plugin for=
this. Could you exactly describe do you try to run this syntax? I hope you=
do not run it in a script? I believe that you you indeed need python for t=
hat? Just open a syntax file and put this lines init. Or could it be that y=
ou run it in an "begin program ... end program block? (that is incorrect to=
o).
Regarding the idiot proof point-and-click click solution=2C imho the interf=
ace is designed by idiots and only intended for use by idiots. It is only u=
seful for creating syntax files.
Greetz
Frans
=20
> Date: Mon=2C 6 Jul 2009 20:14:57 -0700
> From: tdennehy.psych@GMAIL.COM
> Subject: Re: Help with Compute Variable problem
> To: SPSSX-L@LISTSERV.UGA.EDU
>=20
> Thank you everyone for your help. Through various messages/exchanges it
> appears that the problems may be due to this particular iteration of SPSS
> (16.0.1 for Mac)=2C as I receive the same error(s) when working on comput=
ers
> in my lab that are running the same version. Everything (the
> point-and-click compute variables and the syntax) works fine on SPSS 17 f=
or
> Mac. I also had other people test the compute variable function to see if
> was just me having the problem and it does appear to be the program.
>=20
> To recap (for anyone reading=2C as most of the exchanges were via email)=
=2C I
> had two separate issues regarding computing variables. The first issue wa=
s
> that every syntax command I entered prompted me for a Python plug-in. The
> syntax was as follows:
>=20
> compute Necessity_mean=3Dmean(Spanishspeaker_Necessity=2C
> Cancerpatient_Necessity=2C Doctor_Necessity=2C Moviebuff_Necessity=2C
> Heterosexual_Necessity=2C Lowerclass_Necessity=2C Old_Necessity=2C
> Small_Necessity=2C Schizophrenic_Necessity=2C Male_Necessity=2C
> Extrovert_Necessity=2C Attractive_Necessity=2C Smart_Necessity=2C
> Jew_Necessity=2C Paraplegic_Necessity=2C Asian_Necessity=2C Black_Necessi=
ty=2C
> Liberal_Necessity=2C Vegetarian_Necessity=2C Easterner_Necessity=2C
> Englishspeaker_Necessity=2C AIDSpatient_Necessity=2C Mechanic_Necessity=
=2C
> Sportsfan_Necessity=2C Homosexual_Necessity=2C Middleclass_Necessity=2C
> Young_Necessity=2C Large_Necessity=2C Depressive_Necessity=2C
> Female_Necessity=2C Introvert_Necessity=2C Ugly_Necessity=2C
> Average_Necessity=2C Catholic_Necessity=2C Blind_Necessity=2C
> Hispanic_Necessity=2C White_Necessity=2C Republican_Necessity=2C
> Meateater_Necessity=2C Midwesterner_Necessity).
> execute.
>=20
> My syntax editor didn't wrap=3B hence the lack of indents on each line br=
eak.
> However=2C I received the same python-requesting error when using syntax =
and a
> data file sent to me from Tim at SPSS. The syntax works fine on other
> versions of SPSS (the problem may be due to the fact that my university i=
s
> running an older version that has not been updated).
>=20
> The second problem was in the point-and-click interface=2C which was what=
I
> was primarily concerned about. The compute function would work just great
> for up to 10 variables=2C but after that the output would just read "EXEC=
UTE"
> without actually performing anything. Later editions of SPSS (Mac 17) do
> not seem to have this problem.
>=20
> I apologize for the delay in responding=3B I had a class to teach and mee=
tings
> all day. Thank you everyone for your help in attempting to resolve this
> issue.
>=20
> Best=2C
> Tara.
>=20
> P. S. I had not initially included the syntax as I was primarily concerne=
d
> about the problem with the point-and-click interface=2C given that it is
> somewhat more idiot-proof than syntax =3B-)
>=20
>=20
>=20
> Bruce Weaver wrote:
> >
> >
> > David Marso wrote:
> >>
> >> Tara=2C
> >> A tiny bit of detail WRT what you are actually doing would be useful.
> >> Other than that you don't need any Python Plugin for standard usage.
> >> "I need to
> >>>create 10 variables computed from 40 variables each and 40 variables
> >>>computed from 20 variables each"
> >> Specifically???
> >> "I tried entering the command as syntax".
> >> Spending a few seconds to have pasted the syntax might have led to you=
r
> >> receiving a useful response. Try again.
> >> "If anyone has any magical inspiration regarding this problem (I've tr=
ied
> >> aggregating to require less computing oomph=2C rebooting=2C saving as
> >> variables=2C"....
> >> ROFLMAO!
> >>
> >>
> >
> > The same question appeared in the SPSS group on usenet
> > (comp.soft-sys.stat.spss). After prompting=2C Tara did post one of the
> > troublesome COMPUTE commands there=2C and Fred Sutton spotted that the
> > continuation lines were starting at the left margin. Inserting a space =
at
> > the beginning of each continuation line fixed the problem. Well=2C it d=
id
> > for Fred at least. We've not heard back from Tara yet. =3B-)
> >
> >
>=20
> --
> View this message in context: http://www.nabble.com/Help-with-Compute-Var=
iable-problem-tp24348001p24366482.html
> Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> To manage your subscription to SPSSX-L=2C send a message to
> LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L)=2C with no body text except th=
e
> command. To leave the list=2C send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions=2C send the command
> INFO REFCARD
Haal meer uit je Hotmail met Internet Explorer 8. Download nu
_________________________________________________________________
De grappigste filmpjes vind je op MSN Video!
http://video.msn.com/video.aspx?mkt=3Dnl-nl=
--_16d14a19-cb66-471c-a852-0491452b3510_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style>
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
</style>
</head>
<body class=3D'hmmessage'>
<BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px=3B}
.ExternalClass body.EC_hmmessage
{font-size:10pt=3Bfont-family:Verdana=3B}
</STYLE>
I did not try=2C but I do not see why =3Byou should need the python plu=
gin for this. =3BCould you exactly describe do you try to run this synt=
ax? =3BI hope you do not run it in a script? I believe that you =3B=
you indeed need =3Bpython for that? Just open a syntax file and put thi=
s lines init. Or could it be that =3Byou run it =3Bin an "begin pro=
gram ... =3Bend program block? (that is incorrect too).<BR>Regarding th=
e idiot proof point-and-click click solution=2C imho the interface is desig=
ned by idiots and only intended for use by idiots. It is only useful for cr=
eating syntax files.<BR>Greetz<BR>Frans<BR> =3B<BR>>=3B Date: Mon=2C =
6 Jul 2009 20:14:57 -0700<BR>>=3B From: tdennehy.psych@GMAIL.COM<BR>>=
=3B Subject: Re: Help with Compute Variable problem<BR>>=3B To: SPSSX-L@L=
ISTSERV.UGA.EDU<BR>>=3B <BR>>=3B Thank you everyone for your help. Thro=
ugh various messages/exchanges it<BR>>=3B appears that the problems may b=
e due to this particular iteration of SPSS<BR>>=3B (16.0.1 for Mac)=2C as=
I receive the same error(s) when working on computers<BR>>=3B in my lab =
that are running the same version. Everything (the<BR>>=3B point-and-clic=
k compute variables and the syntax) works fine on SPSS 17 for<BR>>=3B Mac=
. I also had other people test the compute variable function to see if<BR>&=
gt=3B was just me having the problem and it does appear to be the program.<=
BR>>=3B <BR>>=3B To recap (for anyone reading=2C as most of the exchang=
es were via email)=2C I<BR>>=3B had two separate issues regarding computi=
ng variables. The first issue was<BR>>=3B that every syntax command I ent=
ered prompted me for a Python plug-in. The<BR>>=3B syntax was as follows:=
<BR>>=3B <BR>>=3B compute Necessity_mean=3Dmean(Spanishspeaker_Necessit=
y=2C<BR>>=3B Cancerpatient_Necessity=2C Doctor_Necessity=2C Moviebuff_Nec=
essity=2C<BR>>=3B Heterosexual_Necessity=2C Lowerclass_Necessity=2C Old_N=
ecessity=2C<BR>>=3B Small_Necessity=2C Schizophrenic_Necessity=2C Male_Ne=
cessity=2C<BR>>=3B Extrovert_Necessity=2C Attractive_Necessity=2C Smart_N=
ecessity=2C<BR>>=3B Jew_Necessity=2C Paraplegic_Necessity=2C Asian_Necess=
ity=2C Black_Necessity=2C<BR>>=3B Liberal_Necessity=2C Vegetarian_Necessi=
ty=2C Easterner_Necessity=2C<BR>>=3B Englishspeaker_Necessity=2C AIDSpati=
ent_Necessity=2C Mechanic_Necessity=2C<BR>>=3B Sportsfan_Necessity=2C Hom=
osexual_Necessity=2C Middleclass_Necessity=2C<BR>>=3B Young_Necessity=2C =
Large_Necessity=2C Depressive_Necessity=2C<BR>>=3B Female_Necessity=2C In=
trovert_Necessity=2C Ugly_Necessity=2C<BR>>=3B Average_Necessity=2C Catho=
lic_Necessity=2C Blind_Necessity=2C<BR>>=3B Hispanic_Necessity=2C White_N=
ecessity=2C Republican_Necessity=2C<BR>>=3B Meateater_Necessity=2C Midwes=
terner_Necessity).<BR>>=3B execute.<BR>>=3B <BR>>=3B My syntax editor=
didn't wrap=3B hence the lack of indents on each line break.<BR>>=3B How=
ever=2C I received the same python-requesting error when using syntax and a=
<BR>>=3B data file sent to me from Tim at SPSS. The syntax works fine on =
other<BR>>=3B versions of SPSS (the problem may be due to the fact that m=
y university is<BR>>=3B running an older version that has not been update=
d).<BR>>=3B <BR>>=3B The second problem was in the point-and-click inte=
rface=2C which was what I<BR>>=3B was primarily concerned about. The comp=
ute function would work just great<BR>>=3B for up to 10 variables=2C but =
after that the output would just read "EXECUTE"<BR>>=3B without actually =
performing anything. Later editions of SPSS (Mac 17) do<BR>>=3B not seem =
to have this problem.<BR>>=3B <BR>>=3B I apologize for the delay in res=
ponding=3B I had a class to teach and meetings<BR>>=3B all day. Thank you=
everyone for your help in attempting to resolve this<BR>>=3B issue.<BR>&=
gt=3B <BR>>=3B Best=2C<BR>>=3B Tara.<BR>>=3B <BR>>=3B P. S. I had n=
ot initially included the syntax as I was primarily concerned<BR>>=3B abo=
ut the problem with the point-and-click interface=2C given that it is<BR>&g=
t=3B somewhat more idiot-proof than syntax =3B-)<BR>>=3B <BR>>=3B <BR>&=
gt=3B <BR>>=3B Bruce Weaver wrote:<BR>>=3B >=3B<BR>>=3B >=3B<BR>&=
gt=3B >=3B David Marso wrote:<BR>>=3B >=3B>=3B<BR>>=3B >=3B>=
=3B Tara=2C<BR>>=3B >=3B>=3B A tiny bit of detail WRT what you are ac=
tually doing would be useful.<BR>>=3B >=3B>=3B Other than that you do=
n't need any Python Plugin for standard usage.<BR>>=3B >=3B>=3B "I ne=
ed to<BR>>=3B >=3B>=3B>=3Bcreate 10 variables computed from 40 vari=
ables each and 40 variables<BR>>=3B >=3B>=3B>=3Bcomputed from 20 va=
riables each"<BR>>=3B >=3B>=3B Specifically???<BR>>=3B >=3B>=3B=
"I tried entering the command as syntax".<BR>>=3B >=3B>=3B Spending =
a few seconds to have pasted the syntax might have led to your<BR>>=3B &g=
t=3B>=3B receiving a useful response. Try again.<BR>>=3B >=3B>=3B "=
If anyone has any magical inspiration regarding this problem (I've tried<BR=
>>=3B >=3B>=3B aggregating to require less computing oomph=2C rebooti=
ng=2C saving as<BR>>=3B >=3B>=3B variables=2C"....<BR>>=3B >=3B&g=
t=3B ROFLMAO!<BR>>=3B >=3B>=3B<BR>>=3B >=3B>=3B<BR>>=3B >=
=3B<BR>>=3B >=3B The same question appeared in the SPSS group on usenet=
<BR>>=3B >=3B (comp.soft-sys.stat.spss). After prompting=2C Tara did po=
st one of the<BR>>=3B >=3B troublesome COMPUTE commands there=2C and Fr=
ed Sutton spotted that the<BR>>=3B >=3B continuation lines were startin=
g at the left margin. Inserting a space at<BR>>=3B >=3B the beginning o=
f each continuation line fixed the problem. Well=2C it did<BR>>=3B >=3B=
for Fred at least. We've not heard back from Tara yet. =3B-)<BR>>=3B >=
=3B<BR>>=3B >=3B<BR>>=3B <BR>>=3B --<BR>>=3B View this message in=
context: http://www.nabble.com/Help-with-Compute-Variable-problem-tp243480=
01p24366482.html<BR>>=3B Sent from the SPSSX Discussion mailing list arch=
ive at Nabble.com.<BR>>=3B <BR>>=3B =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>>=3B To manage your subscription to SPS=
SX-L=2C send a message to<BR>>=3B LISTSERV@LISTSERV.UGA.EDU (not to SPSSX=
-L)=2C with no body text except the<BR>>=3B command. To leave the list=2C=
send the command<BR>>=3B SIGNOFF SPSSX-L<BR>>=3B For a list of command=
s to manage subscriptions=2C send the command<BR>>=3B INFO REFCARD<BR><BR=
>
<HR>
Haal meer uit je Hotmail met Internet Explorer 8. <A href=3D"http://www.mic=
rosoft.nl/ie8">Download nu</A><BR><br /><hr />Haal meer uit je Hotmail met =
Internet Explorer 8. <a href=3D'http://www.microsoft.nl/ie8' target=3D'_new=
'>Download nu</a></body>
</html>=
--_16d14a19-cb66-471c-a852-0491452b3510_--
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (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