Skip to content

Tutorials and Materials for MUSA 508 - Public Policy Analytics - University of Pennsylvania Weitzman School of Design

Notifications You must be signed in to change notification settings

yingxueou/MUSA_508_Lab

 
 

Repository files navigation

MUSA 508 - Public Policy Analytics.

University of Pennsylvania Weitzman School of Design, Master of Urban Spatial Analytics Program.

Taught by Michael Fichman, Matthew Harris and the late Ken Steif.

What is in here?

The labs in this repo are arranged by week and mainly follows the curriculum, but we may diverge as needed. The code samples in this repo are about 85% of what you need to be able to complete the homework assignments and mid-term. With the text in these labs, our live instruction and through assignments you will learn to modify and add to this code to personalize your work.

Additional content is available in the R FAQ for Planners document which covers a wide range of frequently asked questions (FAQ) and hurdles that students face. This FAQ should be a source you turn to when you run into a problem.

Contents of this repo (evolving as of 8/18)

  • Week_1 - Introduction to R, Rstudio and {tidycensus} package
    • intro_to_R.R
  • Intro_to_tidycensus.Rmd
    • lab_1_2_data.csv
  • Week_2 - {tidycensus} continued
    • lab_2_2009ACS.R

    • map_exercise.R

  • Week_3 - Working with {sf} package and mapping
    • musa508_Wk3_2021.Rmd

    • mapping challenge 2.Rmd

    • a_nice_solution.R

  • Week_4 - Introduction to modeling with regression
    • Intro_to_ML_Pt1.Rmd
  • Week_6 - Spatial modeling with {sf} & predictive policing example
    • Pred_poling_lab.Rmd
  • Week_7 - Classification with logistic regression & churn prediction example
    • serving_facebook_ads.Rmd

    • advertising_clean.csv

  • Week_8 - Time and Space panel modeling $ bike share example
    • Bike_Share_Time_Space_2021.Rmd

About

Tutorials and Materials for MUSA 508 - Public Policy Analytics - University of Pennsylvania Weitzman School of Design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%