Do Statistical Analysis with Stata

Slides:



Advertisements
Similar presentations
Guide to Using Minitab 14 For Basic Statistical Applications
Advertisements

Basics of Biostatistics for Health Research Session 2 – February 14 th, 2013 Dr. Scott Patten, Professor of Epidemiology Department of Community Health.
Reading and writing raw data files: See previous slides and file examples for instructions re covariance matrices Writing from SPSS: recode v1 to v16 (missing,sysmiss=999).
Mwaka ES, Munabi IG, Buwembo W, Kukiriza J, Ochieng J. Anatomy Department Makerere University, School of Biomedical Sciences.
1/03/09 De 89 à 98. 1/03/09 De 89 à 98 1/03/09 De 89 à 98.
I NTRO TO S TATA James Ng Center for Digital Scholarship Hesburgh Libraries.
Getting Started With STATA How do I do this? It probably opened automatically, but you may have to save it to the desktop, and double-click it to open.
Sociology 601 Class 8: September 24, : Small-sample inference for a proportion 7.1: Large sample comparisons for two independent sample means.
 Last time we discussed t-tests: how to use sample means of quantitative variables to make inferences about parameters.  Today we’ll use the very same.
By Wendiann Sethi Spring  The second stages of using SPSS is data analysis. We will review descriptive statistics and then move onto other methods.
Introduction to Descriptive Statistics Spring 2007.
DATA TABLES Kinds of variables… DISPLAYING ONE CATEGORICAL VARIABLE Frequency tables…Bar charts…Pie charts… EQUAL AREA PRINCIPLE COMPARING TWO VARIABLES.
Multinomial Logistic Regression
Introduction to Descriptive Statistics Spring 2006.
A Simple Guide to Using SPSS© for Windows
Statistical Analysis SC504/HS927 Spring Term 2008 Week 17 (25th January 2008): Analysing data.
CHAPTER 2 Basic Descriptive Statistics: Percentages, Ratios and rates, Tables, Charts and Graphs.
Quantitative Data Analysis Definitions Examples of a data set Creating a data set Displaying and presenting data – frequency distributions Grouping and.
Active Learning Lecture Slides
CHAPTER 2 Basic Descriptive Statistics: Percentages, Ratios and rates, Tables, Charts and Graphs.
Derived from:  Line graphs are used to track changes over short and long periods of time.  Line graphs can also be used to compare.
Solve for y when x = 1, 2, 3 and 4. 1.) y = x ) y = 5x 4 3.) y = 3x Solve for y when x is -2, -1, 0, 1. Patterns and Functions Day 2.
Research Methods. Research Projects  Background Literature  Aims and Hypothesis  Methods: Study Design Data collection approach Sample Size and Power.
© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Stata Workshop #1 Chiu-Hsieh (Paul) Hsu Associate Professor College of Public Health
SIMPLE TWO GROUP TESTS Prof Peter T Donnan Prof Peter T Donnan.
Chapters 1 and 2 Week 1, Monday. Chapter 1: Stats Starts Here What is Statistics? “Statistics is a way of reasoning, along with a collection of tools.
Computing for Research I Spring 2012 Exploratory Data Analysis and Hypothesis Testing February 21 Primary Instructor: Elizabeth Garrett-MAyer.
Describing Data: Graphical Methods ● So far we have been concerned with moving from asking a research question to collecting good quality empirical data.
Math 341 January 23, Outline 1. Recap 2. Other Sampling Designs 3. Graphical methods.
Basics of Biostatistics for Health Research Session 3 – February 21, 2013 Dr. Scott Patten, Professor of Epidemiology Department of Community Health Sciences.
Basics of Biostatistics for Health Research Session 1 – February 7 th, 2013 Dr. Scott Patten, Professor of Epidemiology Department of Community Health.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall2(1)-1 Chapter 2: Displaying and Summarizing Data Part 1: Displaying Data With Charts.
Andrew Barnes February Why use charts and graphics? It gives a visual representation to numbers and statistics. It is simple to use and easy to.
Basics of Biostatistics for Health Research Session 4 – February 28, 2013 Dr. Scott Patten, Professor of Epidemiology Department of Community Health Sciences.
Chi Square Test for Goodness of Fit Determining if our sample fits the way it should be.
The Research Process First, Collect data and make sure that everything is coded properly, things are not missing. Do this for whatever program your using.
。 33 投资环境 3 开阔视野 提升竞争力 。 3 嘉峪关市概况 。 3 。 3 嘉峪关是一座新兴的工业旅游城市,因关得名,因企设市,是长城文化与丝路文化交 汇点,是全国唯一一座以长城关隘命名的城市。嘉峪关关城位于祁连山、黑山之间。 1965 年建市,下辖雄关区、镜铁区、长城区, 全市总面积 2935.
 Naïve Bayes  Data import – Delimited, Fixed, SAS, SPSS, OBDC  Variable creation & transformation  Recode variables  Factor variables  Missing.
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 16 : Summary Marshall University Genomics Core Facility.
Statistical Analysis – Part 3
Statistics in SPSS Lecture 3
CHAPTER 13 Data Processing, Basic Data Analysis, and the Statistical Testing Of Differences Copyright © 2000 by John Wiley & Sons, Inc.
Review 1. Describing variables.
Guide to Using Minitab 14 For Basic Statistical Applications
Math 145 January 23, 2007.
X AND R CHART EXAMPLE IN-CLASS EXERCISE
Data Management and Acquisition Tutorial
Section 1.1 Part 1 AP Statistics CASA
Introduction Introduction to Stata 2016.
Data Analysis for Two-Way Tables
Sample Column Chart- No Data Labels, no lines SOURCE:
Bivariate Testing (Chi Square)
دانشگاه شهیدرجایی تهران
Bivariate Testing (Chi Square)
Statistics in SPSS Lecture 4
تعهدات مشتری در کنوانسیون بیع بین المللی
Basic analysis Process the data validation editing coding data entry
Georgi Iskrov, MBA, MPH, PhD Department of Social Medicine
بسمه تعالی کارگاه ارزشیابی پیشرفت تحصیلی
Secondary Data Analysis Lec 10
Data Analysis Module: Chi Square
Data Processing, Basic Data Analysis, and the
Math 145 September 6, 2005.
C.2.10 Sample Questions.
Sampling Distributions
C.2.8 Sample Questions.
Data analysis using SPSS and Excel
C.2.8 Sample Questions.
A Brief Introduction to Stata(2)
Presentation transcript:

Do Statistical Analysis with Stata

Stata

Load data 1

Load data 2 use "D:\User_Data\Desktop\LaborDispute11.dta", clear

Describe data des Or des variable

Describe data

Tabulate tab female type, chi

Tab result

Recode variables tab v53 tab v53, nolabel

Recode variables recode v53 (1=0) (2=1), gen(female) tab female

Recode variables Sometimes you need to beware of the missing values. But, the missing value in our data has been coded with a specific number such as 8 or 9 or 98. Simply recoding them to “.” will do.

Bar chart Show the mean of “requestamount” by “type.”

Bar chart

Bar chart

Bar chart

Bar chart

Bar chart

Bar chart

Bar chart

Two-sample mean comparison test

Two-sample mean comparison test ttest requestamount == settleamount, unpaired

Two-group mean comparison test

Two-group mean comparison test

Two-group mean comparison test ttest requestamount, by(female)

Two-group proportion test

Two-group proportion test

Two-group proportion test prtest v12, by(female)

Thank you for your attention.