Author Archives: pmean

PMean: Recommended format for homework assignments

This page is moving to a new website.

I’m teaching a couple of classes, Introduction to R and Introduction to SAS, and I’m finding that students will turn in homework a variety of different ways. I’m fine with this up to a point, but I think that I should encourage a simple uniform approach, because out in the real world, your boss or your clients will not appreciate a haphazard and disorganized approach. Here’s a suggested format for homework assignments that will (hopefully) get you in the practice of turning into things in an organized fashion. Continue reading

Recommended: Good Publication Practice for Communicating Company-Sponsored Medical Research: GPP3

This page is moving to a new website.

Very little of my research fits into the category of company-sponsored medical research, but it is important to be aware of the special concerns and the extra oversight that this research requires. This article cover a consensus standard of guidelines that make a lot of sense, in my opinion, to avoid some of the recent controversies about research abuses. It is also a pretty good guideline, for the most part, for other medical research beyond company-sponsored research. Continue reading

PMean: Next stop, BMC Medical Informatics and Decision Making

This page is moving to a new website.

I’m working part-time on a research grant and I want to publish some of the work I’ve done on this grant. The title of the paper tentatively is “Validating elastic net generated electronic health record breast cancer phenotypes against hospital tumor registries: a case control study.” My co-authors are Dan Connolly and Russ Waitman. I want to summarize the history of the effort so far and why I am considering the BMC Medical Informatics and Decision Making as the next place to submit the article. Continue reading

Recommended: Textbook Examples Applied Survival Analysis

This page is moving to a new website.

I’m teaching an online workshop for The Analysis Factor on survival analysis. It’s not announced yet, and I have a LOT of work to do before it is ready. One thing that will save me time is that I am taking many of my examples from the excellent textbook, Applied Survival Analysis Second Edition. One nice perk of this book is that the helpful folks at UCLA have taken every textbook example, and written up code (with comments!) to reproduce the book’s results. With the exception of a few advanced methods in later chapters, where only one or two software packages have the right capability, the code is written in parallel in R, SAS, SPSS, and Stata. They also have links to the raw data at the publishers website, and datasets stored in SAS format and SPSS format. How nice! Browse around and you’ll find software code for all the examples in other popular statistics textbooks as well.

Warning! The R examples look like they are from the first edition, not the second edition. A small nitpick for an otherwise very nice resource. Continue reading

PMean: They want a short biography from me

This page is moving to a new website.

I should have titled this page “I’m a Star!” because the School of Medicine’s Marketing and Communications Office is asking me questions to prepare a short biography to highlight the research I’m doing. Actually, that office is talking to over a hundred researchers in the School of Medicine, so I’m not really a star after all. But here are the questions that they started with. I’ll reply by email and they may get more information by email or a face-to-face interview. Makeup! Continue reading

PMean: Exporting a graph in SAS

This page is moving to a new website.

I got a question about how to export a graph in SAS to a program like PowerPoint. There are several ways to do this, and I explained that you can right click on any graph that appears on your screen and copy it to the clipboard and then open up PowerPoint and right click on a slide and paste it in. That’s fairly standard on any Windows system. I presume that SAS supports similar approaches on the Macintosh and Linus, but I have no easy way of testing this.

But there are other ways to export a graph. You can tell SAS to save a particular graph to a file and then you can import that file into PowerPoint. It works, but there is a twist. Continue reading

Recommended: Getting Started with the SAS 9.4 Output Delivery System

This page is moving to a new website.

I don’t use SAS that much anymore. Not because it’s a bad program. Mostly it’s because it’s hard to keep on top of too many statistical packages all at once. But I’m teaching an Introduction to SAS class this semester, and I need to keep up with recent innovations. One of the more important of these is ODS, which is short for Output Delivery System. ODS allows you to customize the output using formats like HTML, RTF, PDF, or PostScript. ODS also produces PowerPoint and Excel files.

ODS also allows you to customize how your output appears. Finally, ODS makes some big changes to procedures that used to only produce printed output. With ODS enabled, these procedures will add in extra high resolution plots, which you can also customize.

I do not know if the Introduction to SAS class should incorporate ODS or not. It’s similar to asking if the Introduction to R class should incorporate markdown documents or not. In general, I tend to think that we should teach plain vanilla versions of SAS and R, but I do worry that we may be missing something important if we don’t teach ODS or markdown. Continue reading

PMean: Tests of equivalence and non-inferiority

This page is moving to a new website.

I’m making a webinar presentation in April for The Analysis Factor. I’ve done this several times in the past. The talk in April will be on tests of equivalence and non-inferiority, a topic which I have covered briefly in my newsletter. I thought I’d share a first draft of the abstract here on my blog. Continue reading