Advertisement · 728 × 90
#
Hashtag

#psy6136

Advertisement · 728 × 90
Post image Post image Post image Post image

My last lecture for #psy6136, Categorical Data Analysis,
"The Last Waltz" summarizes much of the content &points to
areas I could cover in a longer course (Bayesian, multilevel data, LCA, ...)
[Hardly anyone got the Last Waltz -- The Band reference 🥲]

Slides: friendly.github.io/psy6136/lect...

2 0 0 0
Post image Post image Post image Post image

#rstats #dataviz #psy6136
Lecture 9 for my course in Categorical Data Analysis-- Count Data Models
📋 Materials: friendly.github.io/psy6136/#GLM...
🎞️ Slides: friendly.github.io/psy6136/lect...

29 6 1 0

Less likely to need flashing like if they come with effective plots. Interpreting coefficients? OK, but so old school
#psy6136 lecture this week on Count Data models.
friendly.github.io/psy6136/

0 0 1 0
Overiew of logistic regression models for polytomous responses: Proportional odds model, nested logit model, multinomial logit model

Overiew of logistic regression models for polytomous responses: Proportional odds model, nested logit model, multinomial logit model

Post image Plot of predicted probabilities of levels of womens' labor force participation for a nested logit model

Plot of predicted probabilities of levels of womens' labor force participation for a nested logit model

#rstats #dataviz #psy6136
Lecture 6 for my course in Categorical Data Analysis-- Extending Logistic Regression (polytomous responses)

Materials: friendly.github.io/psy6136/#Log...
Slides: friendly.github.io/psy6136/lect...

8 2 0 0
Title slide for lecture on Deep Questions of Data Visualization. It shows three types of stimuli (conch pie charts, granola bar charts and shrimp start charts) in an underwater scene with icons for sharks, turtles and stringrays

Title slide for lecture on Deep Questions of Data Visualization. It shows three types of stimuli (conch pie charts, granola bar charts and shrimp start charts) in an underwater scene with icons for sharks, turtles and stringrays

Slide illustrating the design of an experiment comparing conch pie charts, granola bar charts presented to sharks as subjects

Slide illustrating the design of an experiment comparing conch pie charts, granola bar charts presented to sharks as subjects

Extended experiment, adding shrimp start charts as stimuli and stingrays as subjects

Extended experiment, adding shrimp start charts as stimuli and stingrays as subjects

The author, celebrating the Red Stripe Award from the Deep Questions Research Institute

The author, celebrating the Red Stripe Award from the Deep Questions Research Institute

#rstats #dataviz #psy6136
BONUS lecture for my course in Categorical Data Analysis-- Deep Questions of Data Visualization

First ever study of graphical preferences among marine animals!! 🦈🐢🐟

WINNER of the Red Stripe Award, 2026!! 🎖️🎖️

Slides: friendly.github.io/psy6136/lect...

7 0 0 0
A slide on the age-old question. One panel shows two buttons labelled Plot first? Fit first? The second panel shows a person wiping his head, with the caption, "I can plot-fit-plot"

A slide on the age-old question. One panel shows two buttons labelled Plot first? Fit first? The second panel shows a person wiping his head, with the caption, "I can plot-fit-plot"

I'm revising a lecture on extensions of logistic regression for my #psy6136 #CDA course and thought I'd share this slide on t he age-old question:

PLOT FIRST?
FIT FIRST?

It captures a course theme that data analysis is an iterative process, involving a loop of graphing and model fitting.

7 1 2 0
Post image Post image Post image

#rstats #dataviz #psy6136
Lecture 6 for my course in Categorical Data Analysis-- Logistic Regresson

Materials: friendly.github.io/psy6136/#Log...
Slides: friendly.github.io/psy6136/lect...

11 3 0 0
Post image Post image Post image

#rstats #dataviz #psy6136
Lecture 5 for my course in Categorical Data Analysis-- Correspondence Analysis
Materials: friendly.github.io/psy6136/#Cor...
Slides: friendly.github.io/psy6136/lect...

8 2 0 0
Post image Post image Post image

#rstats #dataviz #psy6136
Lecture 4 for my course in Categorical Data Analysis-- Loglinear models and Mosaic displays -- one of my fav topics

Slides: friendly.github.io/psy6136/lect...

15 0 1 0
R Functions for Categorical Data Analysis

#rstats #dataviz #psy6136
I added a new page to my CDA course web site, friendly.github.io/psy6136/R-fu... giving an overview of the R functions in various packages related to the course topics, a kind of extended cheatsheet.

8 3 0 0
Post image Post image

#rstats #dataviz #psy6136
vcdExtra::color_table() is coming along nicely. Now, display either cell frequencies or residuals, with shading representing associations that remain after fitting some model.

0 0 0 0
Post image

#rstats #dataviz #psy6136
Here's an example of what I'm trying to create for shading by residuals from a model (complete independence)

1 0 0 0
Post image Post image

#rstats #dataviz #psy6136
NEW in {vcdExtra} 📦 dev version: function color_table() produces colorized versions of flattened n-way frequency tables, (with gt 📦) shading the background of cells according to frequency or residuals from a loglinear model.
[Still a WIP]

19 1 2 0
Mosaic plot of hair color and eye color, with points ~ observed frequency
Code:
install.packages("vcdExtra", repos = c('https://friendly.r-universe.dev')
HairEye <- margin.table(HairEyeColor, 2:1)
mosaic(HairEye,
       shade = TRUE, legend = FALSE,
       labeling = labeling_points(scale = 2, seed = 42))

Mosaic plot of hair color and eye color, with points ~ observed frequency Code: install.packages("vcdExtra", repos = c('https://friendly.r-universe.dev') HairEye <- margin.table(HairEyeColor, 2:1) mosaic(HairEye, shade = TRUE, legend = FALSE, labeling = labeling_points(scale = 2, seed = 42))

ALT: Mosaic plot of hair color and eye color, with points ~ expected frequency
Code:
mosaic(HairEye,
       type = "expected"
       shade = TRUE, legend = FALSE,
       labeling = labeling_points(scale = 2, seed = 42))

ALT: Mosaic plot of hair color and eye color, with points ~ expected frequency Code: mosaic(HairEye, type = "expected" shade = TRUE, legend = FALSE, labeling = labeling_points(scale = 2, seed = 42))

#rstats #psy6136
NEW in {vcdExtra} 📦 dev version: labeling_points() plots points in the tiles of mosaic diplays showing obs or expected freq, with tiles ~ observed or expected.

Variations in density show pattern of association.
Something I've wanted to do for a long time!
(code in ALT)

6 0 1 0
Post image Post image

#rstats #dataviz #psy6136
Lecture 3 for my course in Categorical Data Analysis, on two-way tables: Tests & visualization

Slides: friendly.github.io/psy6136/lect...

19 0 1 1
Preview
Conceptual and Visual Models for Categorical Data A dynamic conceptual model for categorical data is described that likens observations to gas molecules in a pressure chamber. In this physical model frequency corresponds to pressure, and fitting...

#rstats #datatviz #psy6136
Updating a lecture for my CDA course, I recalled an old paper of mine on why frequency tables naturally area ~ count.

There's a lovely physical analog of gas molecules under pressure that explains everything!
www.tandfonline.com/doi/abs/10.1...
🧵1/4

9 1 1 0
Post image Post image

#rstats #dataviz #psy6136
Lecture 2 for my course in Categorical Data Analysis, on discrete distributions
Slides: friendly.github.io/psy6136/lect...

12 0 0 0
Post image Post image

#rstats #dataviz #psy6136
Gave the first lecture for my course in Categorical Data Analysis

Slides: friendly.github.io/psy6136/lect...

22 5 0 1

#rstats #dataviz #psy6136
Nice separation of greater / less words.
What other way of sorting the words would make any pattern clearer?

2 0 1 0
Psy 6136: Categorical Data Analysis

📊 #psy6136 I'll post some weekly highlights.
Course materials (lecture slides, #rstats examples, etc.) are available at: friendly.github.io/psy6136/
but still being revised.

10 0 0 0
Post image Post image

ANNOUNCE: #dataviz #rstats #psy6136 📊
This winter I'm teaching a new instance of my course on Categorical Data Analysis, featuring analysis and
visualization methods for frequency data and model-based methods (loglinear models, logistic/Possion regression).

22 6 1 0