Stata Conference July 12, 2019 Abigail S. Baldridge, MS

Slides:



Advertisements
Similar presentations
Collaborative Tools Sharing Knowledge: Media Wiki and other collaborative tools -- Matt Bellis Sharing Code: Distributed version control and social development.
Advertisements

Submitting Book Chapters via Manuscript Central A Short Guide for Wiley-VCH Authors.
Tutorial Introduction Fidelity NTSConnect is an innovative Web-based software solution designed for use by customers of Fidelity National Title Insurance.
Presented by Chad Kafka This Month’s Topic: Wikispaces Advanced Today’s session is an introduction to what a WIKI is and how they can be used in education.
Harold H. Collins Information Technology Specialist Epi Info™ Language Translation Process Korean Public Health Surveillance Conference 1 April 2011 Epi.
Object Linking and Embedding
Using a Template to Create a Resume and Sharing a Finished Document
Wiki Training: Introduction to Instructor: Zach Silveira (415)
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
Intro to Google Docs Table of Contents Video What is Google Docs? What can you do with it? Creating a new document Uploading an existing document.
Using PTOManager.co m to create a Student Directory May 4, 2009 L.P.S. VIPS Meeting.
Mrs. Knopp Library Media Specialist.  The term wiki comes from the phrase Wiki- Wiki which is the Hawaiian word for quick.  A wiki is a website that.
Student Quick Start Guide Prepared by: Information Services Division Perpustakaan Sultan Abdul Samad Universiti Putra Malaysia
KW Advanced Agent Website Training April, What We will Discuss Using hyperlinks to your “contact me/us page” Which color boxes control what areas.
Doc.: IEEE /1091-r0 SubmissionGuenael Strutt, Jan KruysSlide 1 July 2006 Interworking Considerations Date: Authors: Notice: This document.
How to Embed a YouTube Video into a PowerPoint Presentation. Eric Hoehn TEC /1/10.
Poster Print Size: This poster template is 36” high by 48” wide. It can be used to print a Tri-Fold poster with 12” wings. Placeholders: The various elements.
Guidelines for submission of accepted manuscripts Frontiers in Bioscience.
Jacynthe Touchette, MSI JGH Health Sciences Library
Charity Fund for Sudanese Students in Nanjing
INT’L FORMATTING WORKSHOP
General Adult Education and
- A “Portable” Implementation
Development Environment
John Metz and Jeff Potts Michigan’s A. E. R. Annual Conference 2017
Software.
How to download premium android apps and games
The Orientation Toolkit for CARE Offices
Computing Fundamentals
CaRT eCapacity Initiative Ghana Productivity Apps
Microsoft office setup tech support
Implementation of Cognitive Interviewing Standards at NCHS
A Digital Tool for the Classroom
Excel-to-PowerPoint Document Automation
Adding Assignments and Learning Units to Your TSS Course
Collaboration with Google Docs
TITLE OF RESEARCH STUDY
File Stream and Team Drives
TITLE OF RESEARCH STUDY
SchoolFront - Notifications Training
INT’L FORMATTING WORKSHOP
TITLE OF POSTER (40 pt.) HOW TO USE THIS TEMPLATE (36 pt.)
TITLE OF RESEARCH STUDY
TITLE OF RESEARCH STUDY
TITLE OF RESEARCH STUDY
TITLE OF RESEARCH STUDY
TITLE OF RESEARCH STUDY
TITLE OF RESEARCH STUDY
New updates to: Career Express – Job Opportunities
TITLE OF RESEARCH STUDY
TITLE OF POSTER (40 pt.) HOW TO USE THIS TEMPLATE (36 pt.)
Back up in case I cannot connect.
TITLE OF POSTER (40 pt.) GRAPHICS + PHOTOS
TITLE OF RESEARCH STUDY
IEPPEC Conference Moderators
Patents e-Commerce Update: Public and Private PAIR
ICT Word Processing Lesson 5: Revising and Collaborating on Documents
Mendeley Overview VISHAL GUPTA Customer Consultant South Asia
TITLE OF RESEARCH STUDY
Design Brief.
Ecosystem Status Report: collaborating with IPython Notebooks
Patents e-Commerce Update: Public and Private PAIR
TITLE OF RESEARCH STUDY
Travel Expenses Tool Instruction Manual
EFIS update/status EFISMG(13)29 32nd meeting EFIS/MG
GRANT APPLICATION INSTRUCTIONS
Discover Google Docs The link to the presentation in case sensitive... Discover Google Docs
Mendeley Overview VISHAL GUPTA Customer Consultant South Asia
Chloe Riley | Research Commons Librarian |
Presentation transcript:

Connecting Stata and Microsoft Word using StatTag for Collaborative Reproducibility Stata Conference July 12, 2019 Abigail S. Baldridge, MS Presented to: Insert relevant presenter information Calibri 16pt Presented on: Month day, Year Presented by: Insert relevant presenter information here

Acknowledgements and Disclosures StatTag Team Leah J. Welty, Project Director Luke V. Rasmussen, Lead Software Developer Eric W. Whitley, Software Developer Development of StatTag was supported, in part, by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number UL1TR001422 The content is solely the responsibility of the developers and does not necessarily represent the official views of the National Institutes of Health.

StatTag: A Reproducible Research Tool for Generating Dynamic Documents Using Microsoft Word and Stata Stata Conference July 29, 2016 Leah J. Welty, PhD Luke V. Rasmussen, MS Abigail S. Baldridge, MS Presented to: Insert relevant presenter information Calibri 16pt Presented on: Month day, Year Presented by: Insert relevant presenter information here

Getting to know StatTag Is it only for Word and Stata on Windows? Circa July 29, 2016 Stata SAS R Windows Now October 2016 April 2017 Mac Late 2016 X June 2017

Getting to know StatTag Is it only for Word and Stata on Windows? Circa July 29, 2016 Stata SAS R Windows Now October 2016 April 2017 Mac Late 2016 X June 2017 Today Stata SAS R R Markdown Python Matlab Windows Now Soon! Maybe? Mac X

Brief history of reproducible research The inconvenience of irreproducible research “In the mid-1980s, we realized that our laboratory’s researchers often had difficulty reproducing their own computations without considerable agony.” reproducible research as a field or focus is rooted in the inconvenience of irreproducible research. Jonathon Claerbout is recognized as a pioneer in reproducible research. He states … quote. I think many of us can think back on an occasion where this statement has applied to our own work, or at least to that of a colleague.

Brief history of reproducible research The inconvenience of irreproducible research High profile events have accelerated the interest and adoption of reproducible research in the scientific community. Retraction Watch even has a category for “not reproducible”. This may mean that the data cannot be replicated, or that the results, using the exact same data cannot be reproduced using the exact same methods. As we heard yesterday from Dr. Goodman, reproducible research as a field is broad and encompasses many facets of the research enterprise. In this talk, I am focusing on the methodologic reproducibility, meaning that given the data and methods, an individual can reproduce the results of another’s work or their own prior work.

Dynamic Documents: A Cornerstone of Reproducibility Why we love them The solution to this particular facet of reproducible research has long been generation of a dynamic document. A dynamic document blends text and analysis code in one plain text file. The plain text file is then rendered into a document or report. The dynamic document solves some challenges: bullets Numbers in document are updated automatically when data or models change. Eliminates copying and pasting output. Provides a link between a number in a manuscript and it’s provenance.

Tools for Generating Dynamic Documents A reproducible research workflow Methods and results are documented and reproducible Markdown knitR ODS Dyndoc MarkDoc Others … There are numerous tools available for generating dynamic documents, and this field is rapidly evolving. The workflow generally involves pairing of raw data with code written in a statistical programming language with some package or software for dynamic documents. The output is a document that blends manuscript text with results, which can be in many forms. evolving rapidly …

Dynamic Documents: A Cornerstone of Reproducibility Why we love them I can use reproducible research tools and dynamic produce a beautiful reproducible Word document that blends text with results. However, there are some limitations to this. First of all, I do not work with anyone who is willing to write in this type of document. My collaborators are primarily doctors who want to write in Word. I can send this beautiful Word document to my collaborators, and what they return to me usually looks like Everyone wants to write in Word Manuscript preparation is a collaborative process

Dynamic Documents: A Cornerstone of Reproducibility Why we love them “All text…should be in one double-spaced electronic document (preferably a Word Doc)” I can use reproducible research tools and dynamic produce a beautiful reproducible Word document that blends text with results. However, there are some limitations to this. First of all, I do not work with anyone who is willing to write in this type of document. My collaborators are primarily doctors who want to write in Word. I can send this beautiful Word document to my collaborators, and what they return to me usually looks like Everyone wants to write in Word Manuscript preparation is a collaborative process

Dynamic Documents: A Cornerstone of Reproducibility Why we love them “For submission and review, please submit the manuscript as a Word document. Do not submit your manuscript in PDF format.” I can use reproducible research tools and dynamic produce a beautiful reproducible Word document that blends text with results. However, there are some limitations to this. First of all, I do not work with anyone who is willing to write in this type of document. My collaborators are primarily doctors who want to write in Word. I can send this beautiful Word document to my collaborators, and what they return to me usually looks like Everyone wants to write in Word Manuscript preparation is a collaborative process

Dynamic Documents: A Cornerstone of Reproducibility Why we love them “Science prefers to receive files in Word’s .docx format.” I can use reproducible research tools and dynamic produce a beautiful reproducible Word document that blends text with results. However, there are some limitations to this. First of all, I do not work with anyone who is willing to write in this type of document. My collaborators are primarily doctors who want to write in Word. I can send this beautiful Word document to my collaborators, and what they return to me usually looks like Everyone wants to write in Word Manuscript preparation is a collaborative process

Practical Limitations of Dynamic Documents I send my collaborators the dynamic document…. I can use reproducible research tools and dynamic produce a beautiful reproducible Word document that blends text with results. However, there are some limitations to this. First of all, I do not work with anyone who is willing to write in this type of document. My collaborators are primarily doctors who want to write in Word. I can send this beautiful Word document to my collaborators, and what they return to me usually looks like

Practical Limitations of Dynamic Documents …. They send back: Two bad choices: Continue in Word, and loose the dynamic nature of the document. Re-enter all of their changes in my source file and re-render the document. This. I now have two choices, both of which are bad.

Tools for Generating Dynamic Documents Limitations of the workflow Methods and results are documented and reproducible Markdown knitR ODS Dyndoc MarkDoc Others … We have many tools available to take us from left to right. These tools however do not allow flexibility to move from right to left.

Tools for Generating Dynamic Documents An alternative approach Methods and results are documented and reproducible Herein is the motivation for StatTag. StatTag is a program that facilitates connection of statistical code with Microsoft Word. StatTag is used to identify code that output statistical results, either values, tables, figures or raw output and inserts those results within Word. Tracked changes and iterations do not break the process

What makes StatTag different? A different approach StatTag is a free plug-in for Microsoft Word (Windows) and app (Mac) StatTag creates links between the statistical output and the Word document Can work separately on the code and the Word document but retain links Software agnostic: connects Stata, SAS or R/R Markdown code and Word document Can connect multiple code files to the same document

StatTag: How it Works 1. Write your code in your favorite native code editor.

StatTag: How it Works 2. Open Word and write some or all of your text.

StatTag: How it Works 3. Use the StatTag Code Manager to connect your code file to the Word document.

StatTag: How it Works 4. Use the StatTag Tag Manager to identify “tags” – portions of output that you want to insert.

StatTag: How it Works 5. Use the StatTag Tag Manager to insert “tags” in your document.

StatTag: How it Works

StatTag: How it Works Video: https://www.youtube.com/watch?v=K3QwG4LB9a4

StatTag: Features Recognizes different key words to identify results.

StatTag: Features Recognizes different key words to identify results. Wraps lines of code in commented text, ignored by the statistical program and used by StatTag to control insertion and update of results **>>>ST:Value(Label=" ", Frequency="", Type="") [code] **<<< **>>>ST:Table(Label="", Frequency="", Type="", AllowInvalid=True, Decimals=0, Thousands=False)

StatTag: Features Recognizes different key words to identify results. Wraps lines of code in commented text, ignored by the statistical program and used by StatTag to control insertion and update of results Embedded tags appear as dark gray when highlighted

StatTag: Features Recognizes different key words to identify results. Wraps lines of code in commented text, ignored by the statistical program and used by StatTag to control insertion and update of results Embedded tags appear as dark gray when highlighted Double clicking on any tag opens the statistical code in the tag manager to view the provenance

Document Sharing & Data Security How does StatTag work when sharing a Word document with collaborators? If I have… I can… Review/edit manuscript text View code associated with a tag Insert or update a tag Microsoft Word   StatTag and Stata/SAS/R code Stata/SAS/R code and Data Concerns over PHI, PII? StatTag doesn’t store a copy of the data. StatTag will eventually store a read-only copy of code files

How to get StatTag Download distributed versions from our website: stattag.org

How to get StatTag Download distributed versions from our website: stattag.org Download the source files and contribute to development: github.com/StatTag

Questions? Visit stattag.org for more information Get involved! Contact us at stattag@northwestern.edu Questions Comments and suggestions Volunteer to test new releases

Thank you!