Propensity score matching in spss with R












0















I'm trying to use the propensity score matching add-on suggested by thommens using spss 22 , r 2.15.3 (also tried 2.15.0) and the spe file of 3.03



When I load the spe file in spss I keep getting errors that there are missing packages (RItools and lme4).
When I try to install them in r, it says there are no versions for 2.15.3 or 2.15.0 so I'm kind of stuck.
I've tried reinstalling and different versions with no success.



Any way to fix that somehow?










share|improve this question





























    0















    I'm trying to use the propensity score matching add-on suggested by thommens using spss 22 , r 2.15.3 (also tried 2.15.0) and the spe file of 3.03



    When I load the spe file in spss I keep getting errors that there are missing packages (RItools and lme4).
    When I try to install them in r, it says there are no versions for 2.15.3 or 2.15.0 so I'm kind of stuck.
    I've tried reinstalling and different versions with no success.



    Any way to fix that somehow?










    share|improve this question



























      0












      0








      0








      I'm trying to use the propensity score matching add-on suggested by thommens using spss 22 , r 2.15.3 (also tried 2.15.0) and the spe file of 3.03



      When I load the spe file in spss I keep getting errors that there are missing packages (RItools and lme4).
      When I try to install them in r, it says there are no versions for 2.15.3 or 2.15.0 so I'm kind of stuck.
      I've tried reinstalling and different versions with no success.



      Any way to fix that somehow?










      share|improve this question
















      I'm trying to use the propensity score matching add-on suggested by thommens using spss 22 , r 2.15.3 (also tried 2.15.0) and the spe file of 3.03



      When I load the spe file in spss I keep getting errors that there are missing packages (RItools and lme4).
      When I try to install them in r, it says there are no versions for 2.15.3 or 2.15.0 so I'm kind of stuck.
      I've tried reinstalling and different versions with no success.



      Any way to fix that somehow?







      r spss






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 25 '18 at 8:41









      eli-k

      4,56282939




      4,56282939










      asked Nov 24 '18 at 14:48









      XPerimentXPeriment

      61




      61
























          1 Answer
          1






          active

          oldest

          votes


















          1














          When installing packages for obsolete versions of R (and version 2.15.3 is really very obsolete) one must generally use the source versions of the packages. and these often require compilation with the correct set of system tools, which for Windoze means Rtools.exe. both the R packages and the system tools must be from the same time frame. But perhaps the maintainers of the SPSS-R fusion are also maintaining a repository?



          Searching for an archival binary Windows repository (which by all rights should have been maintained by IBM for all the versions of R that they have linked to versions of SPSS) I did find such an archive: This should obviate the need for compiling a version of lme4. You should change your options-setting of "CRAN" to to point to this repository: https://cran-archive.r-project.org/bin/windows/contrib/2.15/



          The help page: ?options suggests you do something like:



          local({r <- getOption("repos")
          r["CRAN"] <- "https://cran-archive.r-project.org/bin/windows/contrib/2.15/"
          options(repos = r)})


          Those zip files that you will see there should not need Rtools to be installed. Also see this Rstudio-hosted article:
          https://support.rstudio.com/hc/en-us/articles/219949047-Installing-older-versions-of-packages



          Searching Google informed me that the advice is specific to only a particular version of SPSS and its derivative "Modeler" facilities. Other versions would require 2.14.x or 3.2.x archives to be specified.






          share|improve this answer

























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53459331%2fpropensity-score-matching-in-spss-with-r%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            When installing packages for obsolete versions of R (and version 2.15.3 is really very obsolete) one must generally use the source versions of the packages. and these often require compilation with the correct set of system tools, which for Windoze means Rtools.exe. both the R packages and the system tools must be from the same time frame. But perhaps the maintainers of the SPSS-R fusion are also maintaining a repository?



            Searching for an archival binary Windows repository (which by all rights should have been maintained by IBM for all the versions of R that they have linked to versions of SPSS) I did find such an archive: This should obviate the need for compiling a version of lme4. You should change your options-setting of "CRAN" to to point to this repository: https://cran-archive.r-project.org/bin/windows/contrib/2.15/



            The help page: ?options suggests you do something like:



            local({r <- getOption("repos")
            r["CRAN"] <- "https://cran-archive.r-project.org/bin/windows/contrib/2.15/"
            options(repos = r)})


            Those zip files that you will see there should not need Rtools to be installed. Also see this Rstudio-hosted article:
            https://support.rstudio.com/hc/en-us/articles/219949047-Installing-older-versions-of-packages



            Searching Google informed me that the advice is specific to only a particular version of SPSS and its derivative "Modeler" facilities. Other versions would require 2.14.x or 3.2.x archives to be specified.






            share|improve this answer






























              1














              When installing packages for obsolete versions of R (and version 2.15.3 is really very obsolete) one must generally use the source versions of the packages. and these often require compilation with the correct set of system tools, which for Windoze means Rtools.exe. both the R packages and the system tools must be from the same time frame. But perhaps the maintainers of the SPSS-R fusion are also maintaining a repository?



              Searching for an archival binary Windows repository (which by all rights should have been maintained by IBM for all the versions of R that they have linked to versions of SPSS) I did find such an archive: This should obviate the need for compiling a version of lme4. You should change your options-setting of "CRAN" to to point to this repository: https://cran-archive.r-project.org/bin/windows/contrib/2.15/



              The help page: ?options suggests you do something like:



              local({r <- getOption("repos")
              r["CRAN"] <- "https://cran-archive.r-project.org/bin/windows/contrib/2.15/"
              options(repos = r)})


              Those zip files that you will see there should not need Rtools to be installed. Also see this Rstudio-hosted article:
              https://support.rstudio.com/hc/en-us/articles/219949047-Installing-older-versions-of-packages



              Searching Google informed me that the advice is specific to only a particular version of SPSS and its derivative "Modeler" facilities. Other versions would require 2.14.x or 3.2.x archives to be specified.






              share|improve this answer




























                1












                1








                1







                When installing packages for obsolete versions of R (and version 2.15.3 is really very obsolete) one must generally use the source versions of the packages. and these often require compilation with the correct set of system tools, which for Windoze means Rtools.exe. both the R packages and the system tools must be from the same time frame. But perhaps the maintainers of the SPSS-R fusion are also maintaining a repository?



                Searching for an archival binary Windows repository (which by all rights should have been maintained by IBM for all the versions of R that they have linked to versions of SPSS) I did find such an archive: This should obviate the need for compiling a version of lme4. You should change your options-setting of "CRAN" to to point to this repository: https://cran-archive.r-project.org/bin/windows/contrib/2.15/



                The help page: ?options suggests you do something like:



                local({r <- getOption("repos")
                r["CRAN"] <- "https://cran-archive.r-project.org/bin/windows/contrib/2.15/"
                options(repos = r)})


                Those zip files that you will see there should not need Rtools to be installed. Also see this Rstudio-hosted article:
                https://support.rstudio.com/hc/en-us/articles/219949047-Installing-older-versions-of-packages



                Searching Google informed me that the advice is specific to only a particular version of SPSS and its derivative "Modeler" facilities. Other versions would require 2.14.x or 3.2.x archives to be specified.






                share|improve this answer















                When installing packages for obsolete versions of R (and version 2.15.3 is really very obsolete) one must generally use the source versions of the packages. and these often require compilation with the correct set of system tools, which for Windoze means Rtools.exe. both the R packages and the system tools must be from the same time frame. But perhaps the maintainers of the SPSS-R fusion are also maintaining a repository?



                Searching for an archival binary Windows repository (which by all rights should have been maintained by IBM for all the versions of R that they have linked to versions of SPSS) I did find such an archive: This should obviate the need for compiling a version of lme4. You should change your options-setting of "CRAN" to to point to this repository: https://cran-archive.r-project.org/bin/windows/contrib/2.15/



                The help page: ?options suggests you do something like:



                local({r <- getOption("repos")
                r["CRAN"] <- "https://cran-archive.r-project.org/bin/windows/contrib/2.15/"
                options(repos = r)})


                Those zip files that you will see there should not need Rtools to be installed. Also see this Rstudio-hosted article:
                https://support.rstudio.com/hc/en-us/articles/219949047-Installing-older-versions-of-packages



                Searching Google informed me that the advice is specific to only a particular version of SPSS and its derivative "Modeler" facilities. Other versions would require 2.14.x or 3.2.x archives to be specified.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 24 '18 at 16:12

























                answered Nov 24 '18 at 16:02









                42-42-

                214k15263401




                214k15263401
































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53459331%2fpropensity-score-matching-in-spss-with-r%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wiesbaden

                    Marschland

                    Dieringhausen