I have a problem running PSM in spss 21, with r 2.14 on windows 8, 64bit.
I read all the previous answers in the forum regarding this issue, and already installed an older version of CEM and all the needed stuff.
I'm really desperate – I just spent the whole day uninstalling and installing packages from my computer. What I get now when I run PSM in spss is:
PSMatching2: Missing values in id, treatment, covariates, or additional covariates.
Any help will be very appreciated!
Yael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Yael,
this error message is somewhat encouraging, because it suggests that
the PSMatching extension has most likely been properly installed
(which is arguably the hardest step currently).
Try to use our minimaltest.sav example and see if the PSMatching
works. If it does, the problem lies with your particular dataset, most
likely, because it contains missing data on some variables.
Unfortunately, at this time, PSMatching requires complete data. If you
have missing data you may either supply a listwise deleted file with
no missingness anymore, or use multiple imputation to create a
complete dataset and then supply ONE single imputation to PSMatching.
I have a problem running PSM in spss 21, with r 2.14 on windows 8, 64bit.
I read all the previous answers in the forum regarding this issue, and
already installed an older version of CEM and all the needed stuff.
I'm really desperate – I just spent the whole day uninstalling and
installing packages from my computer. What I get now when I run PSM in spss
is:
PSMatching2: Missing values in id, treatment, covariates, or additional
covariates.
Thanks for the quick help!
I"ve tried your data and got the following error:
Error in loadNamespace(i, c(lib.loc, .libPaths())) :
there is no package called 'lattice'
Installing package(s) into 'C:/Program Files/IBM/SPSS/Statistics/21/extensions'
(as 'lib' is unspecified)
I understood that the installation of R was problematic, so I uninstall it and uninstall the R plug in and then re-installed R and R plug in, and the error still occurs...
What should I do?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the quick help!
I"ve tried your data and got the following error:
Error in loadNamespace(i, c(lib.loc, .libPaths())) :
there is no package called 'lattice'
Installing package(s) into 'C:/Program Files/IBM/SPSS/Statistics/21/extensions'
(as 'lib' is unspecified)
I understood that the installation of R was problematic, so I uninstall it and uninstall the R plug in and then re-installed R and R plug in, and the error still occurs...
What should I do?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So this is asking for the lattice package to be installed in R. I am
not sure why this would throw an error.
One way that might fix it is to go directly into R and execute these
two lines of code.
install.packages("lattice")
library(lattice)
Other than that, I am not sure how to fix it based on the info that I
have at hand.
Thanks for the quick help!
I"ve tried your data and got the following error:
Error in loadNamespace(i, c(lib.loc, .libPaths())) :
there is no package called 'lattice'
Installing package(s) into 'C:/Program
Files/IBM/SPSS/Statistics/21/extensions'
(as 'lib' is unspecified)
I understood that the installation of R was problematic, so I uninstall it
and uninstall the R plug in and then re-installed R and R plug in, and the
error still occurs...
All trials were failed so I installed spss 22 with R 2.15.2 on another machine, as I saw your advise in another case.
After manually loading cem and other packages as required, I got an error saying nlme could not be loaded. But when trying to install it manually I got an error saying this package is not available for R 2.15.2!!
I'm really desperate - I've been trying to run the PS matching for long time now, is there anything I can do to get this working??
Any help is highly appreciated as I'm currently really don't know what to do and my research is stuck due to these problems...
Yael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Yael,
How about you contact me off-list via direct email and I can try to
give you the pre-release which may help to fix the error that you are
getting.
Best,
Felix
All trials were failed so I installed spss 22 with R 2.15.2 on another
machine, as I saw your advise in another case.
After manually loading cem and other packages as required, I got an error
saying nlme could not be loaded. But when trying to install it manually I
got an error saying this package is not available for R 2.15.2!!
I'm really desperate - I've been trying to run the PS matching for long time
now, is there anything I can do to get this working??
Any help is highly appreciated as I'm currently really don't know what to do
and my research is stuck due to these problems...
Hello,
I have a problem running PSM in spss 21, with r 2.14 on windows 8, 64bit.
I read all the previous answers in the forum regarding this issue, and already installed an older version of CEM and all the needed stuff.
I'm really desperate – I just spent the whole day uninstalling and installing packages from my computer. What I get now when I run PSM in spss is:
PSMatching2: Missing values in id, treatment, covariates, or additional covariates.
Any help will be very appreciated!
Yael
Hello Yael,
this error message is somewhat encouraging, because it suggests that
the PSMatching extension has most likely been properly installed
(which is arguably the hardest step currently).
Try to use our minimaltest.sav example and see if the PSMatching
works. If it does, the problem lies with your particular dataset, most
likely, because it contains missing data on some variables.
Unfortunately, at this time, PSMatching requires complete data. If you
have missing data you may either supply a listwise deleted file with
no missingness anymore, or use multiple imputation to create a
complete dataset and then supply ONE single imputation to PSMatching.
Hope that helps,
Felix
On Fri, Nov 15, 2013 at 8:51 AM, Yael yaelyael@users.sf.net wrote:
Hi,
Thanks for the quick help!
I"ve tried your data and got the following error:
Error in loadNamespace(i, c(lib.loc, .libPaths())) :
there is no package called 'lattice'
Installing package(s) into 'C:/Program Files/IBM/SPSS/Statistics/21/extensions'
(as 'lib' is unspecified)
I understood that the installation of R was problematic, so I uninstall it and uninstall the R plug in and then re-installed R and R plug in, and the error still occurs...
What should I do?
Thanks
Hi,
Thanks for the quick help!
I"ve tried your data and got the following error:
Error in loadNamespace(i, c(lib.loc, .libPaths())) :
there is no package called 'lattice'
Installing package(s) into 'C:/Program Files/IBM/SPSS/Statistics/21/extensions'
(as 'lib' is unspecified)
I understood that the installation of R was problematic, so I uninstall it and uninstall the R plug in and then re-installed R and R plug in, and the error still occurs...
What should I do?
Thanks
So this is asking for the lattice package to be installed in R. I am
not sure why this would throw an error.
One way that might fix it is to go directly into R and execute these
two lines of code.
install.packages("lattice")
library(lattice)
Other than that, I am not sure how to fix it based on the info that I
have at hand.
On Fri, Nov 15, 2013 at 12:56 PM, Yael yaelyael@users.sf.net wrote:
Hi Felix,
All trials were failed so I installed spss 22 with R 2.15.2 on another machine, as I saw your advise in another case.
After manually loading cem and other packages as required, I got an error saying nlme could not be loaded. But when trying to install it manually I got an error saying this package is not available for R 2.15.2!!
I'm really desperate - I've been trying to run the PS matching for long time now, is there anything I can do to get this working??
Any help is highly appreciated as I'm currently really don't know what to do and my research is stuck due to these problems...
Yael
Hi Yael,
How about you contact me off-list via direct email and I can try to
give you the pre-release which may help to fix the error that you are
getting.
Best,
Felix
On Sun, Nov 24, 2013 at 1:10 PM, Yael yaelyael@users.sf.net wrote: