Git Product home page Git Product logo

coresim's People

Contributors

christophergandrud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

guhjy jebyrnes

coresim's Issues

. in predictor variable name causes errors

dat <- tibble(x.x = 1:10,
              y = rnorm(x.x)) %>%
  as.data.frame()

mod <- lm(y ~ x.x, data = dat)

a <- qi_builder(mod,
                newdata = dat,
                slim = FALSE,
                ci = 1
                )

Causes the error

Error in possible_interaction_terms(fitted_names, n = k) : 
  Number of possible interaction terms cannot exceed number of base terms.

If I replace the . with a _, the error goes away.

need sim identifier if slim = FALSE

In qi_builder if slim = FALSE and we get returns of simulated values, can we also get a column stating which sim a value came from? This would 1) make it easier to use the group argument in a ggplot to, say, make a bunch of densities of predicted values to compare to the distribution of the data and 2) mean that we could tell more easily when different simulated predictions came from different initial data points (e.g., if X1 = X2, if they're from the same simulation, we know they are different data points).

Splines

Add the ability to automatically detect and simulate for variables that were created with splines.

Categorical DV

Add ability to work with models that have categorical dependent variables.

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.