Christopher Jarvis's Avatar

Christopher Jarvis

@christopherjarvis.bsky.social

Operations Humanitarian Epidemiologist Researcher https://www.linkedin.com/in/c-jarvis/ https://github.com/jarvisc1 Trustee @Mapaction @AppliedEpi #Rstats #Statssky #Episky

189 Followers  |  320 Following  |  98 Posts  |  Joined: 18.11.2024  |  2.2617

Latest posts by christopherjarvis.bsky.social on Bluesky

When I was an MSc student I made nearly all the figures for a paper just to get an acknowledgment. Iโ€™d love to meet that person now to discuss/berate them as to why they felt this was okay.

17.05.2025 08:12 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

A challenge I faced was push back from senior authors for adding junior authors who contributed more than most of the seniors. In extreme, seniors sent emails saying well done after submission and congrats after acceptance. Juniors at the least read the paper and provided useful comments.

17.05.2025 08:12 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Redirecting

Happy to share the publication of our work "Estimating social contact rates for the COVID-19 pandemic using Google mobility and pre-pandemic contact surveys", huge thanks to my co-authors @christopherjarvis.bsky.social @ngdavies.bsky.social @pietro-coletti.bsky.social Jantien Backer and John Edmunds

28.04.2025 07:46 โ€” ๐Ÿ‘ 12    ๐Ÿ” 6    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
What to do when someone dies - Canada.ca Dealing with a loss can be overwhelming. Our guide provides comprehensive information, resources and guidance related to survivor benefits and the steps to take in the case of a death.

You could argue USA is big and diverse but then Canada looks like it varies so they thought about using a quiz to help and they start off with support and kind words www.canada.ca/en/services/...

28.03.2025 07:00 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Variables must be named after the author in numerical order. Chris chris1 chris2 chris3 if you need to make a new one earlier on then add a letter chris1a

25.02.2025 10:26 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

No worries. If you get really stuck Iโ€™d be happy to have a call.

25.02.2025 09:31 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Chapter 1 Types of spatial data | Spatial Statistics for Data Science: Theory and Practice with R Spatial data are used across a wide range of fields to support decision-making, including environment, public health, ecology, agriculture, urban planning, economy, and society. These data arise...

This book cover all three types. www.paulamoraga.com/book-spatial...

25.02.2025 09:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

If the values at the locations are of interest, rather than the locations then you want to adjust for spatial correlation. This is where you used random effects models that account for spatial structure. Such as SAR, CAR, ICAR, BYM models. These fall in areal or geostatistics.

25.02.2025 09:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Point pattern analysis - Wikipedia

There are a couple of things: If the randomness youโ€™re interested is the location, which as youโ€™re calculating distances and analysing them thatโ€™s seems to be the case then you can look at point pattern analyses. en.m.wikipedia.org/wiki/Point_p...

25.02.2025 09:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Correcting for Edge Effects in Spatial Statistical Analyses Motivation for the research theme discussed in this chapter comes from the myriad of problems arising from dividing geographical landscapes into a finite number of areal units. Some of the more promin...

Okay if boundaries are your issue then you can look at edge effects. link.springer.com/chapter/10.1...

25.02.2025 09:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Hi @caprosser.com, the problem isn't quite clear to me. I'm not sure it's spatial. Isn't this the same as simulating height and then measuring how far all of them are from 10cm intervals then showing that some of them are nearer to a bunch of the intervals? and then correlations due to boundaries.

24.02.2025 20:40 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
A vanilla KMunicate-style Kaplanโ€“Meier graph from {kmunicate}. Key is the extended risk table showing the status of participants over time.

A vanilla KMunicate-style Kaplanโ€“Meier graph from {kmunicate}. Key is the extended risk table showing the status of participants over time.

Stata users: if you want to make โ€˜kmunicateโ€™-style Kaplanโ€“Meier graphs, Iโ€™ve just released a Stata package on GitHub.

To get it:
. net from raw.githubusercontent.com/tpmorris/kmu...
User feedback welcome!
1/

17.01.2025 13:58 โ€” ๐Ÿ‘ 34    ๐Ÿ” 15    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 1

This is a nice option that moves beyond lots of copy paste in your script and gets you closer to thinking about repeated patterns that you might eventually put in a package. #rstats

22.12.2024 08:28 โ€” ๐Ÿ‘ 6    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

And congrats! Last PhD paper back with revisions that took you a couple of hours is a big achievement!

18.12.2024 06:12 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Definitely, once youโ€™re used to submitting papers you realise a lot of these deadlines are arbitrary and if theyโ€™ve already sent out to reviewers and youโ€™re asked to respond then theyโ€™re pretty invested. I found asking for a month or more is accepted with no fuss.

18.12.2024 06:11 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

After Iโ€™ve said this, I realise itโ€™s a the same system we use for driving tests in the UK. My motivation is that I want to cause the authors the least amount of work required for the paper to be publishable. Plus what I might think takes hours takes them weeks or vice versa.

18.12.2024 06:06 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I think of major as if you donโ€™t address this then Iโ€™ll probably reject the paper. Then minor is suggestions that Iโ€™ll let pass unless you ignore lots of them. The amount of time they take is secondary to me, I think of them as importance.

18.12.2024 05:59 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

My fav shortcut is alt+shift+k which shows you all the shortcuts.

17.12.2024 12:33 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Then sometimes you have loads of computers (docker images) that you want to switch on many times (containers) so you use something like Kubernetes to manage all of that for you.

17.12.2024 12:19 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
An Introduction to Docker for R Users A quick introduction on using Docker for reproducibility in R.

I like this intro colinfay.me/docker-r-rep...

And tugboat is here www.dmolitor.com/tugboat/

The mains bits are the dockerfile which records how you want to set your computer up (the image) and the docker-compose file which allows you to build the computer, and also switch it on (a container).

17.12.2024 12:19 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I found #docker mysterious until I thought of it like buying a laptop setting it up exactly how I need and then handing it over to another person. Then dockerhub is like the post office that takes my laptop and delivers it to others. Tugboat makes it pretty easy to do in #rstats

17.12.2024 12:19 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Left hand side has a complex formulate for multi-level models, the right hand side has code to count up the number of rows in a group in dplyr.

Left hand side has a complex formulate for multi-level models, the right hand side has code to count up the number of rows in a group in dplyr.

I feel like I started my #stats journey wanting to do lots of fancy multi-level, spatial, and Bayesian models. Then I'm now happy if I can produce a useful count, that I understand and can clearly explain.

In many ways knowing the complex stuff just gave me permission to do simple things. #rstats

17.12.2024 10:48 โ€” ๐Ÿ‘ 8    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

Hereโ€™s some proof

bsky.app/profile/chri...

12.12.2024 21:52 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I like to leave them all blank and leave interpretation to the reader.

12.12.2024 21:43 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Glad to see @mapaction.bsky.social is now on Bluesky #gis #humanitarian #emergencyresponse #informationmanagement

10.12.2024 19:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Cool how often are you using it? I find dput useful but Iโ€™m not using it a lot, so a bit unsure about installing another package. Maybe there are some use cases I havenโ€™t thought about?

10.12.2024 16:02 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

I was chatting with a colleague about their #PhD viva on #spatialstats and I showed them this diagram that I made as as part of my thesis to help me understand the building blocks of #spatial models, especially for #inla. #statssky. pg 254 tinyurl.com/3ymp26p3

10.12.2024 14:54 โ€” ๐Ÿ‘ 4    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Today I learned that the R in #RShiny is doing a lot of the heavy lifting in that hashtag. #shinyisnotjustR #Rstats

09.12.2024 18:34 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Knuth, one of the greats in CS history, famously said, "Premature optimization is the root of all evil...in programming." Only a small % of R apps need to be efficient. But they all need to be correct, and often loops etc. are clearer and thus more likely to be correct. Anti-loop mania is bad for R.

09.12.2024 16:41 โ€” ๐Ÿ‘ 9    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Do you have any publicly available that you use on github?

09.12.2024 13:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@christopherjarvis is following 20 prominent accounts