{"id":15,"date":"2014-11-25T21:52:39","date_gmt":"2014-11-26T04:52:39","guid":{"rendered":"https:\/\/blogs.ubc.ca\/firemodel\/?page_id=15"},"modified":"2014-12-02T13:19:19","modified_gmt":"2014-12-02T20:19:19","slug":"methods","status":"publish","type":"page","link":"https:\/\/blogs.ubc.ca\/firemodel\/methods\/","title":{"rendered":"Methods"},"content":{"rendered":"<h2 style=\"text-align: justify;\"><span style=\"color: #333333;\">Spatial Interpolation:<\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">Most of the data are in points and don&#8217;t necessarily overlap in space (e.g. a point with fire incident information but no\u00a0pest infestation information).\u00a0To obtain continuous coverage of variables across BC,\u00a0data need to be spatially interpolated. There are many different kinds of techniques for spatial interpolation: IDW (inverse distance weighted), spline, kriging and others. Each method has its pros and cons.<\/span><\/p>\n<div id=\"attachment_95\" style=\"width: 930px\" class=\"wp-caption alignnone\"><a style=\"color: #333333;\" href=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/idw_interpolation.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-95\" class=\"wp-image-95 size-full\" src=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/idw_interpolation.png\" alt=\"idw_interpolation\" width=\"920\" height=\"400\" srcset=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/idw_interpolation.png 920w, https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/idw_interpolation-300x130.png 300w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/a><p id=\"caption-attachment-95\" class=\"wp-caption-text\"><span style=\"color: #333333;\">IDW Interpolation [1]<\/span><\/p><\/div>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">(Here are some simple explanations of the three different techniques from <a href=\"http:\/\/resources.arcgis.com\/en\/help\/main\/10.2\/index.html#\/Understanding_interpolation_analysis\/009z0000006w000000\/\">ESRI<\/a>)\u00a0<a href=\"http:\/\/resources.arcgis.com\/en\/help\/main\/10.2\/index.html#\/How_IDW_works\/009z00000075000000\/\" target=\"_blank\">IDW<\/a><span style=\"color: #33cccc;\">\u00a0<\/span>uses neighbouring points to interpolate a location&#8217;s value. Each neighbour&#8217;s weight of influence to the interpolated location is inversely related to its distance to the location. <a href=\"http:\/\/resources.arcgis.com\/en\/help\/main\/10.2\/index.html#\/How_Spline_works\/009z00000078000000\/\" target=\"_blank\">Spline\u00a0<\/a>generates a smooth surface by constructing two-dimensional minimum curvatures. <a href=\"http:\/\/help.arcgis.com\/en%20\/arcgisdesktop\/10.0\/help\/index.html#\/How_Kriging_works\/009z00000076000000\/\" target=\"_blank\">Kriging<span style=\"color: #33cccc;\">\u00a0<\/span><\/a>is similar to IDW and Spline in the sense that they are based on the Tobler&#8217;s law (relationship decreases with increasing distance). But unlike\u00a0IDW and Spline, it is based on statistical models. Kriging includes <a href=\"http:\/\/resources.arcgis.com\/en\/help\/main\/10.1\/index.html#\/\/003100000017000000\" target=\"_blank\">spatial autocorrelation<\/a> between neighbouring points at distances. In another words, two neighbouring points with exact same distance will be weighted equally in the IDW method but can be weighted differently in Kriging.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">Data in this project were spatially interpolated with Kriging (ordinary spherical) because we expect many of the data are highly spatially correlated (eg: precipitation, temperature, wind etc.). Although mountain pine beetle infestation can occur randomly in space, our <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/blogs.ubc.ca\/firemodel\/methods\/data-in-original-format\/\" target=\"_blank\">investigation of the original point data<\/a><\/span><\/strong>\u00a0indicates that there is sufficient amount of spatial autocorrelation\u00a0to justify the use of kriging interpolation instead of a\u00a0simpler IDW interpolation.<\/span><\/p>\n<h2 id=\"resolution\" style=\"text-align: justify;\"><span style=\"color: #333333;\">Choosing Spatial Resolution:<\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">The primary attraction of using a coarser resolution for the analysis is the\u00a0limitation of computational power. There are lots of points\/cells considering the size of the\u00a0area of interest (944,735\u00a0km\u00b2).\u00a0However, if the spatial resolution is too coarse, representation of some highly spatially varying elements maybe distorted. For example, temperature and precipitation can be highly variable in mountainous areas due to the complex topography (i.e. micro-climates). This variation maybe lost during the procedure of <a href=\"http:\/\/help.arcgis.com\/en\/arcgisdesktop\/10.0\/help\/index.html#\/\/009z00000034000000.htm\">aggregation <\/a>that reduces spatial resolution.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">The finest DEM we obtained has a cell size of 77m. The historical climate data from ClimateBC\/WNA (PRISM) has a resolution of about 800 m. The wind data from WindAtlas.ca has a resolution of 5000 m. We explored the data with different interpolation resolutions (1001 m, 3850 m and 5390 m) and we are satisfied with spatial resolution of about 5390 m. Below is a raster layer with cell size of about 5400 m.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\"><a style=\"color: #333333;\" title=\"Temperature and Precipitation Data\" href=\"https:\/\/blogs.ubc.ca\/firemodel\/methods\/temperature-and-precipitation\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-99 size-large\" src=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/5400-resolution-1024x535.png\" alt=\"5400 resolution\" width=\"604\" height=\"315\" srcset=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/5400-resolution-1024x535.png 1024w, https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/5400-resolution-300x156.png 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/a><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #0000ff;\"><strong>(Click Map)<\/strong><\/span><\/p>\n<h2 id=\"OtherData\" style=\"text-align: justify;\"><span style=\"color: #333333;\">Other Data processing:<\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">Original data are clipped with the BC DEM as some data points occurred outside of BC. Some obvious error points are removed by manual identification. For example, the original fire dataset\u00a0suggests there was\u00a0a fire in the middle of the <a style=\"color: #333333;\" href=\"https:\/\/www.google.ca\/maps\/place\/Hecate+Strait\" target=\"_blank\">Hecate Strait<\/a>.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">Some data are in polygon; for example, the historical fire perimeter. The Arctoolbox &#8220;<a href=\"http:\/\/resources.arcgis.com\/en\/help\/main\/10.1\/index.html#\/\/009z000000w7000000\" target=\"_blank\">Zonal Statistics<\/a>&#8221; is used to calculate the mean of each topographic or climate parameter in that area covered by the polygon.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">Because <a title=\"Elevation, Slope, and Aspect Data\" href=\"https:\/\/blogs.ubc.ca\/firemodel\/methods\/elevation-slope-and-aspect-data\/\"><strong><span style=\"color: #0000ff;\">aspect<\/span> <\/strong><\/a>generated by ArcGIS is in\u00a0azimuth angle that\u00a0can not be used in a linear model, it\u00a0is split into two variables, Easting and Southing. Each location&#8217;s aspect is assigned with an Easting membership (1=East &amp; 0=West) and a Southing membership (1=South &amp; 0=North) using the\u00a0<a href=\"http:\/\/help.arcgis.com\/en\/arcgisdesktop\/10.0\/help\/index.html#\/How_Fuzzy_Membership_works\/009z000000rz000000\/\" target=\"_blank\">Fuzzy Membership<\/a>\u00a0tool (Gaussian distribution with 0.0001 spread) in ArcGIS. Any aspect can be represented by a combination of Easting &amp; Southing:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\"><a style=\"color: #333333;\" href=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/aspect.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-106 size-full\" src=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/aspect.jpg\" alt=\"aspect\" width=\"586\" height=\"540\" srcset=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/aspect.jpg 586w, https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/aspect-300x276.jpg 300w\" sizes=\"auto, (max-width: 586px) 100vw, 586px\" \/><\/a><\/span><\/p>\n<h2 id=\"SAS\" style=\"text-align: left;\"><span style=\"color: #333333;\">Building Multiple Linear Regression Models &#8211; Transformation &amp; Model Choosing:<\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"color: #000000;\">There are 27 variables to start with. Some variables (temperature, slope, pest infestation etc.) are transformed based on simple plotting analysis (with log, reciprocal, square root, power \u00a0transformation etc.). Predicting variable (fire size in ha) is\u00a0<a style=\"color: #000000;\" href=\"http:\/\/www.itl.nist.gov\/div898\/handbook\/eda\/section3\/eda336.htm\" target=\"_blank\">box-cox transformed<\/a> in MATLAB 2014a (with Financial Toolbox extension), \u03bb\u00a0= -0.0929, i.e.\u00a0<span id=\"MathJax-Span-2\" class=\"mrow\"><span id=\"MathJax-Span-5\" class=\"mi\">Y&#8217;<\/span><span id=\"MathJax-Span-7\" class=\"mo\">=<\/span><span id=\"MathJax-Span-8\" class=\"mo\">(<\/span><span id=\"MathJax-Span-9\" class=\"msubsup\"><span id=\"MathJax-Span-10\" class=\"mi\">Y^<\/span><span id=\"MathJax-Span-11\" class=\"texatom\"><span id=\"MathJax-Span-12\" class=\"mrow\"><span id=\"MathJax-Span-13\" class=\"mi\">\u03bb<\/span><\/span><\/span><\/span><span id=\"MathJax-Span-14\" class=\"mo\">\u2212<\/span><span id=\"MathJax-Span-15\" class=\"mn\">1<\/span><span id=\"MathJax-Span-16\" class=\"mo\">)<\/span><span id=\"MathJax-Span-17\" class=\"texatom\"><span id=\"MathJax-Span-18\" class=\"mrow\"><span id=\"MathJax-Span-19\" class=\"mo\">\/<\/span><\/span><\/span><span id=\"MathJax-Span-20\" class=\"mi\">\u03bb<\/span><\/span>.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #000000;\">SAS 9.4 software is\u00a0used to choose x-variables for\u00a0the model, using various model selection methods such as forward, backward and stepwise selections. Two models that meet assumptions of linear regression (linearity, equal variance, normality and independence of observations) are\u00a0selected for further analysis (See <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/blogs.ubc.ca\/firemodel\/results\/statistical-analysis\/\" target=\"_blank\">SAS output<\/a><\/span><\/strong>\u00a0for more details).<\/span><\/p>\n<h2 style=\"text-align: left;\"><span style=\"color: #333333;\">Pairwise Comparisons Between Independent Variables:<\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">3D surfaces were constructed in MATLAB to compare the influence of each factor on fire size. The range of data of each factor is constrained by observed data.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\"><a style=\"color: #333333;\" href=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/Data-range1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-400 size-large\" src=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/Data-range1-1024x458.png\" alt=\"\" width=\"604\" height=\"270\" srcset=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/Data-range1-1024x458.png 1024w, https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/Data-range1-300x134.png 300w, https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/Data-range1.png 2014w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/a><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">When comparing a pair of variables, other variables stay constant using the observed\u00a0mean value. The 8 different aspects are displayed as 8 different surfaces. There are 10 combinations of pair-variables. As an example, below is the Mountain Pine Beetle Infestation and Summer Precipitation pair.\u00a0The 8 colored layers illustrate the influence of different aspects on fire size. The change of firesize across the observed range of precipitation is more significant than the change of firesize across the observed range of mountain pine beetle infestation, shown as difference in slope.<\/span><\/p>\n<p><span style=\"color: #333333;\"><a style=\"color: #333333;\" href=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/MPB2007_slope_scatter1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-110 size-full\" src=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/IBM_PPT_sm.png\" alt=\"IBM_PPT_sm\" width=\"847\" height=\"634\" srcset=\"https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/IBM_PPT_sm.png 847w, https:\/\/blogs.ubc.ca\/firemodel\/files\/2014\/11\/IBM_PPT_sm-300x224.png 300w\" sizes=\"auto, (max-width: 847px) 100vw, 847px\" \/><\/a><\/span><\/p>\n<h2 style=\"text-align: left;\"><span style=\"color: #333333;\">Fire Spreading Potential Prediction<\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"color: #333333;\">Using the 2 linear regression models, we predicted the potential fire size in each grid\u00a0cell in BC. A linear fuzzy membership assigning procedure is\u00a0performed to evaluate the relative fire spreading potential of each location in the province. The first linear regression model is developed with topographic properties, climatic conditions and mountain pine beetle infestation. The second linear regression model is developed with only topographic properties and climatic conditions (no mountain pine beetle infestation). By comparing these two models, we could evaluate the influence\u00a0of mountain pine beetle infestation data\u00a0in predicting fire spreading potential. The difference in R<sup>2<\/sup>\u00a0between the two linear regression models illustrates\u00a0how much variation of fire size can be explained by mountain pine beetle infestation.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" title=\"Results\" href=\"https:\/\/blogs.ubc.ca\/firemodel\/results\/\">Jump to Results<\/a><\/strong><\/span><\/p>\n<p style=\"text-align: justify;\"><!--more--><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #999999;\">[1] Documentation QGIS2.2: http:\/\/docs.qgis.org\/2.2\/en\/_images\/idw_interpolation .png\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spatial Interpolation: Most of the data are in points and don&#8217;t necessarily overlap in space (e.g. a point with fire incident information but no\u00a0pest infestation information).\u00a0To obtain continuous coverage of variables across BC,\u00a0data need to be spatially interpolated. There are many different kinds of techniques for spatial interpolation: IDW (inverse distance weighted), spline, kriging and [&hellip;]<\/p>\n","protected":false},"author":18801,"featured_media":0,"parent":0,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-15","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/firemodel\/wp-json\/wp\/v2\/pages\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/firemodel\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/firemodel\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/firemodel\/wp-json\/wp\/v2\/users\/18801"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/firemodel\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":33,"href":"https:\/\/blogs.ubc.ca\/firemodel\/wp-json\/wp\/v2\/pages\/15\/revisions"}],"predecessor-version":[{"id":401,"href":"https:\/\/blogs.ubc.ca\/firemodel\/wp-json\/wp\/v2\/pages\/15\/revisions\/401"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/firemodel\/wp-json\/wp\/v2\/media?parent=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}