Regression and other stories R examples
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AcademyAwards cleaning and initial make overs Feb 26, 2018
AgePeriodCohort load libraries -> load packages Nov 15, 2018
Arsenic don't load arm just for invlogit Nov 27, 2018
Balance load libraries -> load packages Nov 15, 2018
Beauty load libraries -> load packages Nov 15, 2018
Bypass Initial files from Andrew 2018-02-04 Feb 5, 2018
CausalDiagram load libraries -> load packages Nov 15, 2018
Coins Initial files from Andrew 2018-02-04 Feb 5, 2018
Congress load libraries -> load packages Nov 15, 2018
Coop load libraries -> load packages Nov 15, 2018
Coverage Rmd's + savefigs variable Aug 10, 2018
Cows Initial files from Andrew 2018-02-04 Feb 5, 2018
DataCollection load libraries -> load packages Nov 15, 2018
Death load libraries -> load packages Nov 15, 2018
DifferentSoftware load libraries -> load packages Nov 15, 2018
Earnings earnings_regression add seed Feb 6, 2019
ElectionsEconomy ElectionsEconomy - add summary of convergence diagnostics Jan 26, 2019
ElectricCompany updated ElectricCompany based on updates in the book Nov 27, 2018
FakeKCV load libraries -> load packages Nov 15, 2018
FakeMidtermFinal load libraries -> load packages Nov 15, 2018
FrenchElection load libraries -> load packages Nov 15, 2018
Gay load libraries -> load packages Nov 15, 2018
Girls Initial files from Andrew 2018-02-04 Feb 5, 2018
Golf don't load arm just for invlogit Nov 27, 2018
HDI load libraries -> load packages Nov 15, 2018
HealthExpenditure load libraries -> load packages Nov 15, 2018
Helicopters load libraries -> load packages Nov 15, 2018
Imputation load libraries -> load packages Nov 15, 2018
Interactions load libraries -> load packages Nov 15, 2018
Introclass y_fake -> final_fake Nov 15, 2018
KidIQ load libraries -> load packages Nov 15, 2018
Lalonde Initial files from Andrew 2018-02-04 Feb 5, 2018
LogisticLoo load libraries -> load packages Nov 15, 2018
LogisticPriors load libraries -> load packages Nov 15, 2018
LowBwt/data LowBwt new data Aug 5, 2018
Mesquite mesquite fixes Feb 6, 2019
Mile load libraries -> load packages Nov 15, 2018
NES load libraries -> load packages Nov 15, 2018
Names load libraries -> load packages Nov 15, 2018
Newcomb Newcomb: more ppc plots Jan 26, 2019
Peacekeeping load libraries -> load packages Nov 15, 2018
PearsonLee load libraries -> load packages Nov 15, 2018
Pew load libraries -> load packages Nov 15, 2018
Pollution Initial files from Andrew 2018-02-04 Feb 5, 2018
Poststrat don't load arm just for invlogit Nov 27, 2018
ProbabilitySimulation load libraries -> load packages Nov 15, 2018
Pyth Initial files from Andrew 2018-02-04 Feb 5, 2018
Redistricting Initial files from Andrew 2018-02-04 Feb 5, 2018
Restaurant load libraries -> load packages Nov 15, 2018
RiskyBehavior Initial files from Andrew 2018-02-04 Feb 5, 2018
Roaches roaches show prior summary Feb 6, 2019
Rodents Initial files from Andrew 2018-02-04 Feb 5, 2018
Rsquared added Rsquared Jan 26, 2019
SIS load libraries -> load packages Nov 15, 2018
Sesame New R code for Sesame based on the book Nov 27, 2018
SexRatio load libraries -> load packages Nov 15, 2018
SimpleCausal load libraries -> load packages Nov 15, 2018
Simplest use NULL priors Nov 15, 2018
Stents load libraries -> load packages Nov 15, 2018
Storable fixed a bug in storable plotting Feb 9, 2019
Unemployment Unemployment : improved ppc_stat plot Jan 26, 2019
Vitals updated Vitals Nov 27, 2018
.gitignore ignore more Mar 30, 2018
README.md small edit Sep 1, 2018
index.R added Fitting regression models chapter Jan 26, 2019
index.html added Fitting regression models chapter Jan 26, 2019

README.md

Regression and Other Stories - Data and code

"Regression and Other Stories" (by Andrew Gelman, Jennifer Hill, and Aki Vehtari) and "Applied Regression and Multilevel Models" (by Andrew Gelman, Jennifer Hill, Ben Goodrich, Jonah Gabry, and Aki Vehtari) together represent the updated and expanded second edition of "Data Analysis Using Regression and Multilevel/Hierarchical Models."

Regression and Other Stories book home page

This git repository has data and code for the examples and exercises in the book. Most of the examples are ready, but some examples are not yet finished and will be updated before the publication of the book. Some examples are waiting new features in the next release of rstanarm and some outputs of rstanarm will change in the next release of rstanarm. If you find any errors in code please make an issue or email Aki.Vehtari@aalto.fi.

Index and notebooks in html

For easier viewing the index and the notebooks in html are available at avehtari.github.io/RAOS-Examples.