Skip to content

Commit

Permalink
book built
Browse files Browse the repository at this point in the history
  • Loading branch information
glebpinigin committed Dec 27, 2023
1 parent ac0aec5 commit 54bea42
Show file tree
Hide file tree
Showing 111 changed files with 6,090 additions and 0 deletions.
117 changes: 117 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Page not found | GeoDa course</title>
<meta name="author" content="Baryshkin P., Volokh E., Mikhailova M., Pinigin G., Romakh E., Sokhrannykh V.">
<meta name="description" content="The page you requested cannot be found (perhaps it was moved or renamed). You may want to try searching to find the page's new location, or use the table of contents to find the page you are...">
<meta name="generator" content="bookdown 0.37 with bs4_book()">
<meta property="og:title" content="Page not found | GeoDa course">
<meta property="og:type" content="book">
<meta property="og:description" content="The page you requested cannot be found (perhaps it was moved or renamed). You may want to try searching to find the page's new location, or use the table of contents to find the page you are...">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Page not found | GeoDa course">
<meta name="twitter:description" content="The page you requested cannot be found (perhaps it was moved or renamed). You may want to try searching to find the page's new location, or use the table of contents to find the page you are...">
<!-- JS --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://kit.fontawesome.com/6ecbd6c532.js" crossorigin="anonymous"></script><script src="libs/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="libs/bootstrap-4.6.0/bootstrap.min.css" rel="stylesheet">
<script src="libs/bootstrap-4.6.0/bootstrap.bundle.min.js"></script><script src="libs/bs3compat-0.6.1/transition.js"></script><script src="libs/bs3compat-0.6.1/tabs.js"></script><script src="libs/bs3compat-0.6.1/bs3compat.js"></script><link href="libs/bs4_book-1.0.0/bs4_book.css" rel="stylesheet">
<script src="libs/bs4_book-1.0.0/bs4_book.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- CSS --><style type="text/css">

div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
</style>
<link rel="stylesheet" href="style.css">
</head>
<body data-spy="scroll" data-target="#toc">

<div class="container-fluid">
<div class="row">
<header class="col-sm-12 col-lg-3 sidebar sidebar-book"><a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>

<div class="d-flex align-items-start justify-content-between">
<h1>
<a href="index.html" title="">GeoDa course</a>
</h1>
<button class="btn btn-outline-primary d-lg-none ml-2 mt-1" type="button" data-toggle="collapse" data-target="#main-nav" aria-expanded="true" aria-controls="main-nav"><i class="fas fa-bars"></i><span class="sr-only">Show table of contents</span></button>
</div>

<div id="main-nav" class="collapse-lg">
<form role="search">
<input id="search" class="form-control" type="search" placeholder="Search" aria-label="Search">
</form>

<nav aria-label="Table of contents"><h2>Table of contents</h2>
<ul class="book-toc list-unstyled">
<li><a class="" href="index.html"><span class="header-section-number">1</span> About</a></li>
<li><a class="" href="the-inroduction.html"><span class="header-section-number">2</span> The Inroduction</a></li>
<li><a class="" href="working-with-graphics-in-geoda.html"><span class="header-section-number">3</span> Working with graphics in GeoDa</a></li>
<li><a class="" href="thematic-maps-in-geoda.html"><span class="header-section-number">4</span> Thematic maps in Geoda</a></li>
<li><a class="" href="clustering-algorithms-in-real-life-problems.html"><span class="header-section-number">5</span> Clustering algorithms in real life problems</a></li>
<li><a class="" href="spatial-statistics-in-geoda.-part-1.html"><span class="header-section-number">6</span> Spatial statistics in GeoDa. Part 1</a></li>
<li><a class="" href="spatial-statistics-in-geoda.-part-2.html"><span class="header-section-number">7</span> Spatial statistics in GeoDa. Part 2</a></li>
</ul>

<div class="book-extra">

</div>
</nav>
</div>
</header><main class="col-sm-12 col-md-9 col-lg-7" id="content"><div id="page-not-found" class="section level1">
<h1>Page not found<a class="anchor" aria-label="anchor" href="#page-not-found"><i class="fas fa-link"></i></a>
</h1>
<p>The page you requested cannot be found (perhaps it was moved or renamed).</p>
<p>You may want to try searching to find the page's new location, or use
the table of contents to find the page you are looking for.</p>
</div>
<div class="chapter-nav">
<div class="empty"></div>
<div class="empty"></div>
</div></main><div class="col-md-3 col-lg-2 d-none d-md-block sidebar sidebar-chapter">
</div>

</div>
</div> <!-- .container -->

<footer class="bg-primary text-light mt-5"><div class="container"><div class="row">

<div class="col-12 col-md-6 mt-3">
<p>"<strong>GeoDa course</strong>" was written by Baryshkin P., Volokh E., Mikhailova M., Pinigin G., Romakh E., Sokhrannykh V.. It was last built on 2023-12-27.</p>
</div>

<div class="col-12 col-md-6 mt-3">
<p>This book was built by the <a class="text-light" href="https://bookdown.org">bookdown</a> R package.</p>
</div>

</div></div>
</footer><!-- dynamically load mathjax for compatibility with self-contained --><script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
var src = "true";
if (src === "" || src === "true") src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/latest.js?config=TeX-MML-AM_CHTML";
if (location.protocol !== "file:")
if (/^https?:/.test(src))
src = src.replace(/^https?:/, '');
script.src = src;
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script><script type="text/x-mathjax-config">const popovers = document.querySelectorAll('a.footnote-ref[data-toggle="popover"]');
for (let popover of popovers) {
const div = document.createElement('div');
div.setAttribute('style', 'position: absolute; top: 0, left:0; width:0, height:0, overflow: hidden; visibility: hidden;');
div.innerHTML = popover.getAttribute('data-content');

var has_math = div.querySelector("span.math");
if (has_math) {
document.body.appendChild(div);
MathJax.Hub.Queue(["Typeset", MathJax.Hub, div]);
MathJax.Hub.Queue(function() {
popover.setAttribute('data-content', div.innerHTML);
document.body.removeChild(div);
})
}
}
</script>
</body>
</html>
26 changes: 26 additions & 0 deletions docs/Lection1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# The Inroduction

## The essence of maps

Creating map is a useful way to take space into account in your research.
The common ways to explain why to do so are Tobler's laws of geography:

> - Everything is related to everything else, but near things are more related than distant things
> - The phenomenon external to an area of interest affects what goes on inside
> --- <cite>Waldo Tobler</cite>\
In fact, you shall not interpret these as strict laws of any kind. However it
is very useful to treat these statements as initial hypotheses for spatial data
analysis. In order to check whether any spatial pattern is or is not presented
in a phenomenon, you can apply different techniques. Exploratory data analysis
can be performed with spatial data, displaying a map is a way to visually evaluate
quantitative features of spatial distribution, spatial statistics is a set of
techniques to estimate qualitative features of spatial distribution. And our
course follows this order to undercover you exciting world of spatial data analysis.

- First lesson is a brief introduction to a domain
- In the second lesson we will talk about creating plots with spatial data and GeoDa
- The third is about creation of simple thematic maps with GeoDa
- The last three lessons are about spatial statistics applications


105 changes: 105 additions & 0 deletions docs/Lection2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---
editor_options:
markdown:
wrap: sentence
---

# Working with graphics in GeoDa

## Introduction
Today we are going to get acquaintanced with creating graphics for various statistic datasets in GeoDa. This GIS has prepared datasets and today we’ll use one of them. We’re going to work with **Boston Housing 1970s**, which contains housing and neighborhood data for the city of Boston based on research from the 1970s-90s. This dataset is a point shapefile with **506 observations** and **23 variables**. To open this data you have to choose _File>New_ and to choose _Boston Home Sales_ from _Sample Data_. After that you’ll be able to see the spatial distribution of the parameter. In the bottom left you’ll see the information about the number of observations.

<div class="figure">
<img src="images/2_1_Opening_the_dataset.png" alt="Opening the dataset" />
<p class="caption">(\#fig:unnamed-chunk-1)Opening the dataset</p>
</div>

<div class="figure">
<img src="images/2_2_Boston_Housing_1970s.png" alt="Boston Housing 1970s" />
<p class="caption">(\#fig:unnamed-chunk-2)Boston Housing 1970s</p>
</div>

## Specific od data storage in GIS

To understand what observations and variables stand for we have to find out some facts about the ways of storing data in GIS. In GIS each object in a dataset consists of 2 parts: **geometric** (you see it) and **semantic** (responsible for the property of the object and represented as a row in a table). So, the semantic part is a table, where each _line_ is an _object_ of a dataset and each _column_ contains the _characteristic of the object_. It means that the number of _observations_ is a number of _objects (rows)_ and the number of _variables_ stands for the number of _object characteristics (columns)_.

<div class="figure">
<img src="images/2_3_Storing_data_in_GIS.png" alt="Storing data in GIS" />
<p class="caption">(\#fig:unnamed-chunk-3)Storing data in GIS</p>
</div>

## Graphic types in GeoDa

There’re 8 types of graphics in GeoDA: **Histogram, Box Plot, Scatter Plot, Scatter Plot, Matrix, Bubble Chart, 3D Scatter Plot, Conditional Plot**

<div class="figure">
<img src="images/2_4_Types_of_graphics_in_GeoDa.png" alt="Types of graphics in GeoDa" />
<p class="caption">(\#fig:unnamed-chunk-4)Types of graphics in GeoDa</p>
</div>

### Histogram

**Histogram** shows the meanings of one variable for each chosen object. You have to push the histogram button on the control panel and to choose the variable you need. If you want to create histogram not for all objects, but for concrete ones, you have to choose them either from the table or from the map. In that case the histogram will show the meanings of the variable for all objects and for chosen ones. To open the table, you have to push the button on the control panel. To chose other colors for the histogram or to export it as an image, you have to click it with the right button and to choose the option you need. This works for all types of graphics in GeoDa.

<div class="figure">
<img src="images/2_5_Creating_Histogram_in_GeoDa.png" alt="Creating Histogram in GeoDa" />
<p class="caption">(\#fig:unnamed-chunk-5)Creating Histogram in GeoDa</p>
</div>

### Box plot

**Boxplots** are created to represent the distribution of a numeric variable. The graphic reflects maximum and minimum values, median, first and last quantiles and p-values at the same time. To create boxplot, you also just have to push the button on the control panel and to choose the variable you need. Boxplot also has some numeric characteristics for easier interpretation.

<div class="figure">
<img src="images/2_6_Creating_Boxplot_in_GeoDa.png" alt="Creating Box plot in GeoDa" />
<p class="caption">(\#fig:unnamed-chunk-6)Creating Box plot in GeoDa</p>
</div>

### Scatter plot

**Scatter plot** is based on using Cartesian coordinates to display values for typically 2 variables for a dataset. There’re _3 types_ of Scatter plots in GeoDa. To create each of them, you still have to push a specified button on a control panel and create the variables. For classical scatter plot you’ll have to choose 2 of them. The **3D Scatter plot** uses the 3-dimensial representation for 3 variables. Finally, the **Scatter plot Matrix** is a grid of scatter plots used to visualize bivariate relationships between combinations of variables. Here you can choose more than 2 or 3 variables for comparison, if you need. To create scatter plots, you also just have to push the button on the control panel and to choose the variable you need.

<div class="figure">
<img src="images/2_7_Creating_Scatterplot_and_Scatterplot_Matrix_in_GeoDa.png" alt="Creating Scatterplot and Scatterplot Matrix in GeoDa" />
<p class="caption">(\#fig:unnamed-chunk-7)Creating Scatterplot and Scatterplot Matrix in GeoDa</p>
</div>

<div class="figure">
<img src="images/2_8_Creating_3D_Scatterplot_in_GeoDa.png" alt="Creating 3D Scatterplot in GeoDa" />
<p class="caption">(\#fig:unnamed-chunk-8)Creating 3D Scatterplot in GeoDa</p>
</div>

### Bubble Chart

A **bubble chart** is a type of data visualization that uses circles (bubbles) to represent data points in a two-dimensional plot. It is similar to a scatter plot, but uses bubbles instead of dots. Typically, a bubble chart shows the values of three numeric variables, with each circle representing an observation and its position on the plot indicating the values of two other variables. To create bubble chart, you also have to push the button on the control panel and to choose the variable you need.

<div class="figure">
<img src="images/2_9_Creating_a_Bubble_Chart_in_GeoDa.png" alt="Creating Bubble Chart in GeoDa" />
<p class="caption">(\#fig:unnamed-chunk-9)Creating Bubble Chart in GeoDa</p>
</div>

### Parallel coordinates plot

**Parallel coordinates plot** is a common way of visualizing and analyzing high-dimensional datasets. A point in n-dimensional space is represented as a polyline with vertices on the parallel axes and the position of the vertex corresponds to the coordinate of the point. To create it, you have to push the button on the control panel and to choose the variable you need.

<div class="figure">
<img src="images/2_10_Creating_a_Parallel_coordinates_plot_in_GeoDa.png" alt="Creating Parallel coordinates plot in GeoDa" />
<p class="caption">(\#fig:unnamed-chunk-10)Creating Parallel coordinates plot in GeoDa</p>
</div>

### Conditional plot
*
**Conditional plot** consists of two variables conditional on the value of a third variable. You can create _a map, a histogram, a scatter plot or a boxplot_, using the button on a control panel. You’ll have to choose 3 variables and get 9 graphics, showing their dependencies.

<div class="figure">
<img src="images/2_11_Creating_a_Conditional_plot_in_GeoDa.png" alt="Creating a Conditional plot in GeoDa" />
<p class="caption">(\#fig:unnamed-chunk-11)Creating a Conditional plot in GeoDa</p>
</div>

## Practical exercise

To check yourself after this lesson you have to built 3 Graphics for the observations with the towno=27.
1. You have to create a histogram to analyze distances to Boston employment centers (dis);
2. You have to create a histogram to analyze per capita crime (crim) and fix in *.txt file the minimum, maximum, mean and median values of the variable;
3. You have to create a bubble chart to analyze the dependencies between such variables as age (x-axes), dis (y-axes), crim (bubble-size) and indus (bubble-color).
The result of your task must be represented by a txt-file with statistical parameters and 3 png-files with graphics.
Loading

0 comments on commit 54bea42

Please sign in to comment.