DeclareDesign / estimatr

estimatr: Fast Estimators for Design-Based Inference
https://declaredesign.org/r/estimatr
Other
131 stars 20 forks source link

are we compatible? #286

Closed graemeblair closed 5 years ago

graemeblair commented 5 years ago

https://www.r-bloggers.com/introducing-olsrr/

nfultz commented 5 years ago

Compatibility with stepwise procedures is an anti-feature imho - would rather not revisit the sins of the 80s. :)

lukesonnet commented 5 years ago

No:

From olsrr:::check_model(), run before most functions:

    if (!all(class(model) == "lm")) {
        cat("Hmmm.. Looks like you have specified the wrong model. Follow the below steps to debug this error.\n\n* Check if you have used the", 
            crayon::bold$blue("lm()"), "function to build the model.\n* If you have never used it before, you can learn more by typing", 
            crayon::bold$red("?lm"), "or", crayon::bold$red("help(lm)"), 
            "in the Console\n.\n\nBelow is an example using mtcars data:\n", 
            crayon::bold$blue("lm(formula = mpg ~ disp + hp + wt, data = mtcars)"), 
            "\n", "Happy modeling :)\n")
        stop("", call. = FALSE)
    }

Closing this as I don't think it's that useful and this is clearly intended for others.