Spatial Modeling and Analytics

This Beginner lesson on Spatial Modeling and Analytics introduces spatial analysis and shows you how we can predict the distribution of things in the world using location, geometry and mathematics. If you have not already taken the Gateway Lesson, complete it first.

Lesson Developers:

  • Karen Kemp (kakemp@usc.edu)
  • Nafiseh Haghtalab (haghtala@msu.edu)
  • Mohsen Ahmadkhani (ahmad178@umn.edu)
  • Joshua Levitt
In [1]:
# This code cell starts the necessary setup for Hour of CI lesson notebooks.
# First, it enables users to hide and unhide code by producing a 'Toggle raw code' button below.
# Second, it imports the hourofci package, which is necessary for lessons and interactive Jupyter Widgets.
# Third, it helps hide/control other aspects of Jupyter Notebooks to improve the user experience
# This is an initialization cell
# It is not displayed because the Slide Type is 'Skip'

from IPython.display import HTML, IFrame, Javascript, display
from ipywidgets import interactive
import ipywidgets as widgets
from ipywidgets import Layout

import getpass # This library allows us to get the username (User agent string)

# import package for hourofci project
import sys
sys.path.append('../../supplementary') # relative path (may change depending on the location of the lesson notebook)
import hourofci

# Retreive the user agent string, it will be passed to the hourofci submit button
agent_js = """
IPython.notebook.kernel.execute("user_agent = " + "'" + navigator.userAgent + "'");
"""
Javascript(agent_js)

# load javascript to initialize/hide cells, get user agent string, and hide output indicator
# hide code by introducing a toggle button "Toggle raw code"
HTML(''' 
    <script type="text/javascript" src=\"../../supplementary/js/custom.js\"></script>
    
    <style>
        .output_prompt{opacity:0;}
    </style>
    
    <input id="toggle_code" type="button" value="Toggle raw code">
''')
Out[1]:

Before we get started

You should know that the Hour of CI project is a research study and your participation is voluntary. Please read the following invitation to take part in the study and participate in the Hour of CI project.

PERMISSION TO TAKE PART IN A RESEARCH STUDY

You are invited to be in a research study for the Hour of Cyberinfrastructure: Developing Cyber Literacy for GIScience project. We ask that you read this form and ask any questions you may have before agreeing to be in the study. This study is being conducted by: Eric Shook, Department of Geography, Environment, and Society at the University of Minnesota.

Procedures:

If you agree to be in this study, you will be learning about cyberinfrastructure and related concepts using a web-based platform that will take approximately one hour per lesson. Each lesson will include readings, short assessments such as multiple choice questions and short answers, and interactive components all to enhance and gauge learning. Your answers to questions will be recorded in a secure database. Participation in this study is voluntary. If you are not interested in participating please exit the browser or navigate to this website: http://www.umn.edu.

Confidentiality:

The individual records of this study will be kept private. In any sort of report we might publish, we will not include any information that will make it possible to identify a subject. Research records will be stored securely and only researchers will have access to the records. All information will be stored in a secure database for current and future research purposes.

Voluntary Nature of the Study:

Participation in this study is voluntary. Your decision whether or not to participate will not affect your current or future relations with the University of Minnesota, University of Southern California, University of Illinois at Urbana-Champaign, or University of Massachusetts at Amherst.

Contacts and Questions:

The principal researcher conducting this study is: Eric Shook.

If you have questions now or later, you are encouraged to contact him at:

  • Address: 267 – 19 th Avenue South, 414 Social Sciences Building, Minneapolis, MN, 55455,
  • Phone: 612-625-5970,
  • Email: eshook@umn.edu

This research has been reviewed and approved by an IRB within the Human Research Protections Program (HRPP) - STUDY00007588. To share feedback privately with the HRPP about your research experience, call the Research Participants’ Advocate Line at 612-625-1650 (Toll Free: 1-888-224-8636) or go to z.umn.edu/participants. You are encouraged to contact the HRPP if:

  • Your questions, concerns, or complaints are not being answered by the research team.
  • You cannot reach the research team.
  • You want to talk to someone besides the research team.

HRP-587 Template Version: 2/28/2019

  • You have questions about your rights as a research participant.
  • You want to get information or provide input about this research.
Permission:

Participants in this research must be 18 years or older. If you are under the age of 18 then please exit this webpage or navigate to another website such as the Hour of Code at https://hourofcode.com, which is designed for K-12 students.

By clicking on the "Agree" button below you are granting your permission to take part in this research and start an Hour of CI lesson. If you are not interested in participating please exit the browser or navigate to this website: http://www.umn.edu. Your participation is voluntary and you are free to stop the lesson at any time.

Please print a copy of this information to keep for your records.

</font>

I am 18 years or older, and I agree to participate in the study