尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Session 1
Module Introduction and Getting Started with
Stata
1
Lic. David A. Condori Tantani
2
Introduction
 Welcome
 Housekeeping
 Introductions
 Name, job, district, team
2
Lic. David A. Condori Tantani
Module Overview
3
Module objectives are to provide you with
• Skills in data analysis
• Keeping in mind the analysis objectives
• While learning the use of a specialised
statistical software package Stata
There will be a strong emphasis on conducting
meaningful analyses and on the interpretation
of the results.
Lic. David A. Condori Tantani
4
Module content
 Data management
 Data entry principles and practices
 using Epi Info
 designing data capture screens,
 labelling and entering data, etc.
 Simple statistical analysis
 in Epi Info
 and using the statistics package, Instat.
 Report writing.
4
Lic. David A. Condori Tantani
5
Duration and timetable
5
Morning Afternoon
Day 1
Getting started with
Stata
Continued
Day 2 Tables Project work part 1
Day 3 Graphs Project work part 2
Day 4
Reviewing inference:
estimation and
confidence intervals
Reviewing inference:
Hypothesis testing
Day 5
Tests of association in 2-
way tables
Sampling weights
Day 6
Project work part 3:
writing the report
Putting it all in context
Lic. David A. Condori Tantani
6
Module Learning Objectives
At the end of the module, participants will :
 appreciate the power of Stata as a statistical package
 be able to undertake elementary data management
and statistical analyses in Stata
 have updated their practical knowledge of the key
statistical inference concepts of estimation and
hypothesis testing
 be able to produce graphs and tables using Stata,
 have sufficient knowledge of Stata to be able to work
independently to produce other analyses
6
Lic. David A. Condori Tantani
7
Prerequisites
Completion of Modules 1 and 2
At least a theoretical knowledge of statistical inference
7
Lic. David A. Condori Tantani
8
Resources
 Stata software - version 10
 This should be installed already
 It may need updating and a Stata “package” adding – see later slides
 Guide to survey data analysis using Stata
 Part 1 (Chapters 1 to 10) is used here
 Part 2 (Chapters 11 to 20) is supplied for reference
 Inference guide
 Used particularly in Sessions 7 and 8
8
Lic. David A. Condori Tantani
9
Concepts more than software
 The emphasis is on the concepts of data analysis and statistical inference
 Using Stata
 Rather than just on Stata itself
 Here we largely use the menus and dialogues
 Though ways of using and reading commands are introduced
 Software is now easy to master
 It is the statistical concepts that benefit from a course
Lic. David A. Condori Tantani
Learning objectives –
sessions 1 and 2 These two sessions are about Stata
 Participants will be able to:
 Load and save data
 Explore data
 Using describe, codebook, summarize, etc
 Calculate new variables
 Using generate, recode, etc
 Add labels to variables and to levels of a factor
 Create subsets of data using drop and keep
10
Lic. David A. Condori Tantani
Session Contents
11
In this session we look in particular at:
• Windows and menus in Stata
• Opening Stata data files
• Stata dialogues
• Typing and editing commands
• Using Stata as a calculator
• Exiting Stata
Lic. David A. Condori Tantani
The four Stata windows
12
Review
Stata
Results
Variables
and
window for
typing
Stata
commands
The Stata menus and toolbar
 The three most important menus
 Data (for organising and managing the data),
 Graphics (for visual exploration & presentation),
 Statistics (for analysis).
13
Data, Graphics, Statistics
Check Stata is up-to-date
 Use Help => Official updates
14
If updating is
needed, either:
Do it
automatically if
you are
connected to the
internet
Or use the files
on the CD/DVD
that are under
Stata resources
The Data and Graphics Menus
15
Lic. David A. Condori Tantani
Your turn
 Click on several menus and explain their
usage to your neighbour
 You can deduce the menu from the logic of the
task
 e.g. to draw a graph you go to the graphics menu!
 Which menu would you probably need to use to:
 save data?
 sort a data set?
 produce a bar chart?
 tabulate the data?
 Check by finding the dialogue in Stata
16
Lic. David A. Condori Tantani
Stata guide Section 1.2
 You use Stata as a calculator
 Go through this section together
 Check the buttons at the bottom of the dialogue
 They are the same on all dialogues
17
Lic. David A. Condori Tantani
Using Stata as a calculator
To perform calculations, use
Data ⇒ Other utilities ⇒ Hand calculator
18
Type 2+3 into the
Expression slot
Press the
Submit button
See answer in Results Window, and appearance of
corresponding command in both the Results and
Review windows.
Results from the dialogue
You can get back
to any dialogue
box by typing db in
front of the
command name.
e.g. db display
19
Lic. David A. Condori Tantani
Creating an expression
20
Click create and
then complete
the resulting
expression
builder dialogue
box.
Or type:
display ln(10)
Stata guide Section 1.3
 From this point you use a dataset that is supplied
 Check that you have a working directory
 And that it has the files for this module
 Copy them in, if not
 They are on the CD/DVD under Stata resources
 You could install the Stata package as well if you wish.
 Then use Files => Change working directory
 To set this directory for the future
21
Lic. David A. Condori Tantani
Opening a Stata data file
 Use the menu sequence
 File, Open…
select (highlight) the file named
 K_combined_short.dta
and click on Open
 This will load the data from the Kenya socio-
economic survey into Stata
 Look at the Variables Window. What do
you observe?
22
Lic. David A. Condori Tantani
Options within the Data menu
23
Lic. David A. Condori Tantani
An example of a dialogue
box24
Dialogue results from
using the menu
sequence
Data,
⇒ Describe data,
⇒ Describe data
contents (codebook)
In the codebook dialogue
box…
 The Submit button
 instructs Stata to execute the command, leaving the
dialogue box visible.
 The OK button does the same,
 but closes the dialogue box.
 Cancel closes the dialogue box
 without submitting the command to Stata.
 The R button resets the dialogue box
 to its empty form.
 ‘?’ gives help on the command
 associated with the dialogue box.
 The word “codebook” at the top of the dialogue
 shows “codebook” is the command that will be
generated
25
Another dialogue box
26
Dialogue results from
using the menu
sequence
Data,
Describe data,
Summary
statistics
Results from codebook and summarize
27
Your turn
In Chapter 1 of the Stata guide, go through
 Section 1.3
 Section 1.4
 Section 1.5
Ask a resource person if you are unclear about
any parts of the above sections.
28
Lic. David A. Condori Tantani
Review
29
What do each of these buttons do?
Menus (and corresponding commands) used so far:
•display
•describe
•codebook
•list
•generate
•replace
•by/if//in
What does each one do?
Your turn again
In Chapter 1 of the Stata guide, go through
 Section 1.6
 Section 1.7
 Section 1.8
Ask a resource person if you are unclear about
any parts of the above sections.
30
Lic. David A. Condori Tantani
Review again
 Explain to a neighbour why:
 (3<4) gives the value 1 in Stata
 (3>4) gives the value 0
 They then explain to you why the expression:
 1 + (age>24) + (age>60)
 Recodes a column into the values 1, 2 or 3
 (Hint – see Section 1.6 Fig 1.19 and 1.20 if you need help)
31
Lic. David A. Condori Tantani
Typing and editing commands
 Professional use of Stata for data analysis
 benefits by some use of Stata commands
 These are typed into the Command Window
 To execute a command just press <Enter>.
 To edit a previous command:
 Click on it in the review window,
 or use the Page-Up key – perhaps repeatedly.
 In the Results Window
 A “dot” appears in front of executed commands
 whether generated by a dialogue, or by typing the command.
32
Command for listing data
In the command window, typing
list region district household cluster
will show the contents of each of the variables
region, district, household and cluster.
(Note: Stata is case sensitive)
Pressing the GO button (see Stata menu bar) or the
space bar allows you to scroll down the page
To stop the display, press the red break icon button
or press the letter q on your keyboard.
To exit Stata, use:
File ⇒ Exit
33
Lic. David A. Condori Tantani
Your turn yet again
In Chapter 2 of the Stata guide, go through
 Sections 2.1 and 2.2
 (You can go further if you have time)
If you have your own data
And it is not already in a Stata file, then:
 In Chapter 3 of the Stata guide, go through
 Sections 3.2.1, 3.2.2, 3.2.3
 And discuss importing with the resource persons
34
Lic. David A. Condori Tantani
… and finally…
 Consider a data set from your own district or
ministry that is available as an Excel file.
 Follow procedures similar to those in Section
3.2.3 of the Stata Guide, to load your Excel data
set into Stata.
 Save your data as a Stata file, giving it an
appropriate name and noting the directory on
your computer where it has been saved.
Note: You will return to this data set in sessions
that follow.
35
Lic. David A. Condori Tantani

More Related Content

Similar to Actividad3 david a. condori tantani

Week 1 ProjectFor each weeks Project, you will answ.docx
Week 1 ProjectFor each weeks Project, you will answ.docxWeek 1 ProjectFor each weeks Project, you will answ.docx
Week 1 ProjectFor each weeks Project, you will answ.docx
co4spmeley
 
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
EzekielJames8
 
Advanced database
Advanced databaseAdvanced database
Advanced database
nasir1024
 
STATA_Training_for_data_science_juniors.pdf
STATA_Training_for_data_science_juniors.pdfSTATA_Training_for_data_science_juniors.pdf
STATA_Training_for_data_science_juniors.pdf
AronMozart1
 
manual.docx
manual.docxmanual.docx
manual.docx
Tejaswini Vontela
 
Phd courselez1introtostata
Phd courselez1introtostataPhd courselez1introtostata
Phd courselez1introtostata
Marco Delogu
 
2015 Luminant Energy Process Guide
2015 Luminant Energy Process Guide2015 Luminant Energy Process Guide
2015 Luminant Energy Process Guide
Kelly Stark
 
How to Download IDEA for Windows Based ComputersSelect the dow.docx
How to Download IDEA for Windows Based ComputersSelect the dow.docxHow to Download IDEA for Windows Based ComputersSelect the dow.docx
How to Download IDEA for Windows Based ComputersSelect the dow.docx
wellesleyterresa
 
Power bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantPower bi slide share pdf it is a very important
Power bi slide share pdf it is a very important
Satyabratarath5
 
BSOP 326 Expect Success/newtonhelp.com
BSOP 326 Expect Success/newtonhelp.comBSOP 326 Expect Success/newtonhelp.com
BSOP 326 Expect Success/newtonhelp.com
myblue35
 
Chapter.10
Chapter.10Chapter.10
Chapter.10
klivsie
 
Chapter.10
Chapter.10Chapter.10
Chapter.10
jdswitzer
 
SAC_Planning.pdf
SAC_Planning.pdfSAC_Planning.pdf
SAC_Planning.pdf
Roth-williams Adjibi
 
Business Intelligence tools comparison
Business Intelligence tools comparisonBusiness Intelligence tools comparison
Business Intelligence tools comparison
Stratebi
 
Tableau Basic Questions
Tableau Basic QuestionsTableau Basic Questions
Tableau Basic Questions
Sooraj Vinodan
 
Visual Analytics with Tableau
Visual Analytics with TableauVisual Analytics with Tableau
Visual Analytics with Tableau
Vineet Chaturvedi
 
Spreadsheet Auditing
Spreadsheet  AuditingSpreadsheet  Auditing
Spreadsheet Auditing
Joselito Perez
 
Bsop 326 Enhance teaching - tutorialrank.com
Bsop 326  Enhance teaching - tutorialrank.comBsop 326  Enhance teaching - tutorialrank.com
Bsop 326 Enhance teaching - tutorialrank.com
LeoTolstoy37
 
BSOP 326 Effective Communication/tutorialrank.com
 BSOP 326 Effective Communication/tutorialrank.com BSOP 326 Effective Communication/tutorialrank.com
BSOP 326 Effective Communication/tutorialrank.com
jonhson255
 
BSOP 326 Success Begins /newtonhelp.com 
BSOP 326 Success Begins /newtonhelp.com BSOP 326 Success Begins /newtonhelp.com 
BSOP 326 Success Begins /newtonhelp.com 
myblue117
 

Similar to Actividad3 david a. condori tantani (20)

Week 1 ProjectFor each weeks Project, you will answ.docx
Week 1 ProjectFor each weeks Project, you will answ.docxWeek 1 ProjectFor each weeks Project, you will answ.docx
Week 1 ProjectFor each weeks Project, you will answ.docx
 
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
 
Advanced database
Advanced databaseAdvanced database
Advanced database
 
STATA_Training_for_data_science_juniors.pdf
STATA_Training_for_data_science_juniors.pdfSTATA_Training_for_data_science_juniors.pdf
STATA_Training_for_data_science_juniors.pdf
 
manual.docx
manual.docxmanual.docx
manual.docx
 
Phd courselez1introtostata
Phd courselez1introtostataPhd courselez1introtostata
Phd courselez1introtostata
 
2015 Luminant Energy Process Guide
2015 Luminant Energy Process Guide2015 Luminant Energy Process Guide
2015 Luminant Energy Process Guide
 
How to Download IDEA for Windows Based ComputersSelect the dow.docx
How to Download IDEA for Windows Based ComputersSelect the dow.docxHow to Download IDEA for Windows Based ComputersSelect the dow.docx
How to Download IDEA for Windows Based ComputersSelect the dow.docx
 
Power bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantPower bi slide share pdf it is a very important
Power bi slide share pdf it is a very important
 
BSOP 326 Expect Success/newtonhelp.com
BSOP 326 Expect Success/newtonhelp.comBSOP 326 Expect Success/newtonhelp.com
BSOP 326 Expect Success/newtonhelp.com
 
Chapter.10
Chapter.10Chapter.10
Chapter.10
 
Chapter.10
Chapter.10Chapter.10
Chapter.10
 
SAC_Planning.pdf
SAC_Planning.pdfSAC_Planning.pdf
SAC_Planning.pdf
 
Business Intelligence tools comparison
Business Intelligence tools comparisonBusiness Intelligence tools comparison
Business Intelligence tools comparison
 
Tableau Basic Questions
Tableau Basic QuestionsTableau Basic Questions
Tableau Basic Questions
 
Visual Analytics with Tableau
Visual Analytics with TableauVisual Analytics with Tableau
Visual Analytics with Tableau
 
Spreadsheet Auditing
Spreadsheet  AuditingSpreadsheet  Auditing
Spreadsheet Auditing
 
Bsop 326 Enhance teaching - tutorialrank.com
Bsop 326  Enhance teaching - tutorialrank.comBsop 326  Enhance teaching - tutorialrank.com
Bsop 326 Enhance teaching - tutorialrank.com
 
BSOP 326 Effective Communication/tutorialrank.com
 BSOP 326 Effective Communication/tutorialrank.com BSOP 326 Effective Communication/tutorialrank.com
BSOP 326 Effective Communication/tutorialrank.com
 
BSOP 326 Success Begins /newtonhelp.com 
BSOP 326 Success Begins /newtonhelp.com BSOP 326 Success Begins /newtonhelp.com 
BSOP 326 Success Begins /newtonhelp.com 
 

More from Antonio Condori

Actividad3 david a. condori tantani
Actividad3  david a. condori tantaniActividad3  david a. condori tantani
Actividad3 david a. condori tantani
Antonio Condori
 
Actividad3 1 david a. condori tantani
Actividad3 1  david a. condori tantaniActividad3 1  david a. condori tantani
Actividad3 1 david a. condori tantani
Antonio Condori
 
Actividad3 4 david a. condori tantani
Actividad3 4  david a. condori tantaniActividad3 4  david a. condori tantani
Actividad3 4 david a. condori tantani
Antonio Condori
 
Actividad3 3 david a. condori tantani
Actividad3 3  david a. condori tantaniActividad3 3  david a. condori tantani
Actividad3 3 david a. condori tantani
Antonio Condori
 
Actividad3 2 david a. condori tantani
Actividad3 2  david a. condori tantaniActividad3 2  david a. condori tantani
Actividad3 2 david a. condori tantani
Antonio Condori
 
Actividad3 1 david a. condori tantani
Actividad3 1  david a. condori tantaniActividad3 1  david a. condori tantani
Actividad3 1 david a. condori tantani
Antonio Condori
 
Actividad3 david a. condori tantani
Actividad3  david a. condori tantaniActividad3  david a. condori tantani
Actividad3 david a. condori tantani
Antonio Condori
 
Usuario stata
Usuario stataUsuario stata
Usuario stata
Antonio Condori
 
Introduccion a stata
Introduccion a stataIntroduccion a stata
Introduccion a stata
Antonio Condori
 

More from Antonio Condori (9)

Actividad3 david a. condori tantani
Actividad3  david a. condori tantaniActividad3  david a. condori tantani
Actividad3 david a. condori tantani
 
Actividad3 1 david a. condori tantani
Actividad3 1  david a. condori tantaniActividad3 1  david a. condori tantani
Actividad3 1 david a. condori tantani
 
Actividad3 4 david a. condori tantani
Actividad3 4  david a. condori tantaniActividad3 4  david a. condori tantani
Actividad3 4 david a. condori tantani
 
Actividad3 3 david a. condori tantani
Actividad3 3  david a. condori tantaniActividad3 3  david a. condori tantani
Actividad3 3 david a. condori tantani
 
Actividad3 2 david a. condori tantani
Actividad3 2  david a. condori tantaniActividad3 2  david a. condori tantani
Actividad3 2 david a. condori tantani
 
Actividad3 1 david a. condori tantani
Actividad3 1  david a. condori tantaniActividad3 1  david a. condori tantani
Actividad3 1 david a. condori tantani
 
Actividad3 david a. condori tantani
Actividad3  david a. condori tantaniActividad3  david a. condori tantani
Actividad3 david a. condori tantani
 
Usuario stata
Usuario stataUsuario stata
Usuario stata
 
Introduccion a stata
Introduccion a stataIntroduccion a stata
Introduccion a stata
 

Recently uploaded

Independent Call Girls Visakhapatnam 8800000000 Low Rate HIgh Profile Visakha...
Independent Call Girls Visakhapatnam 8800000000 Low Rate HIgh Profile Visakha...Independent Call Girls Visakhapatnam 8800000000 Low Rate HIgh Profile Visakha...
Independent Call Girls Visakhapatnam 8800000000 Low Rate HIgh Profile Visakha...
khannsohil539
 
Call Girls in Mumbai (Maharashtra) call me [🔝9967824496🔝] Escort In Jaipur se...
Call Girls in Mumbai (Maharashtra) call me [🔝9967824496🔝] Escort In Jaipur se...Call Girls in Mumbai (Maharashtra) call me [🔝9967824496🔝] Escort In Jaipur se...
Call Girls in Mumbai (Maharashtra) call me [🔝9967824496🔝] Escort In Jaipur se...
rosankumar564363
 
Tiểu luận: PURPOSE OF BUDGETING IN SME.docx
Tiểu luận: PURPOSE OF BUDGETING IN SME.docxTiểu luận: PURPOSE OF BUDGETING IN SME.docx
Tiểu luận: PURPOSE OF BUDGETING IN SME.docx
lamluanvan.net Viết thuê luận văn
 
🔥High Class Call Girls Chandigarh 💯Call Us 🔝 70230594 🔝💃Independent Chandigar...
🔥High Class Call Girls Chandigarh 💯Call Us 🔝 70230594 🔝💃Independent Chandigar...🔥High Class Call Girls Chandigarh 💯Call Us 🔝 70230594 🔝💃Independent Chandigar...
🔥High Class Call Girls Chandigarh 💯Call Us 🔝 70230594 🔝💃Independent Chandigar...
AK47
 
GUIA_LEGAL_CHAPTER_13_ACCOUNTING REGULATION.pdf
GUIA_LEGAL_CHAPTER_13_ACCOUNTING REGULATION.pdfGUIA_LEGAL_CHAPTER_13_ACCOUNTING REGULATION.pdf
GUIA_LEGAL_CHAPTER_13_ACCOUNTING REGULATION.pdf
ProexportColombia1
 
2024欧洲杯赔率-2024欧洲杯赔率买球推荐网站-2024欧洲杯赔率买球网好的网站 |【​网址​🎉ac55.net🎉​】
2024欧洲杯赔率-2024欧洲杯赔率买球推荐网站-2024欧洲杯赔率买球网好的网站 |【​网址​🎉ac55.net🎉​】2024欧洲杯赔率-2024欧洲杯赔率买球推荐网站-2024欧洲杯赔率买球网好的网站 |【​网址​🎉ac55.net🎉​】
2024欧洲杯赔率-2024欧洲杯赔率买球推荐网站-2024欧洲杯赔率买球网好的网站 |【​网址​🎉ac55.net🎉​】
valvereliz227
 
CLUB DEAL - UK - 210524 - DECK INVESTOR.pdf
CLUB DEAL - UK - 210524 - DECK INVESTOR.pdfCLUB DEAL - UK - 210524 - DECK INVESTOR.pdf
CLUB DEAL - UK - 210524 - DECK INVESTOR.pdf
HannahDerenbach
 
Singapore 2024 Sustainability Slides.pdf
Singapore 2024 Sustainability Slides.pdfSingapore 2024 Sustainability Slides.pdf
Singapore 2024 Sustainability Slides.pdf
International Federation of Accountants
 
Call Girls Chennai 🎉 7339748667 🎉 With No Advance Payment
Call Girls Chennai 🎉 7339748667 🎉 With No Advance PaymentCall Girls Chennai 🎉 7339748667 🎉 With No Advance Payment
Call Girls Chennai 🎉 7339748667 🎉 With No Advance Payment
prijesh mathew
 
Dalriada Submission to DWP January 2024.pdf
Dalriada Submission to DWP January 2024.pdfDalriada Submission to DWP January 2024.pdf
Dalriada Submission to DWP January 2024.pdf
Henry Tapper
 
一比一原版(leeds学位证书)英国利兹大学毕业证如何办理
一比一原版(leeds学位证书)英国利兹大学毕业证如何办理一比一原版(leeds学位证书)英国利兹大学毕业证如何办理
一比一原版(leeds学位证书)英国利兹大学毕业证如何办理
eeqcxun
 
CRYPTOCURRENCY REVOLUTIONIZING THE FINANCIAL LANDSCAPE AND SHAPING THE FUTURE...
CRYPTOCURRENCY REVOLUTIONIZING THE FINANCIAL LANDSCAPE AND SHAPING THE FUTURE...CRYPTOCURRENCY REVOLUTIONIZING THE FINANCIAL LANDSCAPE AND SHAPING THE FUTURE...
CRYPTOCURRENCY REVOLUTIONIZING THE FINANCIAL LANDSCAPE AND SHAPING THE FUTURE...
itsfaizankhan091
 
Calculation of compliance cost: Veterinary and sanitary control of aquatic bi...
Calculation of compliance cost: Veterinary and sanitary control of aquatic bi...Calculation of compliance cost: Veterinary and sanitary control of aquatic bi...
Calculation of compliance cost: Veterinary and sanitary control of aquatic bi...
Alexander Belyaev
 
Singapore 2024 Event The Way Forward Slides
Singapore 2024 Event The Way Forward SlidesSingapore 2024 Event The Way Forward Slides
Singapore 2024 Event The Way Forward Slides
International Federation of Accountants
 
The-PFMS-Revolution-Streamlining-Indias-Financial-Management.pptx
The-PFMS-Revolution-Streamlining-Indias-Financial-Management.pptxThe-PFMS-Revolution-Streamlining-Indias-Financial-Management.pptx
The-PFMS-Revolution-Streamlining-Indias-Financial-Management.pptx
cosmo-soil
 
Bangalore Call Girls ☑ +91-8824825030 ☑ Available Hot Girls Book Now
Bangalore Call Girls ☑ +91-8824825030 ☑ Available Hot Girls Book NowBangalore Call Girls ☑ +91-8824825030 ☑ Available Hot Girls Book Now
Bangalore Call Girls ☑ +91-8824825030 ☑ Available Hot Girls Book Now
royalriyaa7
 
🚺MIHIKA JAIN Call Girls In Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top Class Call G...
🚺MIHIKA JAIN Call Girls In Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top Class Call G...🚺MIHIKA JAIN Call Girls In Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top Class Call G...
🚺MIHIKA JAIN Call Girls In Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top Class Call G...
khalnayak pandey
 
💋High Profile Call Girls Delhi 💯Call Us 🔝 9999965857 🔝💃Independent Delhi Esco...
💋High Profile Call Girls Delhi 💯Call Us 🔝 9999965857 🔝💃Independent Delhi Esco...💋High Profile Call Girls Delhi 💯Call Us 🔝 9999965857 🔝💃Independent Delhi Esco...
💋High Profile Call Girls Delhi 💯Call Us 🔝 9999965857 🔝💃Independent Delhi Esco...
priya$L14
 
Heather Elizabeth HamoodHeather Elizabeth Hamood
Heather Elizabeth HamoodHeather Elizabeth HamoodHeather Elizabeth HamoodHeather Elizabeth Hamood
Heather Elizabeth HamoodHeather Elizabeth Hamood
heatherhamood
 
Vadhavan Port Development _ What to Expect In and Beyond (1).pdf
Vadhavan Port Development _ What to Expect In and Beyond (1).pdfVadhavan Port Development _ What to Expect In and Beyond (1).pdf
Vadhavan Port Development _ What to Expect In and Beyond (1).pdf
johnson100mee
 

Recently uploaded (20)

Independent Call Girls Visakhapatnam 8800000000 Low Rate HIgh Profile Visakha...
Independent Call Girls Visakhapatnam 8800000000 Low Rate HIgh Profile Visakha...Independent Call Girls Visakhapatnam 8800000000 Low Rate HIgh Profile Visakha...
Independent Call Girls Visakhapatnam 8800000000 Low Rate HIgh Profile Visakha...
 
Call Girls in Mumbai (Maharashtra) call me [🔝9967824496🔝] Escort In Jaipur se...
Call Girls in Mumbai (Maharashtra) call me [🔝9967824496🔝] Escort In Jaipur se...Call Girls in Mumbai (Maharashtra) call me [🔝9967824496🔝] Escort In Jaipur se...
Call Girls in Mumbai (Maharashtra) call me [🔝9967824496🔝] Escort In Jaipur se...
 
Tiểu luận: PURPOSE OF BUDGETING IN SME.docx
Tiểu luận: PURPOSE OF BUDGETING IN SME.docxTiểu luận: PURPOSE OF BUDGETING IN SME.docx
Tiểu luận: PURPOSE OF BUDGETING IN SME.docx
 
🔥High Class Call Girls Chandigarh 💯Call Us 🔝 70230594 🔝💃Independent Chandigar...
🔥High Class Call Girls Chandigarh 💯Call Us 🔝 70230594 🔝💃Independent Chandigar...🔥High Class Call Girls Chandigarh 💯Call Us 🔝 70230594 🔝💃Independent Chandigar...
🔥High Class Call Girls Chandigarh 💯Call Us 🔝 70230594 🔝💃Independent Chandigar...
 
GUIA_LEGAL_CHAPTER_13_ACCOUNTING REGULATION.pdf
GUIA_LEGAL_CHAPTER_13_ACCOUNTING REGULATION.pdfGUIA_LEGAL_CHAPTER_13_ACCOUNTING REGULATION.pdf
GUIA_LEGAL_CHAPTER_13_ACCOUNTING REGULATION.pdf
 
2024欧洲杯赔率-2024欧洲杯赔率买球推荐网站-2024欧洲杯赔率买球网好的网站 |【​网址​🎉ac55.net🎉​】
2024欧洲杯赔率-2024欧洲杯赔率买球推荐网站-2024欧洲杯赔率买球网好的网站 |【​网址​🎉ac55.net🎉​】2024欧洲杯赔率-2024欧洲杯赔率买球推荐网站-2024欧洲杯赔率买球网好的网站 |【​网址​🎉ac55.net🎉​】
2024欧洲杯赔率-2024欧洲杯赔率买球推荐网站-2024欧洲杯赔率买球网好的网站 |【​网址​🎉ac55.net🎉​】
 
CLUB DEAL - UK - 210524 - DECK INVESTOR.pdf
CLUB DEAL - UK - 210524 - DECK INVESTOR.pdfCLUB DEAL - UK - 210524 - DECK INVESTOR.pdf
CLUB DEAL - UK - 210524 - DECK INVESTOR.pdf
 
Singapore 2024 Sustainability Slides.pdf
Singapore 2024 Sustainability Slides.pdfSingapore 2024 Sustainability Slides.pdf
Singapore 2024 Sustainability Slides.pdf
 
Call Girls Chennai 🎉 7339748667 🎉 With No Advance Payment
Call Girls Chennai 🎉 7339748667 🎉 With No Advance PaymentCall Girls Chennai 🎉 7339748667 🎉 With No Advance Payment
Call Girls Chennai 🎉 7339748667 🎉 With No Advance Payment
 
Dalriada Submission to DWP January 2024.pdf
Dalriada Submission to DWP January 2024.pdfDalriada Submission to DWP January 2024.pdf
Dalriada Submission to DWP January 2024.pdf
 
一比一原版(leeds学位证书)英国利兹大学毕业证如何办理
一比一原版(leeds学位证书)英国利兹大学毕业证如何办理一比一原版(leeds学位证书)英国利兹大学毕业证如何办理
一比一原版(leeds学位证书)英国利兹大学毕业证如何办理
 
CRYPTOCURRENCY REVOLUTIONIZING THE FINANCIAL LANDSCAPE AND SHAPING THE FUTURE...
CRYPTOCURRENCY REVOLUTIONIZING THE FINANCIAL LANDSCAPE AND SHAPING THE FUTURE...CRYPTOCURRENCY REVOLUTIONIZING THE FINANCIAL LANDSCAPE AND SHAPING THE FUTURE...
CRYPTOCURRENCY REVOLUTIONIZING THE FINANCIAL LANDSCAPE AND SHAPING THE FUTURE...
 
Calculation of compliance cost: Veterinary and sanitary control of aquatic bi...
Calculation of compliance cost: Veterinary and sanitary control of aquatic bi...Calculation of compliance cost: Veterinary and sanitary control of aquatic bi...
Calculation of compliance cost: Veterinary and sanitary control of aquatic bi...
 
Singapore 2024 Event The Way Forward Slides
Singapore 2024 Event The Way Forward SlidesSingapore 2024 Event The Way Forward Slides
Singapore 2024 Event The Way Forward Slides
 
The-PFMS-Revolution-Streamlining-Indias-Financial-Management.pptx
The-PFMS-Revolution-Streamlining-Indias-Financial-Management.pptxThe-PFMS-Revolution-Streamlining-Indias-Financial-Management.pptx
The-PFMS-Revolution-Streamlining-Indias-Financial-Management.pptx
 
Bangalore Call Girls ☑ +91-8824825030 ☑ Available Hot Girls Book Now
Bangalore Call Girls ☑ +91-8824825030 ☑ Available Hot Girls Book NowBangalore Call Girls ☑ +91-8824825030 ☑ Available Hot Girls Book Now
Bangalore Call Girls ☑ +91-8824825030 ☑ Available Hot Girls Book Now
 
🚺MIHIKA JAIN Call Girls In Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top Class Call G...
🚺MIHIKA JAIN Call Girls In Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top Class Call G...🚺MIHIKA JAIN Call Girls In Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top Class Call G...
🚺MIHIKA JAIN Call Girls In Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top Class Call G...
 
💋High Profile Call Girls Delhi 💯Call Us 🔝 9999965857 🔝💃Independent Delhi Esco...
💋High Profile Call Girls Delhi 💯Call Us 🔝 9999965857 🔝💃Independent Delhi Esco...💋High Profile Call Girls Delhi 💯Call Us 🔝 9999965857 🔝💃Independent Delhi Esco...
💋High Profile Call Girls Delhi 💯Call Us 🔝 9999965857 🔝💃Independent Delhi Esco...
 
Heather Elizabeth HamoodHeather Elizabeth Hamood
Heather Elizabeth HamoodHeather Elizabeth HamoodHeather Elizabeth HamoodHeather Elizabeth Hamood
Heather Elizabeth HamoodHeather Elizabeth Hamood
 
Vadhavan Port Development _ What to Expect In and Beyond (1).pdf
Vadhavan Port Development _ What to Expect In and Beyond (1).pdfVadhavan Port Development _ What to Expect In and Beyond (1).pdf
Vadhavan Port Development _ What to Expect In and Beyond (1).pdf
 

Actividad3 david a. condori tantani

  • 1. Session 1 Module Introduction and Getting Started with Stata 1 Lic. David A. Condori Tantani
  • 2. 2 Introduction  Welcome  Housekeeping  Introductions  Name, job, district, team 2 Lic. David A. Condori Tantani
  • 3. Module Overview 3 Module objectives are to provide you with • Skills in data analysis • Keeping in mind the analysis objectives • While learning the use of a specialised statistical software package Stata There will be a strong emphasis on conducting meaningful analyses and on the interpretation of the results. Lic. David A. Condori Tantani
  • 4. 4 Module content  Data management  Data entry principles and practices  using Epi Info  designing data capture screens,  labelling and entering data, etc.  Simple statistical analysis  in Epi Info  and using the statistics package, Instat.  Report writing. 4 Lic. David A. Condori Tantani
  • 5. 5 Duration and timetable 5 Morning Afternoon Day 1 Getting started with Stata Continued Day 2 Tables Project work part 1 Day 3 Graphs Project work part 2 Day 4 Reviewing inference: estimation and confidence intervals Reviewing inference: Hypothesis testing Day 5 Tests of association in 2- way tables Sampling weights Day 6 Project work part 3: writing the report Putting it all in context Lic. David A. Condori Tantani
  • 6. 6 Module Learning Objectives At the end of the module, participants will :  appreciate the power of Stata as a statistical package  be able to undertake elementary data management and statistical analyses in Stata  have updated their practical knowledge of the key statistical inference concepts of estimation and hypothesis testing  be able to produce graphs and tables using Stata,  have sufficient knowledge of Stata to be able to work independently to produce other analyses 6 Lic. David A. Condori Tantani
  • 7. 7 Prerequisites Completion of Modules 1 and 2 At least a theoretical knowledge of statistical inference 7 Lic. David A. Condori Tantani
  • 8. 8 Resources  Stata software - version 10  This should be installed already  It may need updating and a Stata “package” adding – see later slides  Guide to survey data analysis using Stata  Part 1 (Chapters 1 to 10) is used here  Part 2 (Chapters 11 to 20) is supplied for reference  Inference guide  Used particularly in Sessions 7 and 8 8 Lic. David A. Condori Tantani
  • 9. 9 Concepts more than software  The emphasis is on the concepts of data analysis and statistical inference  Using Stata  Rather than just on Stata itself  Here we largely use the menus and dialogues  Though ways of using and reading commands are introduced  Software is now easy to master  It is the statistical concepts that benefit from a course Lic. David A. Condori Tantani
  • 10. Learning objectives – sessions 1 and 2 These two sessions are about Stata  Participants will be able to:  Load and save data  Explore data  Using describe, codebook, summarize, etc  Calculate new variables  Using generate, recode, etc  Add labels to variables and to levels of a factor  Create subsets of data using drop and keep 10 Lic. David A. Condori Tantani
  • 11. Session Contents 11 In this session we look in particular at: • Windows and menus in Stata • Opening Stata data files • Stata dialogues • Typing and editing commands • Using Stata as a calculator • Exiting Stata Lic. David A. Condori Tantani
  • 12. The four Stata windows 12 Review Stata Results Variables and window for typing Stata commands
  • 13. The Stata menus and toolbar  The three most important menus  Data (for organising and managing the data),  Graphics (for visual exploration & presentation),  Statistics (for analysis). 13 Data, Graphics, Statistics
  • 14. Check Stata is up-to-date  Use Help => Official updates 14 If updating is needed, either: Do it automatically if you are connected to the internet Or use the files on the CD/DVD that are under Stata resources
  • 15. The Data and Graphics Menus 15 Lic. David A. Condori Tantani
  • 16. Your turn  Click on several menus and explain their usage to your neighbour  You can deduce the menu from the logic of the task  e.g. to draw a graph you go to the graphics menu!  Which menu would you probably need to use to:  save data?  sort a data set?  produce a bar chart?  tabulate the data?  Check by finding the dialogue in Stata 16 Lic. David A. Condori Tantani
  • 17. Stata guide Section 1.2  You use Stata as a calculator  Go through this section together  Check the buttons at the bottom of the dialogue  They are the same on all dialogues 17 Lic. David A. Condori Tantani
  • 18. Using Stata as a calculator To perform calculations, use Data ⇒ Other utilities ⇒ Hand calculator 18 Type 2+3 into the Expression slot Press the Submit button See answer in Results Window, and appearance of corresponding command in both the Results and Review windows.
  • 19. Results from the dialogue You can get back to any dialogue box by typing db in front of the command name. e.g. db display 19 Lic. David A. Condori Tantani
  • 20. Creating an expression 20 Click create and then complete the resulting expression builder dialogue box. Or type: display ln(10)
  • 21. Stata guide Section 1.3  From this point you use a dataset that is supplied  Check that you have a working directory  And that it has the files for this module  Copy them in, if not  They are on the CD/DVD under Stata resources  You could install the Stata package as well if you wish.  Then use Files => Change working directory  To set this directory for the future 21 Lic. David A. Condori Tantani
  • 22. Opening a Stata data file  Use the menu sequence  File, Open… select (highlight) the file named  K_combined_short.dta and click on Open  This will load the data from the Kenya socio- economic survey into Stata  Look at the Variables Window. What do you observe? 22 Lic. David A. Condori Tantani
  • 23. Options within the Data menu 23 Lic. David A. Condori Tantani
  • 24. An example of a dialogue box24 Dialogue results from using the menu sequence Data, ⇒ Describe data, ⇒ Describe data contents (codebook)
  • 25. In the codebook dialogue box…  The Submit button  instructs Stata to execute the command, leaving the dialogue box visible.  The OK button does the same,  but closes the dialogue box.  Cancel closes the dialogue box  without submitting the command to Stata.  The R button resets the dialogue box  to its empty form.  ‘?’ gives help on the command  associated with the dialogue box.  The word “codebook” at the top of the dialogue  shows “codebook” is the command that will be generated 25
  • 26. Another dialogue box 26 Dialogue results from using the menu sequence Data, Describe data, Summary statistics
  • 27. Results from codebook and summarize 27
  • 28. Your turn In Chapter 1 of the Stata guide, go through  Section 1.3  Section 1.4  Section 1.5 Ask a resource person if you are unclear about any parts of the above sections. 28 Lic. David A. Condori Tantani
  • 29. Review 29 What do each of these buttons do? Menus (and corresponding commands) used so far: •display •describe •codebook •list •generate •replace •by/if//in What does each one do?
  • 30. Your turn again In Chapter 1 of the Stata guide, go through  Section 1.6  Section 1.7  Section 1.8 Ask a resource person if you are unclear about any parts of the above sections. 30 Lic. David A. Condori Tantani
  • 31. Review again  Explain to a neighbour why:  (3<4) gives the value 1 in Stata  (3>4) gives the value 0  They then explain to you why the expression:  1 + (age>24) + (age>60)  Recodes a column into the values 1, 2 or 3  (Hint – see Section 1.6 Fig 1.19 and 1.20 if you need help) 31 Lic. David A. Condori Tantani
  • 32. Typing and editing commands  Professional use of Stata for data analysis  benefits by some use of Stata commands  These are typed into the Command Window  To execute a command just press <Enter>.  To edit a previous command:  Click on it in the review window,  or use the Page-Up key – perhaps repeatedly.  In the Results Window  A “dot” appears in front of executed commands  whether generated by a dialogue, or by typing the command. 32
  • 33. Command for listing data In the command window, typing list region district household cluster will show the contents of each of the variables region, district, household and cluster. (Note: Stata is case sensitive) Pressing the GO button (see Stata menu bar) or the space bar allows you to scroll down the page To stop the display, press the red break icon button or press the letter q on your keyboard. To exit Stata, use: File ⇒ Exit 33 Lic. David A. Condori Tantani
  • 34. Your turn yet again In Chapter 2 of the Stata guide, go through  Sections 2.1 and 2.2  (You can go further if you have time) If you have your own data And it is not already in a Stata file, then:  In Chapter 3 of the Stata guide, go through  Sections 3.2.1, 3.2.2, 3.2.3  And discuss importing with the resource persons 34 Lic. David A. Condori Tantani
  • 35. … and finally…  Consider a data set from your own district or ministry that is available as an Excel file.  Follow procedures similar to those in Section 3.2.3 of the Stata Guide, to load your Excel data set into Stata.  Save your data as a Stata file, giving it an appropriate name and noting the directory on your computer where it has been saved. Note: You will return to this data set in sessions that follow. 35 Lic. David A. Condori Tantani
  翻译: