Giter VIP home page Giter VIP logo

Comments (7)

stefvanbuuren avatar stefvanbuuren commented on June 3, 2024

Hi thanks. The as.mids2() function was as a temporary fixup created long ago. I have added several fixups, and was therefore wondering whether you get the same behaviour of the as.mids() function in a recent version of mice.
Stef.

from mice.

MauricioCoronel avatar MauricioCoronel commented on June 3, 2024

We have found the same issue using either function. I posted the code using as.mids2 because I had understood it was an "updated" fix, but even with as.mids the same issue is happening.
Thanks for your response.

from mice.

stefvanbuuren avatar stefvanbuuren commented on June 3, 2024

I am not able to run your example since it seems to require SPSS. At some point, there is a hard-coded file C:/FILEPATH.sav, which is don't have. I cannot see what the nature of the problem is.

Is your finding perhaps related to exporting to and importing from SPSS, rather than being an as.mids() problem? There is a function in mice called mids2spss() that is meant to export mids objects to SPSS.

from mice.

MauricioCoronel avatar MauricioCoronel commented on June 3, 2024

I apologize that the example cannot be ran without creating the SPSS file from the .sps document. The FILEPATH location should be pointing to the SPSS file (which should be your working directory).

The following syntax should skip the SPSS file creation altogether.
Thank you.
example2.txt

from mice.

stefvanbuuren avatar stefvanbuuren commented on June 3, 2024

That's curious. In mice 2.36 running your code gives me identical counts. Which version of mice produces your problem, and on what platform?
reproduce.pdf

from mice.

MauricioCoronel avatar MauricioCoronel commented on June 3, 2024

We have been running version 2.30 on windows 10. When installing/updating the package there is no indication of version 2.36, so perhaps this might have been addressed in the updated version and we are just not caught up for some reason.

from mice.

stefvanbuuren avatar stefvanbuuren commented on June 3, 2024

OK thanks. mice 2.30 is the latest on CRAN. It appears that current version of as.mids() works as expected. I am going to close, but please let me know if problem persist. Stef.

from mice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.