Original site: www.cdc.gov/epiinfo/user-guide/classic-analysis/introduction.html | RestoredCDC.org is an independent project, not affiliated with CDC or any federal entity. Visit CDC.gov for free official information. Due to archival on January 6, 2025, recent outbreak data is unavailable. Videos are not restored. Access data.restoredcdc.org for restored data. Use of this site implies acceptance of this disclaimer.

[More]
About Us Report Bug

RestoredCDC.org Comparison

Removed: Line removed from cdc.gov. Specific word removals are highlighted.
Added: Line added to cdc.gov. Specific word additions are highlighted.
Injected: Line or disclaimer added by RestoredCDC.org.
Unchanged: Line unchanged.
Original site: www.cdc.gov/epiinfo/user-guide/classic-analysis/classicanalysisintro.html?CDC_AA_refVal=https:/www.cdc.gov/epiinfo/user-guide/classic-analysis/Introduction.html | RestoredCDC.org is an independent project, not affiliated with CDC or any federal entity. Visit CDC.gov for free official information. Due to archival on January 6, 2025, recent outbreak data is unavailable. Videos are not restored. Access data.restoredcdc.org for restored data. Use of this site implies acceptance of this disclaimer.
[More]
About Us Report Bug Compare Content
Skip directly to site content Skip directly to search
Español | Other Languages
Here's how you know
An official website of the United States government Here's how you know
Epi Info™
Centers for Disease Control and Prevention. CDC twenty four seven. Saving Lives, Protecting People Epi Info™
Search
Search Menu Navigation Menu
Submit
Epi Info™
* Getting Started
+ BACK
Getting Started
+ System Requirements
+ Conventions Used in this Guide
+ Navigating Epi Info 7
+ Syntax Notations
+ Tech Support and Contacts
+ Acknowledgements
+ Epi Info™ Home
* Form Designer
+ BACK
Form Designer
+ Introduction
+ Navigate the Workspace
+ Open a Recent Project
+ Create a New Project
+ Tips Before You Begin
+ New Project from Template
+ New Form in Existing Project
+ Open Existing Project
+ Close Project
+ Pages
+ Undo/Redo
+ Check Code
+ Entering Data
+ Fields
o BACK
Fields
o BACK
Form Designer Fields
o Label/Title
o Text
o Text Uppercase
o Multiline
o Number
o Phone Number
o Date
o Time
o Date-Time
o Checkbox
o Yes-No
o Option
o Command Button
o Image
o Mirror
o Grid
o Legal Value
o Comment Legal
o Codes
o Relate
o Group
o Field Attributes
o Epi Info™ Home
+ Tab Order
+ Templates
+ Insert Line
+ Upgrade a Project
+ Make a PRJ File
+ Delete Data Tables
+ Data Dictionary
+ Make Form from Data Table
+ Epi Info™ Home
* Check Code
+ BACK
Check Code
+ Program Editor
+ Navigating the Editor
+ Check Code Commands
+ More Commands
+ EpiWeek Function
+ Check Code Syntax
+ Epi Info™ Home
* Enter Data
+ BACK
Enter Data
+ Navigate the Workspace
+ Entering Data
+ Save a Page or Record
+ Find Records
+ Epi Info™ Home
* Web Survey
+ BACK
Web Survey
+ System Deployment
+ Designing Forms for Web
+ Supported Field Types
+ Supported Commands
+ Check Code Performance
+ Web Survey Compatibility
+ Initial Setup
+ Publish a Form
+ Invite Participants
+ Access the Survey URL
+ Submitting Responses
+ Saving a Partial Survey
+ Importing Survey Results
+ Epi Info™ Home
* Companion for Android
+ BACK
Companion for Android
+ Initial Set Up
+ Designing for Mobile
+ Copy Form to Mobile Device
+ Mobile Data Collection
+ Data Transfer
+ Cloud Synchronization
+ StatCalc on Mobile Devices
+ Analyze Data
+ Epi Info™ Home
* Data Packager
+ BACK
Data Packager
+ Package for Transport
+ Import from Package
+ Epi Info™ Home
* Visual Dashboard
+ BACK
Visual Dashboard
+ Select Data Source
+ Analysis Gadgets
o BACK
Analysis Gadgets
o BACK
Visual Dashboard Analysis Gadgets
o Line List
o Frequency
o Word Cloud
o Combined Frequency
o M x N / 2 x 2 Table
o Matched Pair Case-Control
o Means
o Duplicates List
o Charts
o Advanced Statistics
o Epi Info™ Home
+ Working with Canvases
+ Defining Variables
+ Data Filters
+ Display and Gadget Filters
+ Data Dictionary
+ Report Gadgets
+ Epi Info™ Home
* Classic Analysis
+ BACK
Classic Analysis
+ Manage Data
+ ASSIGN Command
+ Manage Variables
+ Select Records
+ Display Stats and Records
+ Manage Output
+ User-Defined Commands
+ Create User Interaction
+ Advanced Statistics
+ Epi Info™ Home
* Maps
+ BACK
Maps
+ Basic Tools
+ Basic Functions
+ Save
+ Add a Data Layer
+ Case Cluster
+ Choropleth/Dot Density Maps
+ Base Layer
+ Epi Info™ Home
* Translation
+ BACK
Translation
+ How to Translate Epi Info
+ Create New Language MDB
+ Use Existing Language MDB
+ Choose a Language to Use
+ Epi Info™ Home
* Nutritional Anthropometry
+ BACK
Nutritional Anthropometry
+ The Nutrition Project
+ NutStat Growth Charts
+ Nutrition Functions
+ Epi Info™ Home
* StatCalc
+ BACK
StatCalc
+ Introduction
+ Tables (2 x 2, 2 x n)
+ Population Survey or Descriptive Study
+ Cohort and Cross-Sectional
+ Unmatched Case-Control
+ Chi Square for Trend
+ Poisson
+ Binomial
+ Matched Pair Case-Control
+ Visual Dashboard
+ OpenEpi
+ Epi Info™ Home
* Command Reference
+ BACK
Command Reference
+ Analysis Commands
o BACK
Analysis Commands
o BACK
Command Reference Analysis Commands
o ASSIGN
o BEEP
o Cancel SELECT
o Cancel SORT
o CLOSEOUT
o COXPH
o DEFINE
o DEFINE DLLOBJECT
o DEFINE GROUP
o DELETE FILE/TABLE
o DELETE RECORDS
o DIALOG
o DISPLAY
o EXECUTE
o FREQ (Frequency)
o GRAPH
o IF-THEN-ELSE
o KMSURVIVAL
o LIST
o LOGISTIC
o MEANS
o MERGE
o PRINTOUT
o QUIT
o READ
o RECODE
o REGRESS
o RELATE
o ROUTEOUT
o RUNPGM
o SELECT
o SET
o SORT
o SUMMARIZE
o TABLES
o TYPEOUT
o UNDEFINE
o UNDELETE
o WRITE
o Epi Info™ Home
+ Check Code Commands
o BACK
Check Code Commands
o BACK
Command Reference Check Code Commands
o AFTER / END-AFTER
o ASSIGN
o AUTOSEARCH
o BEEP
o BEFORE / END-BEFORE
o CLEAR
o CLICK / END-CLICK
o COMMENTS (*)
o DEFINE
o DEFINE DLLOBJECT
o EXECUTE
o GOTO
o HIDE
o IF-THEN-ELSE
o NEWRECORD
o UNHIDE
o Epi Info™ Home
+ Epi Info™ Home
* Functions & Operators
* Epi Info™ Home
Epi Info™
Epi Info™ Home
Classic Analysis: Command Driven Analyses and Data Management
Print
Classic Analysis
1. ›Classic Analysis Intro and Full Chapter
2. Manage Data
3. ASSIGN Command
4. Manage Variables
5. Select Records
6. Display Statistics and Records
7. Manage Output
8. User-Defined Commands
9. Create User Interaction
10. Advanced Statistics
Related Pages
Introduction
IntroductionNavigate the Classic Analysis WorkspaceChapter 9: Classic Analysis - Full Chapter
Introduction
Classic Analysis manipulates, manages, and analyzes data. It acts as a statistical toolbox providing many ways to transform data and perform statistical Classic Analysis. Data can be selected, sorted, listed, or manipulated with a series of commands, functions, and operators. Available statistics include frequencies, means, and more advanced processes (i.e., Kaplan-Meier Survival Classic Analysis and Logistic Regression).
Classic Analysis can be accessed by clicking Classic from the Epi Info™ main window or by selecting Tools > Analyze Data>Classic. It reads data files created in Form Designer and other types of databases (e.g., MS Access, MS Excel, SQL Server, and ASCII). Classic Analysis can also produce graphs to present graphic representations of data.
Classic Analysis provides access to existing data directly or through forms created in Form Designer. It reads data from files and tables created in Epi Info 7, Microsoft Access, Microsoft Excel, SQL Server, and ASCII.
Navigate the Classic Analysis Workspace
The Classic Analysis module contains four areas: the Classic Analysis Command Tree, Program Editor, Classic Analysis Output window, and the Message Area.
Figure 9.1: Classic Analysis Workspace
1. The Command Explorer contains a list of available commands separated into folders by command type. Commands are generated, edited, and executed. Selecting a command opens the corresponding dialog box for that command, function, or statistic to run.
2. The Program Editor displays the commands and code created using the Classic Analysis Command Tree. Commands can also be typed directly into the Program Editor. Programs or .PGM files written in Classic Analysis can be stored in the current .PRJ or as text files. Saved programs can be run against new data, or shared with others.
3. The Output window acts as a browser and displays information generated from commands run in Program Editor. The buttons allow you to navigate through program scripts that run and display in the output screen.
4. The Message window alerts you if any problems occur with any executed commands.
Full Chapter 9: Classic Analysis in PDF and Word Doc Formats
PDF
Download the Epi Info™ 7, User Guide, Chapter 9: Classic Analysis for PDF [PDF 1,367 MB] :
A printable version of the Full Epi Info™ 7 User Guide, Chapter 9: Classic Analysis, available for download in PDF format.
Word Doc
Download the Epi Info™ 7, User Guide, Chapter 9: Classic Analysis [Word 1.489 KB] :
A printable version of the Full Epi Info™ 7 User Guide, Chapter 9: Analysis, available for download in Word Doc format.
Last Reviewed: September 16, 2022, 12:00 pm
Source: Office of Public Health Data, Surveillance, and Technology
* Facebook
* Twitter
* LinkedIn
* Syndicate
home User Guide
* Getting Started plus icon
+ System Requirements
+ Conventions Used in this Guide
+ Navigating Epi Info 7
+ Syntax Notations
+ Tech Support and Contacts
+ Acknowledgements
* Form Designer plus icon
+ Introduction
+ Navigate the Workspace
+ Open a Recent Project
+ Create a New Project
+ Tips Before You Begin
+ New Project from Template
+ New Form in Existing Project
+ Open Existing Project
+ Close Project
+ Pages
+ Undo/Redo
+ Check Code
+ Entering Data
+ Fields plus icon
o Label/Title
o Text
o Text Uppercase
o Multiline
o Number
o Phone Number
o Date
o Time
o Date-Time
o Checkbox
o Yes-No
o Option
o Command Button
o Image
o Mirror
o Grid
o Legal Value
o Comment Legal
o Codes
o Relate
o Group
o Field Attributes
+ Tab Order
+ Templates
+ Insert Line
+ Upgrade a Project
+ Make a PRJ File
+ Delete Data Tables
+ Data Dictionary
+ Make Form from Data Table
* Check Code plus icon
+ Program Editor
+ Navigating the Editor
+ Check Code Commands
+ More Commands
+ EpiWeek Function
+ Check Code Syntax
* Enter Data plus icon
+ Navigate the Workspace
+ Entering Data
+ Save a Page or Record
+ Find Records
* Web Survey plus icon
+ System Deployment
+ Designing Forms for Web
+ Supported Field Types
+ Supported Commands
+ Check Code Performance
+ Web Survey Compatibility
+ Initial Setup
+ Publish a Form
+ Invite Participants
+ Access the Survey URL
+ Submitting Responses
+ Saving a Partial Survey
+ Importing Survey Results
* Companion for Android plus icon
+ Initial Set Up
+ Designing for Mobile
+ Copy Form to Mobile Device
+ Mobile Data Collection
+ Data Transfer
+ Cloud Synchronization
+ StatCalc on Mobile Devices
+ Analyze Data
* Data Packager plus icon
+ Package for Transport
+ Import from Package
* Visual Dashboard plus icon
+ Select Data Source
+ Analysis Gadgets plus icon
o Line List
o Frequency
o Word Cloud
o Combined Frequency
o M x N / 2 x 2 Table
o Matched Pair Case-Control
o Means
o Duplicates List
o Charts
o Advanced Statistics
+ Working with Canvases
+ Defining Variables
+ Data Filters
+ Display and Gadget Filters
+ Data Dictionary
+ Report Gadgets
* Classic Analysis plus icon
+ Manage Data
+ ASSIGN Command
+ Manage Variables
+ Select Records
+ Display Stats and Records
+ Manage Output
+ User-Defined Commands
+ Create User Interaction
+ Advanced Statistics
* Maps plus icon
+ Basic Tools
+ Basic Functions
+ Save
+ Add a Data Layer
+ Case Cluster
+ Choropleth/Dot Density Maps
+ Base Layer
* Translation plus icon
+ How to Translate Epi Info
+ Create New Language MDB
+ Use Existing Language MDB
+ Choose a Language to Use
* Nutritional Anthropometry plus icon
+ The Nutrition Project
+ NutStat Growth Charts
+ Nutrition Functions
* StatCalc plus icon
+ Introduction
+ Tables (2 x 2, 2 x n)
+ Population Survey or Descriptive Study
+ Cohort and Cross-Sectional
+ Unmatched Case-Control
+ Chi Square for Trend
+ Poisson
+ Binomial
+ Matched Pair Case-Control
+ Visual Dashboard
+ OpenEpi
* Command Reference plus icon
+ Analysis Commands plus icon
o ASSIGN
o BEEP
o Cancel SELECT
o Cancel SORT
o CLOSEOUT
o COXPH
o DEFINE
o DEFINE DLLOBJECT
o DEFINE GROUP
o DELETE FILE/TABLE
o DELETE RECORDS
o DIALOG
o DISPLAY
o EXECUTE
o FREQ (Frequency)
o GRAPH
o IF-THEN-ELSE
o KMSURVIVAL
o LIST
o LOGISTIC
o MEANS
o MERGE
o PRINTOUT
o QUIT
o READ
o RECODE
o REGRESS
o RELATE
o ROUTEOUT
o RUNPGM
o SELECT
o SET
o SORT
o SUMMARIZE
o TABLES
o TYPEOUT
o UNDEFINE
o UNDELETE
o WRITE
+ Check Code Commands plus icon
o AFTER / END-AFTER
o ASSIGN
o AUTOSEARCH
o BEEP
o BEFORE / END-BEFORE
o CLEAR
o CLICK / END-CLICK
o COMMENTS (*)
o DEFINE
o DEFINE DLLOBJECT
o EXECUTE
o GOTO
o HIDE
o IF-THEN-ELSE
o NEWRECORD
o UNHIDE
* Functions & Operators
Related Links
* Epi Info™ 7 Tutorial Videos
* Epi Info™ 7 User Guide
* Epi Info™ Community Questions & Answers
* ActivEpi Web - explains concepts and methods
* OpenEpi - makes computations
* About CDC
* Contact Us
* 800-232-4636
Facebook Twitter Instagram LinkedIn Youtube Pinterest Snapchat
Facebook Twitter Instagram LinkedIn Youtube Pinterest Snapchat RSS
* CONTACT CDC
Contact Us
Call 800-232-4636
Email Us
* ABOUT CDC
+ About CDC
+ Jobs
+ Funding
* POLICIES
+ Accessibility
+ External Links
+ Privacy
+ Policies
+ Web Policies
+ No Fear Act
+ FOIA
+ OIG
+ No Fear Act
+ Nondiscrimination
+ Vulnerability Disclosure Policy
+ CDC Archive
+ Public Health Publications
+ HHS.gov
+ USA.gov
* CONNECT WITH US
+ Facebook
+ Twitter
+ Instagram
+ LinkedIn
+ Youtube
+ Pinterest
+ Snapchat
+ Email
* LANGUAGES
+ Español
+ 繁體中文
+ Tiếng Việt
+ 한국어
+ Tagalog
+ Русский
+ العربية
+ Kreyòl Ayisyen
+ Français
+ Polski
+ Português
+ Italiano
+ Deutsch
+ 日本語
+ فارسی
+ English
* U.S. Department of Health & Human Services
* Accessibility
* External Links
* Privacy
* Policies
* Web Policies
* FOIA
* OIG
* No Fear Act
* FOIA
* Nondiscrimination
* OIG
* Vulnerability Disclosure Policy
* CDC Archive
* Public Health Publications
* HHS.gov
* USA.gov
Content Credential
×
This image was edited or created using GenAI (generative artificial intelligence).
Our experts review all images in an effort to ensure accuracy and quality before use.
Learn more about CDC's usage of GenAI.
Note: Comparison ignores leading/trailing whitespace and certain script/tracking codes. Word-level highlighting (optional above) only applies to changed lines.