SlideShare a Scribd company logo
Yacar-Yacara Consults © 2015
YACAR-YACARA CONSULTS
Strategy Research & Analytics Training– –
STATISTICAL SOFTWARES TRAINING
STATA 13
BASIC COMMANDS I
Tel:
+233 0501377013
+233 0272256760
+233 0243637096
yacaraconsults@yahoo.com
yacaraconsults@gmail.com
Yacar-Yacara Consults © 2015
COMMAND DESCRIPTION MENU
browse Opens data editor to browse the data set  Data-Data Editor-Data Editor (Browse)
summarize Summary of your variables  Statistics - Summaries, tables, and tests-
Summary Statistics – SELECT
VARIABLE(S)
codebook Viewing variables details  -
tabulate variable Creating a table containing the observations of a
variable
 Statistics - Summaries, tables, and tests--
Frequency Tables - One Way Table
tabulate var1 var2 Creating a table containing the observations of multiple
variables
 Statistics - Summaries, tables, and tests -
Frequency Tables – Multiple one-way tables
histogram var Creates histogram of a variable  Graph – Histogram – SELECT VARIABLE
means Computes the means of all variables  -
means var Computes the means of specified variables  Statistics – Summaries, tables, and tests –
Summary and descriptive Statistics – Means –
SELECT VARIABLE
scatter yvar xvar Scatter plots of variables 
correlate var1 var2 Computes correlations between variables  Statistics-Summary Descriptive-Correlations
And Covariances
ci var Confidence intervals of variables  Statistics-Summary Descriptive-Confidence
Yacar-Yacara Consults © 2015
Interval
sum var, detail Detailed description of a variable  Statistics – Summaries, tables, and tests –
Summary and descriptive Statistics – Means –
SELECT VARIABLE. TICK “DISPLAY
ADDITIONAL STATISTICS)
tab var Descriptives of a variable (frequencies, etc.)  Statistics-Summary Descriptive-Frequency
Tables-One Way Table
tab2 var var, col Cross tabulation  Statistics-Summaries, Tables, Tests-Frequency
Tables-Two-Way Table With Measures Of
Association-SELECT ROW AND COLUMN
VARIABLES
graph box var Plot a boxplot of a variable 
regress varY varX Compute simple regression line (y is response, x is
explanatory variable)
 Statistics-Linear Models And Related-Linear
Regression
tabstat var1 var2 var3 Displays table of summary statistics  Statistics – Summaries, tables, and tests –
Other tables – Compact table of summary
statistics – SELECT VARIABLE (S).
tabstat var1 var2,
statistics(mean median
sd count)
Displays table of summary statistics but gives us more
information on the variables
 Statistics – Summaries, tables, and tests –
Other tables – Compact table of summary
statistics – SELECT VARIABLE (S). Tick the
boxes and add statistical tools
generate newvariable = Generate a new variable by adding variable 1 and
variable 2

Yacar-Yacara Consults © 2015
var1 + var2
rename var1 new name
(e.g. personality person)
Rename a variable 
generate age=. Generate a new variable “age” without any data 
drop var Eliminates variables or observations 
anova dep. var ind.
var1 ind. var2
Displays ANOVA table of a model  Statistics-Linear Models and Related-
ANOVA/MANOVA-Analysis Of Variance
And Covariances
oneway dep. var factor
var
One-Way ANOVA  Statistics-Linear Models and Related-
ANOVA/MANOVA-One-Way ANOVA

More Related Content

Viewers also liked

Statistical Approaches to Missing Data
Statistical Approaches to Missing DataStatistical Approaches to Missing Data
Statistical Approaches to Missing Data
DataCards
 
Imputation techniques for missing data in clinical trials
Imputation techniques for missing data in clinical trialsImputation techniques for missing data in clinical trials
Imputation techniques for missing data in clinical trials
Nitin George
 
Missing Data and Causes
Missing Data and CausesMissing Data and Causes
Missing Data and Causes
akanni azeez olamide
 
PROMISE 2011: "Handling missing data in software effort prediction with naive...
PROMISE 2011: "Handling missing data in software effort prediction with naive...PROMISE 2011: "Handling missing data in software effort prediction with naive...
PROMISE 2011: "Handling missing data in software effort prediction with naive...
CS, NcState
 
Stata tutorial
Stata tutorialStata tutorial
Stata tutorial
Patrick Elyanu
 
Survival analysis
Survival analysisSurvival analysis
Survival analysis
Sanjaya Sahoo
 
Data management in Stata
Data management in StataData management in Stata
Data management in Stata
izahn
 

Viewers also liked (7)

Statistical Approaches to Missing Data
Statistical Approaches to Missing DataStatistical Approaches to Missing Data
Statistical Approaches to Missing Data
 
Imputation techniques for missing data in clinical trials
Imputation techniques for missing data in clinical trialsImputation techniques for missing data in clinical trials
Imputation techniques for missing data in clinical trials
 
Missing Data and Causes
Missing Data and CausesMissing Data and Causes
Missing Data and Causes
 
PROMISE 2011: "Handling missing data in software effort prediction with naive...
PROMISE 2011: "Handling missing data in software effort prediction with naive...PROMISE 2011: "Handling missing data in software effort prediction with naive...
PROMISE 2011: "Handling missing data in software effort prediction with naive...
 
Stata tutorial
Stata tutorialStata tutorial
Stata tutorial
 
Survival analysis
Survival analysisSurvival analysis
Survival analysis
 
Data management in Stata
Data management in StataData management in Stata
Data management in Stata
 

Similar to STATA 13

Spss
SpssSpss
Spss
Tech_MX
 
Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Procedures
guest2160992
 
Statistical Procedures using SPSSi
Statistical Procedures using SPSSiStatistical Procedures using SPSSi
Statistical Procedures using SPSSi
Taddesse Kassahun
 
5116427.ppt
5116427.ppt5116427.ppt
5116427.ppt
BAGARAGAZAROMUALD2
 
Data Presentation Methods.pptx
Data Presentation Methods.pptxData Presentation Methods.pptx
Data Presentation Methods.pptx
jacob735118
 
OLD SEVEN TOOLS OF QUALTIY MANAGEMENT
OLD SEVEN TOOLS OF QUALTIY MANAGEMENTOLD SEVEN TOOLS OF QUALTIY MANAGEMENT
OLD SEVEN TOOLS OF QUALTIY MANAGEMENT
ANNA UNIVERSITY
 
Tqm old tools
Tqm old toolsTqm old tools
Tqm old tools
ANNA UNIVERSITY
 
Tqm old tools
Tqm old toolsTqm old tools
Tqm old tools
Arun Kumar
 
Uses of SPSS and Excel to analyze data
Uses of SPSS and Excel   to analyze dataUses of SPSS and Excel   to analyze data
Uses of SPSS and Excel to analyze data
Kudrat-E- Khoda(Prince)
 
Introducción al Software Analítico SAS
Introducción al Software Analítico SASIntroducción al Software Analítico SAS
Introducción al Software Analítico SAS
Jorge Rodríguez M.
 
STATA - Panel Regressions
STATA - Panel RegressionsSTATA - Panel Regressions
STATA - Panel Regressions
stata_org_uk
 
Statistical Process Control
Statistical Process ControlStatistical Process Control
Statistical Process Control
Marwa Abo-Amra
 
Quality data management
Quality data managementQuality data management
Quality data management
selinasimpson0301
 
Quality data management
Quality data managementQuality data management
Quality data management
selinasimpson0301
 
Enhancing statistical report capabilities using the clin plus report engine
Enhancing statistical report capabilities using the clin plus report engineEnhancing statistical report capabilities using the clin plus report engine
Enhancing statistical report capabilities using the clin plus report engine
Clin Plus
 
Quality management information system
Quality management information systemQuality management information system
Quality management information system
selinasimpson341
 
Supplier quality management software
Supplier quality management softwareSupplier quality management software
Supplier quality management software
selinasimpson3001
 
2015 NCAIR Excel Power Tools
2015 NCAIR Excel Power Tools2015 NCAIR Excel Power Tools
2015 NCAIR Excel Power Tools
David Onder
 
Control charts
Control chartsControl charts
Control charts
Cynthia Cumby
 
Quality management tool
Quality management toolQuality management tool
Quality management tool
selinasimpson1201
 

Similar to STATA 13 (20)

Spss
SpssSpss
Spss
 
Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Procedures
 
Statistical Procedures using SPSSi
Statistical Procedures using SPSSiStatistical Procedures using SPSSi
Statistical Procedures using SPSSi
 
5116427.ppt
5116427.ppt5116427.ppt
5116427.ppt
 
Data Presentation Methods.pptx
Data Presentation Methods.pptxData Presentation Methods.pptx
Data Presentation Methods.pptx
 
OLD SEVEN TOOLS OF QUALTIY MANAGEMENT
OLD SEVEN TOOLS OF QUALTIY MANAGEMENTOLD SEVEN TOOLS OF QUALTIY MANAGEMENT
OLD SEVEN TOOLS OF QUALTIY MANAGEMENT
 
Tqm old tools
Tqm old toolsTqm old tools
Tqm old tools
 
Tqm old tools
Tqm old toolsTqm old tools
Tqm old tools
 
Uses of SPSS and Excel to analyze data
Uses of SPSS and Excel   to analyze dataUses of SPSS and Excel   to analyze data
Uses of SPSS and Excel to analyze data
 
Introducción al Software Analítico SAS
Introducción al Software Analítico SASIntroducción al Software Analítico SAS
Introducción al Software Analítico SAS
 
STATA - Panel Regressions
STATA - Panel RegressionsSTATA - Panel Regressions
STATA - Panel Regressions
 
Statistical Process Control
Statistical Process ControlStatistical Process Control
Statistical Process Control
 
Quality data management
Quality data managementQuality data management
Quality data management
 
Quality data management
Quality data managementQuality data management
Quality data management
 
Enhancing statistical report capabilities using the clin plus report engine
Enhancing statistical report capabilities using the clin plus report engineEnhancing statistical report capabilities using the clin plus report engine
Enhancing statistical report capabilities using the clin plus report engine
 
Quality management information system
Quality management information systemQuality management information system
Quality management information system
 
Supplier quality management software
Supplier quality management softwareSupplier quality management software
Supplier quality management software
 
2015 NCAIR Excel Power Tools
2015 NCAIR Excel Power Tools2015 NCAIR Excel Power Tools
2015 NCAIR Excel Power Tools
 
Control charts
Control chartsControl charts
Control charts
 
Quality management tool
Quality management toolQuality management tool
Quality management tool
 

More from Kofi Kyeremateng Nyanteng

Kofi nyanteng excel notes
Kofi nyanteng excel notesKofi nyanteng excel notes
Kofi nyanteng excel notes
Kofi Kyeremateng Nyanteng
 
Kofi nyanteng excel modelling (what if analysis)
Kofi nyanteng excel modelling (what if analysis)Kofi nyanteng excel modelling (what if analysis)
Kofi nyanteng excel modelling (what if analysis)
Kofi Kyeremateng Nyanteng
 
Kofi Nyanteng Introduction excel modelling
Kofi Nyanteng Introduction excel modellingKofi Nyanteng Introduction excel modelling
Kofi Nyanteng Introduction excel modelling
Kofi Kyeremateng Nyanteng
 
Kofi nyanteng excel notes
Kofi nyanteng excel notesKofi nyanteng excel notes
Kofi nyanteng excel notes
Kofi Kyeremateng Nyanteng
 
Kofi nyanteng excel models
Kofi nyanteng   excel modelsKofi nyanteng   excel models
Kofi nyanteng excel models
Kofi Kyeremateng Nyanteng
 
Kofi nyanteng excel modelling (what if analysis)
Kofi nyanteng excel modelling (what if analysis)Kofi nyanteng excel modelling (what if analysis)
Kofi nyanteng excel modelling (what if analysis)
Kofi Kyeremateng Nyanteng
 
Kofi Nyanteng Introduction excel modelling
Kofi Nyanteng Introduction excel modellingKofi Nyanteng Introduction excel modelling
Kofi Nyanteng Introduction excel modelling
Kofi Kyeremateng Nyanteng
 
Kofi nyanteng spss descriptives
Kofi nyanteng spss descriptivesKofi nyanteng spss descriptives
Kofi nyanteng spss descriptives
Kofi Kyeremateng Nyanteng
 
Kofi nyanteng spss associative data analysis
Kofi nyanteng spss associative data analysisKofi nyanteng spss associative data analysis
Kofi nyanteng spss associative data analysis
Kofi Kyeremateng Nyanteng
 
Kofi nyanteng cleaning and screning data using spss
Kofi nyanteng   cleaning and screning data using spssKofi nyanteng   cleaning and screning data using spss
Kofi nyanteng cleaning and screning data using spss
Kofi Kyeremateng Nyanteng
 
Marketing Mgt. notes and Planning template for SMEs
Marketing Mgt. notes and Planning template for SMEsMarketing Mgt. notes and Planning template for SMEs
Marketing Mgt. notes and Planning template for SMEs
Kofi Kyeremateng Nyanteng
 
Starting your business & Idea evaluation
Starting your business & Idea evaluationStarting your business & Idea evaluation
Starting your business & Idea evaluation
Kofi Kyeremateng Nyanteng
 
Social media planning template
Social media planning templateSocial media planning template
Social media planning template
Kofi Kyeremateng Nyanteng
 
Social Media
Social MediaSocial Media
Developing the social media plan & policy
Developing the social media plan & policyDeveloping the social media plan & policy
Developing the social media plan & policy
Kofi Kyeremateng Nyanteng
 
Personal Branding 1
Personal Branding 1Personal Branding 1
Personal Branding 1
Kofi Kyeremateng Nyanteng
 
SPSS SLIDES
SPSS SLIDES SPSS SLIDES
SPSS
SPSSSPSS
SPSS
SPSSSPSS

More from Kofi Kyeremateng Nyanteng (19)

Kofi nyanteng excel notes
Kofi nyanteng excel notesKofi nyanteng excel notes
Kofi nyanteng excel notes
 
Kofi nyanteng excel modelling (what if analysis)
Kofi nyanteng excel modelling (what if analysis)Kofi nyanteng excel modelling (what if analysis)
Kofi nyanteng excel modelling (what if analysis)
 
Kofi Nyanteng Introduction excel modelling
Kofi Nyanteng Introduction excel modellingKofi Nyanteng Introduction excel modelling
Kofi Nyanteng Introduction excel modelling
 
Kofi nyanteng excel notes
Kofi nyanteng excel notesKofi nyanteng excel notes
Kofi nyanteng excel notes
 
Kofi nyanteng excel models
Kofi nyanteng   excel modelsKofi nyanteng   excel models
Kofi nyanteng excel models
 
Kofi nyanteng excel modelling (what if analysis)
Kofi nyanteng excel modelling (what if analysis)Kofi nyanteng excel modelling (what if analysis)
Kofi nyanteng excel modelling (what if analysis)
 
Kofi Nyanteng Introduction excel modelling
Kofi Nyanteng Introduction excel modellingKofi Nyanteng Introduction excel modelling
Kofi Nyanteng Introduction excel modelling
 
Kofi nyanteng spss descriptives
Kofi nyanteng spss descriptivesKofi nyanteng spss descriptives
Kofi nyanteng spss descriptives
 
Kofi nyanteng spss associative data analysis
Kofi nyanteng spss associative data analysisKofi nyanteng spss associative data analysis
Kofi nyanteng spss associative data analysis
 
Kofi nyanteng cleaning and screning data using spss
Kofi nyanteng   cleaning and screning data using spssKofi nyanteng   cleaning and screning data using spss
Kofi nyanteng cleaning and screning data using spss
 
Marketing Mgt. notes and Planning template for SMEs
Marketing Mgt. notes and Planning template for SMEsMarketing Mgt. notes and Planning template for SMEs
Marketing Mgt. notes and Planning template for SMEs
 
Starting your business & Idea evaluation
Starting your business & Idea evaluationStarting your business & Idea evaluation
Starting your business & Idea evaluation
 
Social media planning template
Social media planning templateSocial media planning template
Social media planning template
 
Social Media
Social MediaSocial Media
Social Media
 
Developing the social media plan & policy
Developing the social media plan & policyDeveloping the social media plan & policy
Developing the social media plan & policy
 
Personal Branding 1
Personal Branding 1Personal Branding 1
Personal Branding 1
 
SPSS SLIDES
SPSS SLIDES SPSS SLIDES
SPSS SLIDES
 
SPSS
SPSSSPSS
SPSS
 
SPSS
SPSSSPSS
SPSS
 

STATA 13

  • 1. Yacar-Yacara Consults © 2015 YACAR-YACARA CONSULTS Strategy Research & Analytics Training– – STATISTICAL SOFTWARES TRAINING STATA 13 BASIC COMMANDS I Tel: +233 0501377013 +233 0272256760 +233 0243637096 yacaraconsults@yahoo.com yacaraconsults@gmail.com
  • 2. Yacar-Yacara Consults © 2015 COMMAND DESCRIPTION MENU browse Opens data editor to browse the data set  Data-Data Editor-Data Editor (Browse) summarize Summary of your variables  Statistics - Summaries, tables, and tests- Summary Statistics – SELECT VARIABLE(S) codebook Viewing variables details  - tabulate variable Creating a table containing the observations of a variable  Statistics - Summaries, tables, and tests-- Frequency Tables - One Way Table tabulate var1 var2 Creating a table containing the observations of multiple variables  Statistics - Summaries, tables, and tests - Frequency Tables – Multiple one-way tables histogram var Creates histogram of a variable  Graph – Histogram – SELECT VARIABLE means Computes the means of all variables  - means var Computes the means of specified variables  Statistics – Summaries, tables, and tests – Summary and descriptive Statistics – Means – SELECT VARIABLE scatter yvar xvar Scatter plots of variables  correlate var1 var2 Computes correlations between variables  Statistics-Summary Descriptive-Correlations And Covariances ci var Confidence intervals of variables  Statistics-Summary Descriptive-Confidence
  • 3. Yacar-Yacara Consults © 2015 Interval sum var, detail Detailed description of a variable  Statistics – Summaries, tables, and tests – Summary and descriptive Statistics – Means – SELECT VARIABLE. TICK “DISPLAY ADDITIONAL STATISTICS) tab var Descriptives of a variable (frequencies, etc.)  Statistics-Summary Descriptive-Frequency Tables-One Way Table tab2 var var, col Cross tabulation  Statistics-Summaries, Tables, Tests-Frequency Tables-Two-Way Table With Measures Of Association-SELECT ROW AND COLUMN VARIABLES graph box var Plot a boxplot of a variable  regress varY varX Compute simple regression line (y is response, x is explanatory variable)  Statistics-Linear Models And Related-Linear Regression tabstat var1 var2 var3 Displays table of summary statistics  Statistics – Summaries, tables, and tests – Other tables – Compact table of summary statistics – SELECT VARIABLE (S). tabstat var1 var2, statistics(mean median sd count) Displays table of summary statistics but gives us more information on the variables  Statistics – Summaries, tables, and tests – Other tables – Compact table of summary statistics – SELECT VARIABLE (S). Tick the boxes and add statistical tools generate newvariable = Generate a new variable by adding variable 1 and variable 2 
  • 4. Yacar-Yacara Consults © 2015 var1 + var2 rename var1 new name (e.g. personality person) Rename a variable  generate age=. Generate a new variable “age” without any data  drop var Eliminates variables or observations  anova dep. var ind. var1 ind. var2 Displays ANOVA table of a model  Statistics-Linear Models and Related- ANOVA/MANOVA-Analysis Of Variance And Covariances oneway dep. var factor var One-Way ANOVA  Statistics-Linear Models and Related- ANOVA/MANOVA-One-Way ANOVA