Coder Social home page Coder Social logo

areaf's Introduction

Geometric representation of Model Comparison

areaF is a visual display of ANOVA table, comparing and contrasting the properties of restricted (basic, null) and full(saturated, alternative) models.

Concept Art

The key quantitative property of a statistical model is misfit: the discrepancy between model prediction and observed data. We identify this quantity as the "Sum of Squares" (implying model error), "SS" for short. The misfit of the simpler, restricted model, will be called SST, "T" standing for "Total" (to imply the baseline). The error of the more complex, full model will be called SSE, "E" standing for "Error" (to emphasize our focus on the FULL model). These values are in squared units, so it is natural to concieve of them as areas.

Used abbreviations Restricted Full
Total Error
Sum of Squared Error SST SSE
Mean Squared Error MST MSE

This visual display of ANOVA tables contain comparison of two models: Null or Restricted (producing SSTotal) and Full or Saturated (SSError).

prototype3

prototype2

prototype1

Re-create in R

Quick graphs of model comparison. Copy/past the following script in R console and execute to produce the graph:

rm(list=ls(all=TRUE)) # clear environment
cat("\f") # clear console
library(ggplot2) # load ggplot2 package for graphing
# load areaF function
source("https://raw.githubusercontent.com/andkov/psy532/master/scripts/graphs/areaF_graphing.R")
areaF(6136, 26, 6525, 29 )

demonstration

areaf's People

Contributors

andkov avatar

Watchers

 avatar  avatar  avatar

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.