Sam Ellis's Avatar

Sam Ellis

@samellisq.bsky.social

Lecturer at the University of Exeter. Interested in general but especially in life history evolution and social behaviour.

998 Followers  |  114 Following  |  14 Posts  |  Joined: 24.04.2024  |  1.7457

Latest posts by samellisq.bsky.social on Bluesky

Post image

We are hiring - PDRA position exploring how information access shapes social dynamics in killer whales. Collaboration with @samellisq.bsky.social @drwhale.bsky.social Prof Dan Franks (York) start 1st Nov (or ASAP) end 31st Oct 2028. Apps close on 19th Oct.

www.jobs.ac.uk/job/DOT336/p...

23.09.2025 18:29 β€” πŸ‘ 30    πŸ” 44    πŸ’¬ 1    πŸ“Œ 5
Models as Prediction Machines: How to Convert Confusing Coefficients into Clear Quantities

Abstract
Psychological researchers usually make sense of regression models by interpreting coefficient estimates directly. This works well enough for simple linear models, but is more challenging for more complex models with, for example, categorical variables, interactions, non-linearities, and hierarchical structures. Here, we introduce an alternative approach to making sense of statistical models. The central idea is to abstract away from the mechanics of estimation, and to treat models as β€œcounterfactual prediction machines,” which are subsequently queried to estimate quantities and conduct tests that matter substantively. This workflow is model-agnostic; it can be applied in a consistent fashion to draw causal or descriptive inference from a wide range of models. We illustrate how to implement this workflow with the marginaleffects package, which supports over 100 different classes of models in R and Python, and present two worked examples. These examples show how the workflow can be applied across designs (e.g., observational study, randomized experiment) to answer different research questions (e.g., associations, causal effects, effect heterogeneity) while facing various challenges (e.g., controlling for confounders in a flexible manner, modelling ordinal outcomes, and interpreting non-linear models).

Models as Prediction Machines: How to Convert Confusing Coefficients into Clear Quantities Abstract Psychological researchers usually make sense of regression models by interpreting coefficient estimates directly. This works well enough for simple linear models, but is more challenging for more complex models with, for example, categorical variables, interactions, non-linearities, and hierarchical structures. Here, we introduce an alternative approach to making sense of statistical models. The central idea is to abstract away from the mechanics of estimation, and to treat models as β€œcounterfactual prediction machines,” which are subsequently queried to estimate quantities and conduct tests that matter substantively. This workflow is model-agnostic; it can be applied in a consistent fashion to draw causal or descriptive inference from a wide range of models. We illustrate how to implement this workflow with the marginaleffects package, which supports over 100 different classes of models in R and Python, and present two worked examples. These examples show how the workflow can be applied across designs (e.g., observational study, randomized experiment) to answer different research questions (e.g., associations, causal effects, effect heterogeneity) while facing various challenges (e.g., controlling for confounders in a flexible manner, modelling ordinal outcomes, and interpreting non-linear models).

Figure illustrating model predictions. On the X-axis the predictor, annual gross income in Euro. On the Y-axis the outcome, predicted life satisfaction. A solid line marks the curve of predictions on which individual data points are marked as model-implied outcomes at incomes of interest. Comparing two such predictions gives us a comparison. We can also fit a tangent to the line of predictions, which illustrates the slope at any given point of the curve.

Figure illustrating model predictions. On the X-axis the predictor, annual gross income in Euro. On the Y-axis the outcome, predicted life satisfaction. A solid line marks the curve of predictions on which individual data points are marked as model-implied outcomes at incomes of interest. Comparing two such predictions gives us a comparison. We can also fit a tangent to the line of predictions, which illustrates the slope at any given point of the curve.

A figure illustrating various ways to include age as a predictor in a model. On the x-axis age (predictor), on the y-axis the outcome (model-implied importance of friends, including confidence intervals).

Illustrated are 
1. age as a categorical predictor, resultings in the predictions bouncing around a lot with wide confidence intervals
2. age as a linear predictor, which forces a straight line through the data points that has a very tight confidence band and
3. age splines, which lies somewhere in between as it smoothly follows the data but has more uncertainty than the straight line.

A figure illustrating various ways to include age as a predictor in a model. On the x-axis age (predictor), on the y-axis the outcome (model-implied importance of friends, including confidence intervals). Illustrated are 1. age as a categorical predictor, resultings in the predictions bouncing around a lot with wide confidence intervals 2. age as a linear predictor, which forces a straight line through the data points that has a very tight confidence band and 3. age splines, which lies somewhere in between as it smoothly follows the data but has more uncertainty than the straight line.

Ever stared at a table of regression coefficients & wondered what you're doing with your life?

Very excited to share this gentle introduction to another way of making sense of statistical models (w @vincentab.bsky.social)
Preprint: doi.org/10.31234/osf...
Website: j-rohrer.github.io/marginal-psy...

25.08.2025 11:49 β€” πŸ‘ 943    πŸ” 283    πŸ’¬ 48    πŸ“Œ 19

Pleasure and honour to have the opportunity to discuss some of the work we have been doing on over the last few years.

Thanks to @behaviour2025.bsky.social for the invite (and great conference), @asab.org for the funding and everyone who turned up to listen at 9am on day 5.

29.08.2025 10:25 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

Animal Behaviour from Exeter and Bristol, plus some of our alumni, went to @behaviour2025.bsky.social in Kolkata and had mountains of rice. @crab-exeter.bsky.social @bristolbiosci.bsky.social @uniexecec.bsky.social

27.08.2025 17:15 β€” πŸ‘ 27    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0
Post image

It was a real pleasure to have accidently been involved in Joe Wilde's (not here) paper published last week: doi.org/10.1098/rspb...

It has terrifying Bayesian Hidden Markov Models, important insights about dynamic sexual signalling, and a robot crab called "Wavey Dave"- what's not to love?

20.08.2025 08:53 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

BEHAVIOR IS THE WAY

07.08.2025 17:16 β€” πŸ‘ 25    πŸ” 9    πŸ’¬ 0    πŸ“Œ 0
Five misunderstandings in animal social network analysis

πŸ’πŸ•ΈοΈ New preprint! Confused about how to model animal social networks?

ASNA can be confusingβ€”but also full of opportunity. We break down 5 common misunderstandings in animal social network analysis and share solutions from behavioural ecology, anthro, stats, & network science. Hope it helps!

A 🧡

04.08.2025 16:21 β€” πŸ‘ 43    πŸ” 23    πŸ’¬ 2    πŸ“Œ 3

I learned a lot working on this new paper with this group of network scientists, sociologists, anthropologists and behavioural ecologists. We're hoping it helps anyone who feels (understandably!) lost in the animal social networks weeds.

06.08.2025 14:39 β€” πŸ‘ 25    πŸ” 8    πŸ’¬ 0    πŸ“Œ 0

Loved listening to this discussion, and so pleased our research on the gorillas monitored by @savinggorillas.bsky.social, led by the fantastic Vic Martignac is resonating with so many!

06.08.2025 11:01 β€” πŸ‘ 5    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Post image

β€ͺCome join us at the @asab.org Winter Conference 2025: how sensory info affects behaviour.

15th & 16th Dec, abstracts due end Aug. More info and registration asabwinter.github.io/2025

Co-hosted with @jtroscianko.bsky.social and Innes Cuthill

29.07.2025 16:50 β€” πŸ‘ 24    πŸ” 11    πŸ’¬ 1    πŸ“Œ 0
Comic. [two people in labcoats look at body pierced with blade draped over bench] PERSON 1: We found him lying uncomformably on the lab bench. I wonder if the iron-rich intrusion in his back is related. PERSON 2 with ponytail: It could be clastic. Maybe a rift opened in his body, and the intrusive material later fell into the hole. [caption] The Geology Department Investigates Their First Murder

Comic. [two people in labcoats look at body pierced with blade draped over bench] PERSON 1: We found him lying uncomformably on the lab bench. I wonder if the iron-rich intrusion in his back is related. PERSON 2 with ponytail: It could be clastic. Maybe a rift opened in his body, and the intrusive material later fell into the hole. [caption] The Geology Department Investigates Their First Murder

Geology Murder

xkcd.com/3112/

09.07.2025 01:19 β€” πŸ‘ 5777    πŸ” 876    πŸ’¬ 50    πŸ“Œ 38
Video thumbnail

Our #study finds that #male #dominance isn't the norm among #primates, and starts to unravel what shapes flexibility in intersexual power

paper (OA) https://www.pnas.org/doi/10.1073/pnas.2500405122

press release https://www.mpg.de/24986976/0630-evan-beyond-the-alpha-male-150495-x?c=2249

08.07.2025 13:55 β€” πŸ‘ 75    πŸ” 50    πŸ’¬ 3    πŸ“Œ 2
5-panel comic. (1) [teacher with long hair next to whiteboard] TEACHER: I’m supposed to give you the tools to do good science. (2) [teacher addressing students] But what *are* those tools? Methodology is hard and there are so many ways to get incorrect results. What is the magic ingredient that makes for good science? (3) TEACHER: To figure it out, I ran a regression with all the factors people say are important: [embedded list in sub-panel, cut off at end] Outcome variable: correct scientific results. Predictors: collaboration; skepticism of others’ claims; questioning your own beliefs; trying to falsify hypotheses; checking citations; statistical rigor; blinded analysis; financial disclosure; open data (4) TEACHER: The regression says two ingredients are the most crucial: 1) genuine curiosity about the answer to a question, and 2) ammonium hydroxide. (5) STUDENT: Wait, why did *ammonia* score so high? How did it even get on the list? LONG HAIR: ...And now you’re doing good science!

5-panel comic. (1) [teacher with long hair next to whiteboard] TEACHER: I’m supposed to give you the tools to do good science. (2) [teacher addressing students] But what *are* those tools? Methodology is hard and there are so many ways to get incorrect results. What is the magic ingredient that makes for good science? (3) TEACHER: To figure it out, I ran a regression with all the factors people say are important: [embedded list in sub-panel, cut off at end] Outcome variable: correct scientific results. Predictors: collaboration; skepticism of others’ claims; questioning your own beliefs; trying to falsify hypotheses; checking citations; statistical rigor; blinded analysis; financial disclosure; open data (4) TEACHER: The regression says two ingredients are the most crucial: 1) genuine curiosity about the answer to a question, and 2) ammonium hydroxide. (5) STUDENT: Wait, why did *ammonia* score so high? How did it even get on the list? LONG HAIR: ...And now you’re doing good science!

Good Science

xkcd.com/3101/

12.06.2025 20:28 β€” πŸ‘ 3528    πŸ” 633    πŸ’¬ 24    πŸ“Œ 34

🚨Anyone want a job?🚨
We have two #postdocs up for grabs! πŸ§ͺ
- cell developmental biology/#evodevo/#neuroevodevo
- bioinformatics and molecular biology
Both working on brain evolution in Heliconiini butterflies
Details below! Please repost πŸ™ 1/n

04.06.2025 09:51 β€” πŸ‘ 67    πŸ” 96    πŸ’¬ 1    πŸ“Œ 7

Thanks to the editors and reviewers for their support, comments and forbearance over the years (!, I might have underestimated how my first couple of years of teaching would impact my time to respond to reviewers...)

06.06.2025 10:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Using this method we were able to estimate the lifespans of 32 Female and 33 Male species of toothed whale. Data and methods in these R packages:

github.com/samellisq/ma...
github.com/samellisq/ma...

06.06.2025 10:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

In the paper we develop Bayesian methods to infer the underlying mortality function of toothed whales from age-structured data, while carrying through potential sources of error into the final estimates.

06.06.2025 10:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Very excited to see our paper using historical data to infer toothed whale lifespans published this week in the Biological Journal of the Linnaean Society (@biojlinnsoc.bsky.social)

doi.org/10.1093/biol...

w. @darrencroft.bsky.social @drwhale.bsky.social @mialybkaer.bsky.social, Dan Franks

06.06.2025 10:14 β€” πŸ‘ 22    πŸ” 11    πŸ’¬ 2    πŸ“Œ 0
Post image

How good is it to get work with this lovely group of people in @crab-exeter.bsky.social every day? Answer: really really good!

13.05.2025 13:49 β€” πŸ‘ 11    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Post image

it's published! finally! in this week's newsletter: my attempt to go through every single reason why I both dislike and distrust generative AI: youngvulgarian.substack.com/p/11-things-... [free to read!]

09.05.2025 09:25 β€” πŸ‘ 469    πŸ” 128    πŸ’¬ 29    πŸ“Œ 60
A large wood ant, with a dull black gaster and head, and dull brown thorax, is on a pale stone background, and indicated by a blue arrow. Next to it a much smaller ant with a shiny back gaster and shiny brown head and thorax is indicated by a red arrow. The blue arrow at is the wood ant Formica lugubris and the red arrow at is the shining guest ant Formicoxenus nitidulus.

A large wood ant, with a dull black gaster and head, and dull brown thorax, is on a pale stone background, and indicated by a blue arrow. Next to it a much smaller ant with a shiny back gaster and shiny brown head and thorax is indicated by a red arrow. The blue arrow at is the wood ant Formica lugubris and the red arrow at is the shining guest ant Formicoxenus nitidulus.

Did you know about these tiny shiny ants (red arrow) living with wood ants (blue arrow)? They are Shining Guest Ants (Formicoxenus) and we have recently discovered that a wood ant nest can be home to several genetically distinct colonies of these 'guests'! onlinelibrary.wiley.com/share/author... 1/5

07.05.2025 13:49 β€” πŸ‘ 43    πŸ” 14    πŸ’¬ 2    πŸ“Œ 1
Powered by MHR

Postdoc job alert! I'm hiring a 3-yr postdoc to work on our Social Modifiers of Primate Lifespans grant. Job info and how to apply below. Deadline June 1. Pls share! jobs.exeter.ac.uk/hrpr_webrecr...

02.05.2025 15:43 β€” πŸ‘ 45    πŸ” 77    πŸ’¬ 1    πŸ“Œ 6
Preview
Group traits moderate the relationship between individual social traits and fitness in gorillas | PNAS Evidence across a broad range of disciplines has demonstrated how individuals’ social environments can impact their health, lifespan, reproduction,...

Thrilled to have the 1st project in my @snsf-ch.bsky.social Ambizione fellowship in @pnas.org this week. With Vic Martignac, @samellisq.bsky.social and @savinggorillas.bsky.social we asked what is a good social environment for a gorilla? And the answer was complicated... www.pnas.org/doi/10.1073/...

07.05.2025 15:24 β€” πŸ‘ 29    πŸ” 15    πŸ’¬ 2    πŸ“Œ 1
Post image

🐳 UPCOMING BOOK ALERT 🐬
The Evolution of Cetacean Societies

Edited by @darrencroft.bsky.social @andrewfoote.bsky.social @ellengarland.bsky.social and myself

Preorder available now
press.uchicago.edu/ucp/books/bo...

#whale #dolphin #animalbehaviour

26.03.2025 11:16 β€” πŸ‘ 117    πŸ” 36    πŸ’¬ 3    πŸ“Œ 6
Post image

Bake your paper! Research tech extraordinaire, Macaela Skelton, made a cake of (some of) the study sites in the MacaqueNet database. She ran out of decorations before she could do them all πŸ˜†. Link to the paper that's been cake-ified: besjournals.onlinelibrary.wiley.com/doi/10.1111/...

21.02.2025 15:03 β€” πŸ‘ 22    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0
Preview
MacaqueNet: Advancing comparative behavioural research through large‐scale collaboration We present MacaqueNet, a global community of macaque researchers who developed the first publicly searchable, standardised database on affiliative and agonistic behaviour. This cross-species database...

So exciting to see MacaqueNet out into the world! 🀩

Learn about our global community & database centralizing standardized affiliative & agonistic data from 61 populations across 14 macaque species: doi/10.1111/1365...

Explore >600 networks & request data: macaquenet.github.io/database/

12.02.2025 10:09 β€” πŸ‘ 132    πŸ” 72    πŸ’¬ 1    πŸ“Œ 12

Update: Abstract submission for #Behaviour2025 is now extended to Feb 15!

27.01.2025 16:07 β€” πŸ‘ 17    πŸ” 23    πŸ’¬ 0    πŸ“Œ 1
Post image

Recruiting a #PhD student to work on collective behaviour in real and artificial systems. Oct 2025 start. Working with @shoalgroup.bsky.social, Rob Heathcote, @willallennz.bsky.social, @joefresna.bsky.social, @marinapapap.bsky.social Advert: www.swansea.ac.uk/postgraduate...
Deadline: 24.02

27.01.2025 18:08 β€” πŸ‘ 22    πŸ” 25    πŸ’¬ 4    πŸ“Œ 0
Preview
Extinction of experience among ecologists Fieldwork-based research and education in ecology are under multiple threats and are progressively declining. We call for greater attention to this ongoing loss of direct field experience within the ecology community, as it could have widespread consequences for science and education, ultimately hindering efforts to address the ongoing biodiversity crisis.

Where are all the field studies?

This ⬇️ important but rather depressing paper describes how conducting, & crucially initiating, field studies is becoming harder & rarer.

A short 🧡 (and a call for more fieldwork)
www.cell.com/trends/ecolo...

10.01.2025 16:28 β€” πŸ‘ 212    πŸ” 152    πŸ’¬ 9    πŸ“Œ 25

+ two more with the BBSRC SW Bio

6. Using experients in wild rabbits to understand how and why social behaviour changes with age. Deadline: 11th Dec. More info & how to apply here: bpb-eu-w2.wpmucdn.com/blogs.bristo...

06.12.2024 14:45 β€” πŸ‘ 3    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

@samellisq is following 20 prominent accounts