Giter VIP home page Giter VIP logo

countimp's People

Contributors

kkleinke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

countimp's Issues

check if 2l models have random effects

thanks for working on this nice package!

A quick suggestion regarding the 2 level models: I think users like me could be helped by adding a check of the presence of a random effect to the 2 level models (e.g. mice.impute.2l.zinb) and a clear warning message if no random effect is found. In the current version, one receives a cryptic message

Error in parse(text = x, keep.source = FALSE) : 
  <text>:1:391: unexpected ')'

which make it difficult to get to the root of the problem.

Error in get(fn) : object 'mice.impute.21.poisson' not found

I keep getting this error: Error in get(fn) : object 'mice.impute.21.poisson' not found
I can get it to work with just regular poisson, but I have a multilevel model. Any help is appreciated

ini=mice(dlong.simp, maxit = 0)
meth=ini$method
pred=ini$predictorMatrix
meth["risk"]= "21.poisson"
pred["risk", ]= c(-2, 1, 1, 1, 1, 1, 1, 2, 0 )

imp=countimp(data=dlong.simp, m=5, method=meth, predictorMatrix=pred, print=FALSE)

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.