Hi Jenneke,
Can you try the following that might help me narrow down the possible
problems? Run this command instead of the CEM command:
RCEM TREATMENT=xcohort VARIABLES=xagecat2 xnopartner xnon_west xchildren
xcity xnojob xanymisbr
/OPTIONS K2K NOIMBAL
/SAVE OUTPUTDATA=cemoutdata.
Two questions: (1) does that work? And (2) does it give you a k2k matching
solution? I've been having a hard time debugging SPSS, especially since we
were recently upgraded to 23. Hopefully this narrows it down for me.
Cheers,
Matt
On Wed, Mar 16, 2016 at 11:04 AM, Ditzhuijzen, J.M. van (Jenneke) <
J.M.vanDitzhuijzen(a)uu.nl> wrote:
ps: Of course I tried all trouble shooting advice from
the website and by
googling on the error messages. I have Windows 7. I also tried installing
CEM again on someone else's laptop with Spss 20, same installation problem?
And I also tried installing cem for Spss 23 on my newest home laptop with
Windows 10, not working either... Thanks!
Verstuurd vanaf mijn iPhone
Op 16 mrt. 2016 om 10:49 heeft Ditzhuijzen, J.M.
van (Jenneke) <
J.M.vanDitzhuijzen(a)uu.nl> het volgende geschreven:
Dear Matt and/or others,
For weeks I have been struggling to install and use CEM for SPSS. I do
not know R,
and am not familiar with programming, so I am very sorry if I
ask any stupid questions.. I have been able to use CEM before in SPSS 20,
and it worked out very well, but am now not able to reproduce this in SPSS
21 or 22. I really want to finish these analyses, so I would be very
grateful if someone could advice me. So I have two questions, solving one
of them would be enough for me :)
I tried in SPSS 22: I managed to install CEM. But the k2k option is not
working.
Something seems to go wrong with the RandomForest option. And I
cannot see the error messages, so I really don't know what to do. I have
pasted the output below, perhaps this looks familiar to someone. I think
the problem is SPSS related, not CEM, but am not sure. I have downloaded
the version of R associated with RandomForest; so I don't think this could
be the problem (but anything's possible).
I tried in SPSS 21 on my old laptop. I cannot fully install CEM, I get
an error
message while installing the SPSS Essentials for Python 21 plugin,
it says it needs SPSS version 21.0., but it can only find SPSS 21.0.??? See
attached photo.
If someone could be so kind to advice me, I would be very happy :)
Thanks a lot!!
Best,
Jenneke (NL)
DATASET NAME DataSet1 WINDOW=FRONT.
CEM TREATMENT=xcohort VARIABLES=xagecat2 xnopartner xnon_west xchildren
xcity
xnojob xanymisbr
/OPTIONS K2K NOIMBAL.
Loading required package: nlme
Loading required package: lattice
Loading required package: randomForest
randomForest 4.6-10
Type rfNews() to see new features/changes/bug fixes.
Loading required package: combinat
Attaching package: 'combinat'
The following object(s) are masked from 'package:utils':
combn
How to use CEM? Type vignette("cem")
Warning messages:
1: package 'cem' was built under R version 2.15.3
2: package 'randomForest' was built under R version 3.2.0
Matching Summary
G1
G2
All
1888
325
Matched
1566
311
Unmatched
322
14
The data contain missing values. CEM will match on them; see the manual
for other
options.
There were 50 or more warnings (use warnings() to
see the first 50)
warnings().
Error # 1. Command name: warnings
The first word in the line is not recognized as an SPSS Statistics
command.
Execution of this command stops.
<IMG_9282.JPG>
Verstuurd vanaf mijn iPhone
-
--
cem Mailing List, served by HUIT
Send messages: cem(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=cem
More information on cem:
http://gking.harvard.edu/cem
Cem mailing list
Cem(a)lists.gking.harvard.edu
To unsubscribe from this list or get other information:
https://lists.gking.harvard.edu/mailman/listinfo/cem -
--
cem Mailing List, served by HUIT
Send messages: cem(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=cem
More information on cem:
http://gking.harvard.edu/cem
Cem mailing list
Cem(a)lists.gking.harvard.edu
To unsubscribe from this list or get other information:
https://lists.gking.harvard.edu/mailman/listinfo/cem