diff --git a/_quarto.yml b/_quarto.yml index c03607e..fb8dde4 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -13,7 +13,7 @@ book: style: docked background: light date: today - downloads: [pdf, epub] + downloads: [pdf] chapters: - index.qmd - 01-overview.qmd diff --git a/docs/01-overview.html b/docs/01-overview.html index 0c7c8a1..a0241e5 100644 --- a/docs/01-overview.html +++ b/docs/01-overview.html @@ -119,23 +119,7 @@ Spatial Modelling for Data Scientists diff --git a/docs/02-spatial_data.html b/docs/02-spatial_data.html index 2729b8c..abdd9be 100644 --- a/docs/02-spatial_data.html +++ b/docs/02-spatial_data.html @@ -139,23 +139,7 @@ Spatial Modelling for Data Scientists diff --git a/docs/03-data-wrangling.html b/docs/03-data-wrangling.html index e8fb6bb..767dcd5 100644 --- a/docs/03-data-wrangling.html +++ b/docs/03-data-wrangling.html @@ -143,23 +143,7 @@ Spatial Modelling for Data Scientists @@ -1220,8 +1204,8 @@
Warning: In view mode, scale bar breaks are ignored.
-
- +
+
diff --git a/docs/04-points.html b/docs/04-points.html index 35f0cad..0358faa 100644 --- a/docs/04-points.html +++ b/docs/04-points.html @@ -165,23 +165,7 @@ Spatial Modelling for Data Scientists diff --git a/docs/05-flows.html b/docs/05-flows.html index 78bfb07..24ae134 100644 --- a/docs/05-flows.html +++ b/docs/05-flows.html @@ -165,23 +165,7 @@ Spatial Modelling for Data Scientists diff --git a/docs/05-flows_files/figure-html/unnamed-chunk-17-1.png b/docs/05-flows_files/figure-html/unnamed-chunk-17-1.png index 92fc12f..5918f60 100644 Binary files a/docs/05-flows_files/figure-html/unnamed-chunk-17-1.png and b/docs/05-flows_files/figure-html/unnamed-chunk-17-1.png differ diff --git a/docs/05-flows_files/figure-html/unnamed-chunk-18-1.png b/docs/05-flows_files/figure-html/unnamed-chunk-18-1.png index 9a6c2bb..6b4cfe8 100644 Binary files a/docs/05-flows_files/figure-html/unnamed-chunk-18-1.png and b/docs/05-flows_files/figure-html/unnamed-chunk-18-1.png differ diff --git a/docs/05-flows_files/figure-html/unnamed-chunk-22-1.png b/docs/05-flows_files/figure-html/unnamed-chunk-22-1.png index 5178a5b..2b81f40 100644 Binary files a/docs/05-flows_files/figure-html/unnamed-chunk-22-1.png and b/docs/05-flows_files/figure-html/unnamed-chunk-22-1.png differ diff --git a/docs/06-spatial-econometrics.html b/docs/06-spatial-econometrics.html index 269b1e7..6c0deeb 100644 --- a/docs/06-spatial-econometrics.html +++ b/docs/06-spatial-econometrics.html @@ -165,23 +165,7 @@ Spatial Modelling for Data Scientists diff --git a/docs/07-multilevel-01.html b/docs/07-multilevel-01.html index c7305fc..9c225da 100644 --- a/docs/07-multilevel-01.html +++ b/docs/07-multilevel-01.html @@ -165,23 +165,7 @@ Spatial Modelling for Data Scientists @@ -932,27 +916,27 @@ head(10)
         groupFctr             groupID        term         mean       median
-1  lsoa_cd:msoa_cd E01006512:E02001377 (Intercept) -0.016024900 -0.016182257
-2  lsoa_cd:msoa_cd E01006513:E02006932 (Intercept) -0.014365961 -0.014156835
-3  lsoa_cd:msoa_cd E01006514:E02001383 (Intercept) -0.023387805 -0.024070606
-4  lsoa_cd:msoa_cd E01006515:E02001383 (Intercept) -0.019307523 -0.019391931
-5  lsoa_cd:msoa_cd E01006518:E02001390 (Intercept) -0.019501402 -0.021985163
-6  lsoa_cd:msoa_cd E01006519:E02001402 (Intercept) -0.015718283 -0.015748927
-7  lsoa_cd:msoa_cd E01006520:E02001389 (Intercept) -0.024228037 -0.025435851
-8  lsoa_cd:msoa_cd E01006521:E02001398 (Intercept)  0.005786660  0.005448932
-9  lsoa_cd:msoa_cd E01006522:E02001394 (Intercept)  0.017665445  0.017510787
-10 lsoa_cd:msoa_cd E01006523:E02001398 (Intercept)  0.004597002  0.003980189
-           sd
-1  0.02181527
-2  0.02096828
-3  0.02074659
-4  0.01962778
-5  0.01952425
-6  0.01001290
-7  0.01998055
-8  0.01969677
-9  0.02127592
-10 0.01939081
+1 lsoa_cd:msoa_cd E01006512:E02001377 (Intercept) -0.015517531 -0.014486880 +2 lsoa_cd:msoa_cd E01006513:E02006932 (Intercept) -0.016811135 -0.017546167 +3 lsoa_cd:msoa_cd E01006514:E02001383 (Intercept) -0.021818145 -0.024092438 +4 lsoa_cd:msoa_cd E01006515:E02001383 (Intercept) -0.018097772 -0.017458932 +5 lsoa_cd:msoa_cd E01006518:E02001390 (Intercept) -0.017939320 -0.017949390 +6 lsoa_cd:msoa_cd E01006519:E02001402 (Intercept) -0.015206492 -0.015264256 +7 lsoa_cd:msoa_cd E01006520:E02001389 (Intercept) -0.024048878 -0.023262342 +8 lsoa_cd:msoa_cd E01006521:E02001398 (Intercept) 0.006892622 0.007299342 +9 lsoa_cd:msoa_cd E01006522:E02001394 (Intercept) 0.019082274 0.020449785 +10 lsoa_cd:msoa_cd E01006523:E02001398 (Intercept) 0.004270358 0.005194620 + sd +1 0.020824395 +2 0.019268301 +3 0.019622814 +4 0.018468456 +5 0.019955005 +6 0.008461949 +7 0.021041952 +8 0.018644138 +9 0.020438046 +10 0.018968348

The results contain the estimated mean, median and standard deviation for the intercept within each group (e.g. LSOA). The mean estimates are similar to those obtained from ranef with some small differences due to rounding.

@@ -1026,9 +1010,9 @@ $ groupFctr: chr "msoa_cd" "msoa_cd" "msoa_cd" "msoa_cd" ... $ groupID : chr "E02001347" "E02001348" "E02001349" "E02001350" ... $ term : chr "(Intercept)" "(Intercept)" "(Intercept)" "(Intercept)" ... - $ mean : num -0.01325 -0.02661 -0.03065 0.00537 0.02327 ... - $ median : num -0.01406 -0.02572 -0.02964 0.00511 0.02398 ... - $ sd : num 0.0305 0.0354 0.031 0.0349 0.0162 ... + $ mean : num -0.01287 -0.02288 -0.03004 0.00695 0.02319 ... + $ median : num -0.01269 -0.02376 -0.03138 0.00675 0.02437 ... + $ sd : num 0.0345 0.0343 0.0329 0.0335 0.0157 ...
# merge data
 msoa_shp <- merge(x = msoa_shp, y = re_msoa, by.x = "MSOA_CD", by.y = "groupID")
diff --git a/docs/07-multilevel-01_files/figure-html/unnamed-chunk-21-1.png b/docs/07-multilevel-01_files/figure-html/unnamed-chunk-21-1.png index a3a57dd..d5ed197 100644 Binary files a/docs/07-multilevel-01_files/figure-html/unnamed-chunk-21-1.png and b/docs/07-multilevel-01_files/figure-html/unnamed-chunk-21-1.png differ diff --git a/docs/07-multilevel-01_files/figure-html/unnamed-chunk-24-1.png b/docs/07-multilevel-01_files/figure-html/unnamed-chunk-24-1.png index cee082f..42b7dbe 100644 Binary files a/docs/07-multilevel-01_files/figure-html/unnamed-chunk-24-1.png and b/docs/07-multilevel-01_files/figure-html/unnamed-chunk-24-1.png differ diff --git a/docs/08-multilevel-02.html b/docs/08-multilevel-02.html index 2045121..bcc7012 100644 --- a/docs/08-multilevel-02.html +++ b/docs/08-multilevel-02.html @@ -165,23 +165,7 @@ Spatial Modelling for Data Scientists @@ -530,9 +514,9 @@ $ groupFctr: chr "msoa_cd" "msoa_cd" "msoa_cd" "msoa_cd" ... $ groupID : chr "E02001347" "E02001348" "E02001349" "E02001350" ... $ term : chr "lt_ill" "lt_ill" "lt_ill" "lt_ill" ... - $ mean : num 0.0299 -0.1127 0.0514 -0.1407 -0.2808 ... - $ median : num 0.0298 -0.1175 0.0525 -0.1394 -0.2807 ... - $ sd : num 0.0499 0.0749 0.0846 0.0375 0.0377 ... + $ mean : num 0.0272 -0.1049 0.0525 -0.1432 -0.2837 ... + $ median : num 0.0276 -0.1081 0.0484 -0.1426 -0.283 ... + $ sd : num 0.046 0.0737 0.0793 0.041 0.0397 ...
# merge data
 msoa_shp <- merge(x = msoa_shp, y = re_msoa_m6, by.x = "MSOA_CD", by.y = "groupID")
diff --git a/docs/08-multilevel-02_files/figure-html/unnamed-chunk-11-1.png b/docs/08-multilevel-02_files/figure-html/unnamed-chunk-11-1.png index aa59a07..c8d50c2 100644 Binary files a/docs/08-multilevel-02_files/figure-html/unnamed-chunk-11-1.png and b/docs/08-multilevel-02_files/figure-html/unnamed-chunk-11-1.png differ diff --git a/docs/08-multilevel-02_files/figure-html/unnamed-chunk-9-1.png b/docs/08-multilevel-02_files/figure-html/unnamed-chunk-9-1.png index 5c01344..89bfc34 100644 Binary files a/docs/08-multilevel-02_files/figure-html/unnamed-chunk-9-1.png and b/docs/08-multilevel-02_files/figure-html/unnamed-chunk-9-1.png differ diff --git a/docs/09-gwr.html b/docs/09-gwr.html index a89069b..67da1d3 100644 --- a/docs/09-gwr.html +++ b/docs/09-gwr.html @@ -165,23 +165,7 @@ Spatial Modelling for Data Scientists diff --git a/docs/10-st_analysis.html b/docs/10-st_analysis.html index b246188..ed87b5d 100644 --- a/docs/10-st_analysis.html +++ b/docs/10-st_analysis.html @@ -165,23 +165,7 @@ Spatial Modelling for Data Scientists diff --git a/docs/11-datasets.html b/docs/11-datasets.html index a4e9d7c..24710cb 100644 --- a/docs/11-datasets.html +++ b/docs/11-datasets.html @@ -119,23 +119,7 @@ Spatial Modelling for Data Scientists diff --git a/docs/index.html b/docs/index.html index fa92063..90949d3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,7 +7,7 @@ - + Spatial Modelling for Data Scientists