pdq-explore npc workshop 2010 2010 1 1 ann arbor, michigan july 12-15, 2010

25
PDQ-Explore PDQ-Explore NPC Workshop NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12- 15, 2010

Post on 20-Dec-2015

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

PDQ-ExplorePDQ-Explore

NPC WorkshopNPC Workshop 20102010

11Ann Arbor, Michigan July 12-15, 2010

Page 2: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

ObjectivesObjectives

To learn to:To learn to: Open the PDQ-Explore Graphical InterfaceOpen the PDQ-Explore Graphical Interface Set up and Execute a PDQ-Explore QuerySet up and Execute a PDQ-Explore Query

TabulationsTabulations Summary StatisticsSummary Statistics QuantilesQuantiles

Manipulate ResultsManipulate Results TotalsTotals PercentagesPercentages PivotingPivoting SortingSorting

Save and Export ResultsSave and Export Results

22Ann Arbor, Michigan July 12-15, 2010

Page 3: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

RequirementsRequirements

PC (Not Mac) with Windows NT or PC (Not Mac) with Windows NT or laterlater

128 MB RAM or more128 MB RAM or more100 MB free hard disk space100 MB free hard disk spaceWrite access to installation driveWrite access to installation driveUSB Port (if using flash drive)USB Port (if using flash drive)Connection to InternetConnection to Internet

33Ann Arbor, Michigan July 12-15, 2010

Page 4: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Installation NoteInstallation Note PDQ-Explore is designed to run as a client PDQ-Explore is designed to run as a client

on a PC that has Internet access to our on a PC that has Internet access to our PDQ server in Ann Arbor:PDQ server in Ann Arbor:

pdq.psc.isr.umich.edupdq.psc.isr.umich.edu By default the installation files should be By default the installation files should be

copied to:copied to: C:\Program Files\PDQC:\Program Files\PDQ

If write access to C: is not available:If write access to C: is not available: PDQ-Explore can be run from the flash drive PDQ-Explore can be run from the flash drive

or another drive and file location: C:\PDQ, for or another drive and file location: C:\PDQ, for example.example.

Changes to the explore.ini file may be Changes to the explore.ini file may be necessarynecessary 44Ann Arbor, Michigan July 12-15, 2010

Page 5: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Starting PDQ-ExploreStarting PDQ-Explore If the PDQ-Explore icon is on the desktop:If the PDQ-Explore icon is on the desktop:

Double-Click on the PDQ-Explore iconDouble-Click on the PDQ-Explore icon

If there is no icon on the desktop:If there is no icon on the desktop: Go to the PDQ-Explore desktop or USB Go to the PDQ-Explore desktop or USB

installation folderinstallation folder Double-Click on explore.exeDouble-Click on explore.exe

Or alternatively iOr alternatively if using the USB Flash Drive:f using the USB Flash Drive: Start, Run, x:\pdq-x\explore.exeStart, Run, x:\pdq-x\explore.exe Note: The USB drive letter (x:) is machine Note: The USB drive letter (x:) is machine

dependent and is likely to be D or Edependent and is likely to be D or E

55Ann Arbor, Michigan July 12-15, 2010

Page 6: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Getting StartedGetting Started

Confirm server: pdq.psc.isr.umich.eduConfirm server: pdq.psc.isr.umich.edu No subscriber name/password is requiredNo subscriber name/password is required Enter/Enter/Enter until “Open” window Enter/Enter/Enter until “Open” window

appearsappears Double-Click on “Examples” workspaceDouble-Click on “Examples” workspace Select and expand “ipacs10” data setSelect and expand “ipacs10” data set Expand “housing” or “person” variable listExpand “housing” or “person” variable list Browse through variable listBrowse through variable list Open and browse IPUMS documentation: Open and browse IPUMS documentation:

http://usa.ipums.org/usahttp://usa.ipums.org/usa

66Ann Arbor, Michigan July 12-15, 2010

Page 7: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Set Up QuerySet Up Query

Select a data set (ipacs10)Select a data set (ipacs10)Right click (or click on the “Query” Right click (or click on the “Query”

tab)tab)Click on “Setup New Expert Query”Click on “Setup New Expert Query”Setup window opensSetup window opensFill in the blanks (see the following Fill in the blanks (see the following

slides and related handouts)slides and related handouts)Click on the “Results” tabClick on the “Results” tab

77Ann Arbor, Michigan July 12-15, 2010

Page 8: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Filling in the Blanks – Filling in the Blanks – Example 1Example 1

Query Name: Employment StatusQuery Name: Employment Status

------------------------------------------------------------------------------------------------------------------------------

Query Type:Query Type:TabulationTabulation

Universe/Selection:Universe/Selection: year=2008year=2008

Row:Row: statefipstatefip Column:Column: empstatempstat Weight:Weight: <default><default>88Ann Arbor, Michigan July 12-15, 2010

Page 9: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Dallas, Texas April 14-17, 2010 99Ann Arbor, Michigan July 12-15, 2010

Page 10: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Execute Example 1Execute Example 1

Click on “Results”Click on “Results”To get totals by row and column:To get totals by row and column:

Click on “Options” “Totals” “Both”Click on “Options” “Totals” “Both”To get percentages by row:To get percentages by row:

Click on “Options” “Percent Options” Click on “Options” “Percent Options” “Percent by Row”“Percent by Row”

To sort in descending order on To sort in descending order on “Unemployed:”“Unemployed:”Click on “Unemployed” column headingClick on “Unemployed” column heading

1010Ann Arbor, Michigan July 12-15, 2010

Page 11: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

1111Ann Arbor, Michigan July 12-15, 2010

Page 12: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Filling in the Blanks – Filling in the Blanks – Example 1AExample 1A

Query Name: Employment by StateQuery Name: Employment by State

------------------------------------------------------------------------------------------------------------------------------

Query Type:Query Type:TabulationTabulation

Universe/Selection:Universe/Selection:year=2008year=2008

Row:Row: statefipstatefip Column:Column:

empstat:1..2empstat:1..2 Weight:Weight: <default><default>

1212Ann Arbor, Michigan July 12-15, 2010

Page 13: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

1313Ann Arbor, Michigan July 12-15, 2010

Page 14: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Filling in the Blanks – Filling in the Blanks – Example 2Example 2

Query Name:Query Name: Sex by StateSex by State

------------------------------------------------------------------------------------------------------------------------------

Query Type:Query Type:TabulationTabulation

Universe/Selection:Universe/Selection:year=2008year=2008

Row:Row:statefipstatefip

Column:Column: sexsex Weight:Weight:

<default><default>

1414Ann Arbor, Michigan July 12-15, 2010

Page 15: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Filling in the Blanks – Filling in the Blanks – Example 3Example 3

Query Name:Query Name: PovertyPoverty

------------------------------------------------------------------------------------------------------------------------------

Query Type:Query Type: Summary Summary StatsStats

Universe/Selection:Universe/Selection: year=2008year=2008 Row:Row: metareadmetaread Describe Expression:Describe Expression:

povertypoverty Weight:Weight: <default><default> 1515Ann Arbor, Michigan July 12-15, 2010

Page 16: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Filling in the Blanks – Filling in the Blanks – Example 4Example 4

Query Name:Query Name: Poverty by StatePoverty by State

------------------------------------------------------------------------------------------------------------------------------

Query Type:Query Type: Summary StatsSummary Stats Universe/Selection:Universe/Selection: year=2008 & year=2008 &

poverty>0poverty>0 Row:Row: statefipstatefip Describe Expression:Describe Expression: povertypoverty Weight:Weight: <default><default>

1616Ann Arbor, Michigan July 12-15, 2010

Page 17: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Filling in the Blanks – Filling in the Blanks – Example 5Example 5

Query Name:Query Name: CohabitationCohabitation------------------------------------------------------------------------------------------------------------------------------------

---------- Query Type:Query Type: TabulationTabulation Universe/Selection: Universe/Selection: year=2008 year=2008

& relate=1& relate=1 Row:Row: sexsex Column:Column:

pick(related=1114,sex)pick(related=1114,sex) Weight:Weight: <default><default>

1717Ann Arbor, Michigan July 12-15, 2010

Page 18: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Filling in the Blanks – Filling in the Blanks – Example 6Example 6

Query Name:Query Name: SeniorsSeniors

------------------------------------------------------------------------------------------------------------------------------

Query Type:Query Type: TabulationTabulation Universe/Selection:Universe/Selection:

(year<=2000 | year=2008) & (year<=2000 | year=2008) & relate=1relate=1

Row:Row: yearyear Describe Expression:Describe Expression:

sum(age<65)=0sum(age<65)=0 Weight:Weight: <default><default>

1818Ann Arbor, Michigan July 12-15, 2010

Page 19: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Filling in the Blanks – Filling in the Blanks – Example 7Example 7

Query Name:Query Name:

Wage and Salary Income by SexWage and Salary Income by Sex

------------------------------------------------------------------------------------------------------------------------------

Query Type:Query Type: QuantileQuantile Universe/Selection:Universe/Selection:

year=2008 & incwage>0 & year=2008 & incwage>0 & incwage<999999incwage<999999

Row:Row: sexsex Quantile: Quantile: 10 10

(incwage+50)/100(incwage+50)/100 Weight:Weight: <default><default>

1919Ann Arbor, Michigan July 12-15, 2010

Page 20: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Dallas, Texas April 14-17, 2010 2020Ann Arbor, Michigan July 12-15, 2010

Page 21: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Data GotchasData Gotchas

You need to know your data:You need to know your data:Relevance to concernsRelevance to concernsVariable namesVariable namesCodesCodesLimits, top codesLimits, top codesMissing and N/A CodesMissing and N/A CodesSense of reasonable and unreasonable Sense of reasonable and unreasonable

resultsresults

2121Ann Arbor, Michigan July 12-15, 2010

Page 22: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

PDQ-Explore GotchasPDQ-Explore Gotchas

Know what you can ignoreKnow what you can ignoreFocus: tabulations & summary statsFocus: tabulations & summary statsLarge tables can be hard to interpretLarge tables can be hard to interpretYou need to understand the options:You need to understand the options:

PercentagesPercentagesTotalsTotalsSortingSortingSaving/Exporting/Printing Setups and Saving/Exporting/Printing Setups and

Results Results 2222Ann Arbor, Michigan July 12-15, 2010

Page 23: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Explore Quality of LifeExplore Quality of Life

Across Time, Space, PopulationsAcross Time, Space, Populations• year, statefip, metaread, raceyear, statefip, metaread, race• race_recode, age, sex, relaterace_recode, age, sex, relate• marst, incwage, ind1990, occ1990marst, incwage, ind1990, occ1990• empstat, migrate1, migrate5,empstat, migrate1, migrate5,• educ, college, sei, hhtype, renteduc, college, sei, hhtype, rent• mortcost, sufficient_bedrooms, mortcost, sufficient_bedrooms, • OccupationsGrouped, diffmob, etc.OccupationsGrouped, diffmob, etc.

2323Ann Arbor, Michigan July 12-15, 2010

Page 24: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Thank YouThank You

Albert F. Anderson, Albert F. Anderson, [email protected]

2424Ann Arbor, Michigan July 12-15, 2010

Page 25: PDQ-Explore NPC Workshop 2010 2010 1 1 Ann Arbor, Michigan July 12-15, 2010

Quick StartQuick Start 1. Plug USB Flash Drive into computer USB port1. Plug USB Flash Drive into computer USB port

2. Flash Drive will be recognized as new hardware2. Flash Drive will be recognized as new hardware

3. Browser window will open displaying drive contents (or browse to drive)3. Browser window will open displaying drive contents (or browse to drive)

4. Double-click on the PDQ-D or PDQ-E icon as appropriate for drive location4. Double-click on the PDQ-D or PDQ-E icon as appropriate for drive location

5. Double-click on explore.exe icon5. Double-click on explore.exe icon

6. <Enter> four (4) times to accept defaults up to “Open” window6. <Enter> four (4) times to accept defaults up to “Open” window

7. If error, click OK to accept the default drive7. If error, click OK to accept the default drive

8. Double click on NPC20108. Double click on NPC2010

9. Workspace window will open9. Workspace window will open

10. Expand ipacs10 “Housing” and “Person” entries10. Expand ipacs10 “Housing” and “Person” entries

11. Right click in left panel or Click on “Query” tab11. Right click in left panel or Click on “Query” tab

12. Click on “Setup New Expert Query” 12. Click on “Setup New Expert Query”

2525Ann Arbor, Michigan July 12-15, 2010