Scatterplots with a fitted line
This is pretty straightforward in Stata. This is a variation of a figure that I made for a JAMA Internal Medicine paper. (I like to think that the original figure was publication […]
This should be more simple.
Epidemiology and biostatistics are awash with synonyms and each institution has its own preferred nomenclature to describe the same general concepts. I started this page as a central […]
Dot and confidence interval figures in Stata
Stata has a pretty handy -twoway dot- code that can be combined with -twoway rcap- to make the code below. The only annoying thing is that -twoway dot- inserts a line […]
Making a horizontal stacked bar graph in Stata
I spent a bit of time making a variation of this figure today. (The data here are made up.) I’m pleased with how it came out. I first tried to use the -graph bar, […]
Learn to love NHANES
NHANES is a robust, nationally-representative cross-sectional study. For the past ~18 years it sampled different communities across the US in 2 year continuous cycles. A few of these years […]
I came across the excellent text-to-speech app, ClipSpeak, last week. It’s a freeware program that you can download here.
Installing and opening ClipSpeak
I extracted the .zip file to my desktop and created a […]
New in MS Word 365 is Read Aloud. It’s a pretty straightforward, stripped down/simplified text-to-speech (TTS) tool. If you have dyslexia or otherwise are having a difficult time finding typos in your work, try […]
I took the Stata programming class at the Johns Hopkins School of Public Health during grad school It was taught by Dorry Segev. If you are at the school, I highly, highly, highly recommend taking it and doing a […]
I’m not an organized person by nature. However, I’m the kind of guy that likes to implement systems to overcome problems. In medical school, I didn’t have any sort of structure for my projects and found it […]
I’m a big fan of Tomighty. I have installed and used it extensively for the past year. It’s a simple timer for use with the Pomodoro technique. It helps maximize productivity and focus.
How I use the Pomodoro […]
Here are a few simple Stata programs that will write a CSV file for your Table 1.
This has three parts:
Header (writes the first line of the table with names and the row with Ns),
Program for continuous […]