Git Product home page Git Product logo

agresti_introtocategorical's Introduction

Intro To Categorical Code

This is an RStudio project that uses the bookdown R package to make booklet with some of the formulas, tables and code for Alan Agresti's Introduction to Categorical Data Analysis 3rd Edition.

To build the booklet

  1. Download all the files
  2. Open the IntroToCategoricalCode.Rproj file with R Studio
  3. Install the extra packages used to help the aesthetics of the booklet:
extra <- c("rmarkdown", "bookdown", conflicted", "tidyverse", "kableExtra", 
   "ggthemes", "RColorBrewer", "officer", "flextable", "igraph")

install.packages(extra)
  1. Install the packages used in the book itself:
    • The code below uses the order of appearance of analysis packages. You want to install all of them or at least all of the earlier chapters.
    • detectseparation is a new package since the 3rd edition
    • the last two lines are used to install a package that is not on CRAN:
chapter1 <- c("binom", "exactci", "PropCIs")
chapter2 <- c("epitools", "gmodels", "vcd", "vcdExtra")
chapter3 <- c("gam", "car", "statmod")
chapter4 <- c("mfx", "pROC", "plotROC")
chapter5 <- c("MASS", "leaps", "bestglm", "profileModel", "detectseparation"
              "MCMCpack", "logistf")
chapter6 <- c("VGAM")
chapter8 <- c("gee", "multgee", "psych")
chapter9 <- c("geepack")
chapter10 <- c("lme4", "poLCA")
chapter11 <- c("rpart", "rpart.plot", "gplots", "glmnet")

install.packages(c(chapter1, chapter2, chapter3, chapter4, chapter5, chapter6,
  chapter7, chapter8, chapter9, chapter10, chapter11))

if (!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("tjmckinley/BayesOrd")
  1. Push the Build Book button (on the Build Tab) in the upper right window pane.
    • If you don't see the build Tab restart R Studio.

Chapter 99

Chapter 99 contains Ray's cheetsheet for R Markdown.

The file called ocAME.R

This repository contain a function called ocAME which Ray extracted from http://users.stat.ufl.edu/~aa/articles/agresti_tarantola_appendix.pdf.

agresti_introtocategorical's People

Contributors

raymondbalise avatar

Watchers

 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.