LAB 6 — ASSIGNMENT

Spatio-Temporal Change (Part 2)

Download the assignment file, complete the three questions, and submit your .qmd and rendered .html to Canvas.

Assignment Workflow

This file is identical to the tutorial
The pre-filled code (Steps 1–7) produces the same output as the tutorial. If this file is in the same folder as your tutorial QMD, you can knit immediately and see the same results. If you placed it in a different location, run the packages chunk first, then knit.
Need a Census API key?
Setup instructions are in the Lab 6 Tutorial under “Before You Begin.” Register free at api.census.gov/data/key_signup.html — key arrives by email within minutes.
1

Download and rename

Use the download link below. Save to your PAF516/Lab6/ folder. Rename to Lab6_Assignment_YourLastName.qmd before editing.

2

Knit the file first

Press Cmd+Shift+K (Mac) or Ctrl+Shift+K (PC). Steps 1–7 render automatically. Review the trajectory map (Step 5), the space-time Moran’s I (Step 6), and the multi-point trend map (Step 7) — you will interpret these for Q1.

3

Answer the three questions

Q1: Interpret the trajectory map and transition matrix (text). Q2: Rerun LISA at p < 0.01 and compare to p < 0.05 (code + text). Q3: Write a policy brief paragraph recommending 2 of 4 trajectory types to prioritize (text). Re-knit after completing Q2.

4

Submit to Canvas

Submit both Lab6_Assignment_YourLastName.qmd and Lab6_Assignment_YourLastName.html.

The Three Questions

Q1 Interpret the Trajectory Map and Transition Matrix Text answer — no code required

After knitting, review the trajectory map (Step 5), transition matrix (Step 4), space-time Moran’s I (Step 6), and multi-point trend (Step 7), then answer:

  • How many tracts are persistent hot spots (HH→HH)? What does this suggest about structural hardship?
  • How many 2013 hot spots dissolved by 2019? What might explain their recovery?
  • Are there emerging hot spots — tracts that became HH between 2013 and 2019?
  • What does the space-time Moran’s I tell you about whether change is spatially spreading?
  • Does the multi-point trend give more or less confidence in the two-point change scores?

Minimum 200 words. Reference specific numbers from the outputs.

Q2 Stricter Significance Threshold (p < 0.01) Code + output required

Rerun the LISA classification using p < 0.01 instead of p < 0.05:

  • The classify_lisa() function in Step 3 accepts a p_thresh argument — use it
  • Reclassify trajectories and produce the trajectory map at p < 0.01
  • Write a comparison paragraph (min. 100 words): How does the map differ? Which categories shrink most?
Q3 Policy Brief Recommendation Text answer — no code required

You are advising the Maricopa County Office of Community Development. They can prioritize only two of these four trajectory types:

  • Persistent Hot Spots (HH→HH): Deep, long-standing hardship clusters
  • Emerging Hot Spots (→HH): Deteriorating areas where clustering is forming
  • Dissolving Hot Spots (HH→): Recovering areas that may need displacement protection
  • HL Outliers: Isolated pockets of high hardship within low-hardship surroundings

Minimum 150 words. Ground your recommendation in specific numbers from your analysis. Cite at least one reading from Module 5 or Module 6.

Quick Reference

ActionMacPC
Run current chunkCmd+ReturnCtrl+Enter
Knit / RenderCmd+Shift+KCtrl+Shift+K

Download & Submit

Lab 6 Assignment File

Download Lab6_Assignment.qmd

Right-click → Save Link As. Save to your PAF516/Lab6/ folder.

Submit to Canvas

  • Lab6_Assignment_YourLastName.qmd — your edited source file
  • Lab6_Assignment_YourLastName.html — the rendered output