Title: Using Computers for Data Analysis
1Using Computers for Data Analysis
- Adam Schlichting
- University of Illinois at Chicago
- Department of Emergency Medicine
2IntroductionWhy?
- Too many calculations to do on a handheld
calculator
3IntroductionPrograms
- EpiInfo
- Centers for Disease Control and Prevention (CDC)
- Free software
- http//www.cdc.gov/epiinfo/
4(No Transcript)
5IntroductionPrograms
- Statistical Program for Social Scientists (SPSS)
- Easy to use, point and click
- Similar to Microsoft Excel
- Fairly powerful
6(No Transcript)
7IntroductionPrograms
- Statistical Analysis Software (SAS)
- Very powerful
- Not so easy to use
8(No Transcript)
9IntroductionPrograms
- Other Programs
- PEPI
- STATA
- FOCUS
10IntroductionPrograms
- Well focus on
- SPSS
- EpiInfo for special situations
- Easiest to use
- Tell you everything you need to know 99 of the
time - Biostatisticians exist for the
remaining 1
11SPSSThe Program
12SPSSThe Program
13SPSSImporting Data
- Excel is easier to enter and manipulate data
- Need to import data
- Excel
- Access
- DBase
- Delineated text
-
14SPSSImporting Data Specify File Type
15SPSSImporting Data Specify File Location
16SPSSImporting Data Import Variable Names
17SPSSImported Data Complete
18SPSSSaving Imported Data as a SPSS File
19SPSSSaving Imported Data as a SPSS File
20SPSSAnalysis Frequency Counts
- Do frequency counts of everything
- Points out errors that need to be cleaned
- Look for obvious mistakes
- Age 650 instead of 65
21SPSSAnalysis Frequency Counts
22SPSSAnalysis Frequency Counts
23SPSSAnalysis Frequency Counts
- Use shift/click and Ctrl/click to select
variables
24SPSSAnalysis Frequency Counts
25SPSSAnalysis Frequency Counts
26SPSSAnalysis Frequency Counts
27SPSSAnalysis Frequency Counts Printing
28SPSSAnalysis Frequency Counts Printing
29SPSSAnalysis Central Tendency
- Useful for demographics, lab values
- Defaults
- N
- Range
- Mean
- Standard Deviation
30SPSSAnalysis Central Tendency
31SPSSAnalysis Central Tendency
- Use shift/click and Ctrl/click to select variables
32SPSSAnalysis Central Tendency
33SPSSAnalysis Central Tendency
34SPSSAnalysis Central Tendency
35SPSSAnalysis Crosstabs
- Compare subgroups of catagorical variables on
other variables - Not used for continuous variables
- Our example
- In this sample, does outcome differ by
- prehospital GCS?
- sex?
36SPSSAnalysis Crosstabs
37SPSSAnalysis Crosstabs
38SPSSAnalysis Crosstabs
39SPSSAnalysis Crossabs
40SPSSAnalysis Crossabs
41SPSSAnalysis Crosstabs
- Gives a nice breakdown of data
- But how do we know if a relationship exists?
42SPSSAnalysis Crosstabs
- Use Statcalc in EpiInfo to quickly calculate Odds
Ratios, Relative Risks, Confidence Intervals and
p-values
43EpiInfoStatcalc
44EpiInfoStatcalc
45EpiInfoStatcalc
46EpiInfoStatcalc
- Must translate orientation in SPSS table into
Exposure/disease orientation for Statcalc - Disease outcome
- Exposure risk
47EpiInfoStatcalc
- Disease outcome Alive
- 1 alive, 28 days
- 2 dead, 28 days
- Bad outcome (death) disease
- Exposure risk sex
- 1 male
- 2 female
48EpiInfoStatcalc
49EpiInfoStatcalc
Nothing significant
50EpiInfoStatcalc
51SPSSBack to SPSS
52SPSSAnalysis Regression
- When several variables work together, which plays
the most important role in predicting an outcome? - How well does this model predict outcome?
- Short Example
- In predicting outcome in a trauma study, which of
the following factors is most important in
predicting outcome gender, pre-hospital GCS, age?
53SPSSAnalysis Linear Regression
54SPSSAnalysis Linear Regression
55SPSSAnalysis Linear Regression
56SPSSAnalysis Linear Regression
57SPSSAnalysis Linear Regression
58SPSSAnalysis Logistic Regression
59SPSSAnalysis Logistic Regression
60SPSSAnalysis Logistic Regression
61SPSSAnalysis Logistic Regression
62Computer Statistical AnalysisSummary
- Brief overview of
- Importing data
- Frequency counts
- Central tendency
- Crosstabs and ORs/RRs (EpiInfo)
- Linear regression
- Logistic regression
63Computer Statistical AnalysisSummary
- Dont be afraid to ask people to help
64Questions?