Giter VIP home page Giter VIP logo

Comments (1)

Deleetdk avatar Deleetdk commented on August 29, 2024

All three are now added.

> #fit two models with iris data, one with normal and one with standardized data
> fit1 = lm("Sepal.Length ~ Sepal.Width + Petal.Length", iris)
> fit2 = lm("Sepal.Length ~ Sepal.Width + Petal.Length", iris %>% df_standardize())
Skipped Species because it is a factor.
> #then summarize the two models
> MOD_summary(fit1, standardize = F) #unstd. data, don't std. betas
  |============================================================================================================================| 100%
Model coefficients
             Beta    SE CI.lower CI.upper
Sepal.Width  0.60 0.069     0.46     0.73
Petal.Length 0.47 0.017     0.44     0.51


Model meta-data
       outcome   N   R2 R2-adj. R2-cv
1 Sepal.Length 150 0.84    0.84  0.82


Etas from analysis of variance
              eta eta.part
Sepal.Width  0.28     0.58
Petal.Length 0.91     0.92
> MOD_summary(fit1, standardize = T) #unstd. data, then std. betas
  |============================================================================================================================| 100%
Model coefficients
             Beta    SE CI.lower CI.upper
Sepal.Width  0.31 0.036     0.24     0.39
Petal.Length 1.01 0.036     0.93     1.08


Model meta-data
       outcome   N   R2 R2-adj. R2-cv
1 Sepal.Length 150 0.84    0.84  0.82


Etas from analysis of variance
              eta eta.part
Sepal.Width  0.28     0.58
Petal.Length 0.91     0.92

from kirkegaard.

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.