Regression models with tab_reg(): reference28 days ago
1. What a regression table is | The outcome's type chooses the model and the observed quantity to compare with | Every outcome has an observed counterpart | An ordered outcome: what changes when you adjust | A nominal outcome: the crude number rides in the cell | A summed score | How to read it — and how not to | 2. The four arguments: family, link, measure, effect | The four arguments, in plain words | Which model an outcome can be fitted with | What each measure reports, from any of them | What the header words mean | The one argument that changes the model: link | Caveats worth knowing | Asking your own outcome | 3. One part per kind of outcome | Logistic regression (a binary factor) | Reading the same model in another measure | Percentage points: measure = "difference" | "How many times as likely?": measure = "ratio" | The odds ratio, made comparable: measure = "odds_ratio" on a prediction route | The other risk ratio: link = "ratio" | Linear regression (a numeric outcome) | Poisson regression (a count outcome) | Grouped-binomial outcomes (a summed score) | Ordinal and nominal outcomes (a factor with 3+ levels) | 4. Reading what adjustment did | Colouring what adjustment did | One warning about odds ratios | Is the gap bigger than noise? | For the record: what exactly is tested | 5. Shaping the table | Fine-tuning the display, and scaling a predictor | The reference a predictor's effect is measured from | Interactions: one predictor's effect depending on another | A continuous predictor: slopes within groups | The scale carries the interaction | Three ways to get this wrong | Comparing several models | The same model within sub-populations | Weighted and survey data | 6. Checking the model | Reading the footer statistics | The five model checks | The shape of a continuous predictor | Curing a shape | The check plots: reg_check_plots() | 7. Plots | The results: forest_plot() | Observed versus modelled, drawn honestly | Where to go next
tabxplor 2.0.1Brice Nocenti tabxplor-reg.Rmd