Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part...

24
Using SDA part ii Using SDA part ii Accoleds/DLI Training 2003 Universi Accoleds/DLI Training 2003 Universi ty of Calgary ty of Calgary 1 Using SDA Services @ ICPSR Using SDA Services @ ICPSR Part II Part II ACCOLEDS / DLI Training 2003 ACCOLEDS / DLI Training 2003 December 8 – 10 December 8 – 10 University of Calgary University of Calgary Walter Piovesan Walter Piovesan

Transcript of Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part...

Page 1: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 11

Using SDA Services @ ICPSRUsing SDA Services @ ICPSRPart IIPart II

ACCOLEDS / DLI Training 2003ACCOLEDS / DLI Training 2003

December 8 – 10December 8 – 10

University of CalgaryUniversity of Calgary

Walter PiovesanWalter Piovesan

Page 2: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 22

Contents RoadmapContents Roadmap

Overview of SDAOverview of SDA FeaturesFeatures Online Tools: Using the ICPSR Data Online Tools: Using the ICPSR Data

Analysis System (DAS)Analysis System (DAS) SAMHDA’s TEDS QuickTablesSAMHDA’s TEDS QuickTables SDA: Mucking about with DataSDA: Mucking about with Data

Page 3: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 33

Overview of SDAOverview of SDA

SDA (Survey Documentation & Analysis) SDA (Survey Documentation & Analysis) Developed at UC, Berkeley Developed at UC, Berkeley Web software to Web software to perform simple data analysisperform simple data analysis Tool for Teaching & Classroom useTool for Teaching & Classroom use No need for stats packages on local computersNo need for stats packages on local computers Browse codebooksBrowse codebooks No need to download data & docsNo need to download data & docs Create summary statistics for reportsCreate summary statistics for reports

Page 4: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 44

SDA FeaturesSDA Features

browse codebooks, questionnaires, browse codebooks, questionnaires, documentationdocumentation

statistical procedures: eg. list values, statistical procedures: eg. list values, frequencies, crosstabs, …frequencies, crosstabs, …

manipulate variables eg. Recode, compute new manipulate variables eg. Recode, compute new variables, …variables, …

custom subsets of selected variables and casescustom subsets of selected variables and cases codebook open in a separate window codebook open in a separate window download all : data, SPSS/SAS def, docsdownload all : data, SPSS/SAS def, docs

Page 5: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 55

Online Analysis Using the Data Analysis Online Analysis Using the Data Analysis System (DAS)System (DAS)

150 studies available in SDA format150 studies available in SDA format

DAS studies related toDAS studies related to:: AgingAging Criminal JusticeCriminal Justice EducationEducation Substance Abuse & Mental HealthSubstance Abuse & Mental Health

Page 6: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 66

Online Analysis Using the Data Analysis Online Analysis Using the Data Analysis System (DAS)System (DAS)

Special Topic Archives With their Web Sites:Special Topic Archives With their Web Sites: Census 2000 at ICPSRCensus 2000 at ICPSR Election 2000 at ICPSRElection 2000 at ICPSR General Social SurveyGeneral Social Survey (GSSDIRS) (GSSDIRS) Health and Medical Care ArchiveHealth and Medical Care Archive (HMCA) (HMCA) Homicide Research Working GroupHomicide Research Working Group (HRWG) (HRWG) International Archive of Education DataInternational Archive of Education Data (IAED) (IAED) National Archive of Computerized Data on AgingNational Archive of Computerized Data on Aging (NACDA) (NACDA) National Archive of Criminal Justice Data (NACJD) National Archive of Criminal Justice Data (NACJD) Site for Instructional Materials and Information (SIMI) Site for Instructional Materials and Information (SIMI) Substance Abuse & Mental Health Data Archive (SAMHDA) Substance Abuse & Mental Health Data Archive (SAMHDA)

Page 7: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 77

Quick Tables Quick Tables ( source www.DrugAbuseStatistics.samhsa.gov )( source www.DrugAbuseStatistics.samhsa.gov )

Substance Abuse & Mental Health Data Archive Substance Abuse & Mental Health Data Archive (SAMHDA) has new feature: QuickTables(SAMHDA) has new feature: QuickTables

Produces analytic tables via drop down –menusProduces analytic tables via drop down –menus Available for all Treatment Episode Data Sets Available for all Treatment Episode Data Sets

(TEDS)(TEDS)

Page 8: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 88

Quick Tables … Quick Tables … ( source www.DrugAbuseStatistics.samhsa.gov )( source www.DrugAbuseStatistics.samhsa.gov )

six easy steps to use Quick Tables six easy steps to use Quick Tables start: http://www.icpsr.umich.edu/SAMHDA start: http://www.icpsr.umich.edu/SAMHDA

Page 9: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 99

Quick Tables …..Quick Tables …..( source www.DrugAbuseStatistics.samhsa.gov )( source www.DrugAbuseStatistics.samhsa.gov )

Step 1Step 1: : Select “Online Analysis” from the Select “Online Analysis” from the SAMHDA front page SAMHDA front page (http://www.icpsr.umich.edu/SAMHDA)(http://www.icpsr.umich.edu/SAMHDA)

Step 2:Step 2: Select the Treatment Episode Data Set. Select the Treatment Episode Data Set. Step 3:Step 3: In the Quick Tables section, select the In the Quick Tables section, select the

TEDS 1992-2000 concatenated file. This TEDS 1992-2000 concatenated file. This produces a list of the available Quick Tables for produces a list of the available Quick Tables for the selected file (the selected file (see Figure 1see Figure 1))

Page 10: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 1010

Quick Tables …..Quick Tables …..( source www.DrugAbuseStatistics.samhsa.gov )( source www.DrugAbuseStatistics.samhsa.gov )

Step 4Step 4: Select desired Quick Table. For the : Select desired Quick Table. For the

example, select “Client Characteristics by Year”.example, select “Client Characteristics by Year”. Step 5:Step 5: Left-click on the drop-down menus to select Left-click on the drop-down menus to select

variables for the tablevariables for the table(2)(2). Custom Quick Tables may . Custom Quick Tables may be generated for be generated for 11different11different client characteristics client characteristics(3)(3) for an individual State or for all States combined. for an individual State or for all States combined. For the example, select “Employment Status” as the For the example, select “Employment Status” as the client characteristic and limit the table to Maryland. client characteristic and limit the table to Maryland.

The completed input screen is shown in Figure 2The completed input screen is shown in Figure 2. .

Page 11: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 1111

QuickTime™ and aPhoto - JPEG decompressor

are needed to see this picture.

Page 12: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 1212

Quick Tables …..Quick Tables …..( source www.DrugAbuseStatistics.samhsa.gov )( source www.DrugAbuseStatistics.samhsa.gov )

……Explanation of ResultsExplanation of Results is found on the is found on the final page (cases, desc vriables, publications, final page (cases, desc vriables, publications, citations etc) …… citations etc) …… (flip)(flip)

Page 13: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 1313

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

Online Tutorial: Online Tutorial: http://sda.berkeley.edu:7502/man3h/uindex.htmlhttp://sda.berkeley.edu:7502/man3h/uindex.html The Web-based SDA programs are intended to be self-The Web-based SDA programs are intended to be self-

explanatory, and there is online help available within each explanatory, and there is online help available within each program. program.

But you can also access the help files at the But you can also access the help files at the Online TutorialOnline Tutorial page.page.

Quick Quick Exercise ….. Exercise …..

Page 14: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 1414

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

11Quick Quick Exercise ….. Exercise …..• Example : using SAMHDA data examine association Example : using SAMHDA data examine association

between marijuana use and cigarette smoking.between marijuana use and cigarette smoking.• www.icpsr.umich.edu/SAMHDAwww.icpsr.umich.edu/SAMHDA

Page 15: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 1515

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

22Select data file….Select data file….• National Household Survey on Drug AbuseNational Household Survey on Drug Abuse• Then select most recent study ( 2001)…Then select most recent study ( 2001)…

Page 16: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 1616

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

33Consult Codebook….Consult Codebook….• May be opened in a separate windowMay be opened in a separate window

Page 17: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 1717

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

44Look for variables….Look for variables….

• ““Have you ever smoked a cigarette”Have you ever smoked a cigarette”

• ““Have you ever, even once, used marijuana or hashish”Have you ever, even once, used marijuana or hashish”

Page 18: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 1818

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

55Finding out about variables….Finding out about variables….

• Double click on variable name to learn additional information …Double click on variable name to learn additional information …

Page 19: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

66Analyse variables….Analyse variables….

• Perform crosstabulation of variables to determine if “Cigarette smoking Perform crosstabulation of variables to determine if “Cigarette smoking contributes to a higher probablity of marijuana use” …. (Click Start)contributes to a higher probablity of marijuana use” …. (Click Start)

Page 20: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

77Enter variables….Enter variables….

• Fill in the variable name in the ROW and COLUMN fields.Fill in the variable name in the ROW and COLUMN fields.• Recode variables Recode variables (R: 1=1,3 "yes”; 2 = 2,4 "no") (R: 1=1,3 "yes”; 2 = 2,4 "no") then RUN Tablethen RUN Table• (NHSDA Uses “logically assigned” valus for cases where respondents have not (NHSDA Uses “logically assigned” valus for cases where respondents have not

responded but answer can be infered. Explained in codebook.responded but answer can be infered. Explained in codebook.

Page 21: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

88

Page 22: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Using SDA part iiUsing SDA part ii Accoleds/DLI Training 2003 University of CalgaryAccoleds/DLI Training 2003 University of Calgary 2222

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

§ “ “play it play it again sam”:again sam”: Using the GSS survey at ICPSRUsing the GSS survey at ICPSR http://www.icpsr.umich.edu:8080/GSS/http://www.icpsr.umich.edu:8080/GSS/

homepage.htm homepage.htm GSS 1972-2002 Cumulative DatafileGSS 1972-2002 Cumulative Datafile Examine if there are any differences in the Examine if there are any differences in the

"feelings of God" amoung Married people and "feelings of God" amoung Married people and those who have Never Married?those who have Never Married?

Use Use GSS 1972-2002 Cumulative datafile GSS 1972-2002 Cumulative datafile choose choose NEARGOD & MARITAL variablesNEARGOD & MARITAL variables

Filter out other categories (2,3,4)Filter out other categories (2,3,4)

Page 23: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA

§ “ “play it play it again sam”:again sam”:

Page 24: Using SDA part ii Accoleds/DLI Training 2003 University of Calgary 1 Using SDA Services @ ICPSR Part II ACCOLEDS / DLI Training 2003 December 8 – 10 University.

Hands on: Mucking about with Data via SDAHands on: Mucking about with Data via SDA