univariate point level modeling
play

Univariate point-level modeling Basic Model: Y ( s ) = x T ( s ) + - PowerPoint PPT Presentation

Univariate point-level modeling Basic Model: Y ( s ) = x T ( s ) + w ( s ) + ( s ) The residual is partitioned into two pieces: one spatial, w ( s ) , and one non-spatial, ( s ) . w ( s ) is a stationary Gaussian process, introducing the


  1. Univariate point-level modeling Basic Model: Y ( s ) = x T ( s ) β + w ( s ) + ǫ ( s ) The residual is partitioned into two pieces: one spatial, w ( s ) , and one non-spatial, ǫ ( s ) . w ( s ) is a stationary Gaussian process, introducing the partial sill ( σ 2 ) and range ( φ ) parameters. ǫ ( s ) adds the nugget ( τ 2 ) effect. Interpretations attached to ǫ ( s ) : pure error term; model is not perfectly spatial; τ 2 , σ 2 are variance components; measurement error or replication variability causing discontinuity in spatial surface Y ( s ) ; microscale uncertainty; distances smaller than the smallest inter-location distance, indep assumed. Hierarchical Modeling for Univariate Spatial Data – p. 1

  2. Isotropic models Suppose we have data Y ( s i ) , i = 1 , . . . , n , and let Y = ( Y ( s 1 ) , . . . , Y ( s n )) T . Gaussian kriging models are special cases of of the general linear model, with a particular specification of the dispersion matrix Σ = σ 2 H ( φ ) + τ 2 I. H ij = ρ ( s i − s j ; φ ) , where ρ is a valid (and typically isotropic) correlation function. Setting θ = ( β , σ 2 , τ 2 , φ ) T (not a high dim problem), we require a prior p ( θ ) , so the posterior is: p ( θ | y ) ∝ f ( y | θ ) p ( θ ) Hierarchical Modeling for Univariate Spatial Data – p. 2

  3. Likelihood and priors The likelihood is given by: Y | θ ∼ N ( X β , σ 2 H ( φ ) + τ 2 I ) Typically, independent priors are chosen for the parameters: p ( θ ) = p ( β ) p ( σ 2 ) p ( τ 2 ) p ( φ ) Useful candidates are multivariate normal for β , and inverse gamma for σ 2 and τ 2 . Specification of p ( φ ) depends upon choice of ρ function; a uniform or discrete prior is usually selected. Hierarchical Modeling for Univariate Spatial Data – p. 3

  4. Priors cont. Informativeness: p ( β ) can be “flat" (improper) Without nugget, τ 2 , can’t identify both σ 2 and φ (Zhang, 2004). With Matérn, can identify the product. So an informative prior on at least one of these parameters With τ 2 , then φ and at least one of σ 2 and τ 2 require informative priors. Suppose a Matérn covariance function. If the prior on β , σ 2 , φ is of the form π ( φ ) ( σ 2 ) α with π ( · ) uniform, then, improper posterior if α < 2 Shows the problem with using IG ( ǫ, ǫ ) priors for σ 2 - “nearly” improper. Safer is IG ( a, b ) with a ≥ 1 Hierarchical Modeling for Univariate Spatial Data – p. 4

  5. Hierarchical modeling Foregoing is really a hierarchical setup by considering a conditional likelihood on the spatial random effects w = ( w ( s 1 ) , . . . , w ( s n )) . First stage: Y | θ , w ∼ N ( X β + w , τ 2 I ) The Y ( s i ) are conditionally independent given the w ( s i ) ’s. Second stage: w | σ 2 , φ ∼ N ( 0 , σ 2 H ( φ )) Third stage: priors on ( β , τ 2 , σ 2 , φ ) Hierarchical Modeling for Univariate Spatial Data – p. 5

  6. Computing the posterior We seek the marginal posterior p ( θ | y ) , which is the same under the original and hierarchical settings Choice: Fit as f ( y | θ ) p ( θ ) or as f ( y | θ , w ) p ( w | θ ) p ( θ ) . Fitting the marginal model is computationally more stable: lower dimensional sampler (no w ’s); σ 2 H ( φ ) + τ 2 I more stable than σ 2 H ( φ ) BUT the conditional model allows conjugate full conditionals for σ 2 , τ 2 (inverse gamma), β , and w (Gaussian) – easy updates! Marginalized model will need Metropolis updates for σ 2 , τ 2 , and φ . But these usually work well and often converge faster than the full Gibbs updates. Hierarchical Modeling for Univariate Spatial Data – p. 6

  7. Where are the w’s? Interest often lies in the spatial surface w | y (pattern of spatial adjustment) Have we lost the w ’s with the marginalized sampling? No: They are easily recovered via composition sampling: � p ( w | y ) = p ( w | θ , y ) p ( θ | y ) d θ Note that p ( w | θ , y ) ∝ f ( y | w , β , τ 2 ) p ( w | σ 2 , φ ) is a multivariate normal distribution, resulting in easy composition sampling, in fact 1-1 with posterior samples of θ Hierarchical Modeling for Univariate Spatial Data – p. 7

  8. Spatial prediction (Bayesian kriging) Prediction of Y ( s 0 ) at a new site s 0 with associated covariates x 0 ≡ x ( s 0 ) . Predictive distribution: � p ( y ( s 0 ) | y , X, x 0 ) = p ( y ( s 0 ) , θ | y , X, x 0 ) d θ � p ( y ( s 0 ) | y , θ , X, x 0 ) p ( θ | y , X ) d θ = p ( y ( s 0 ) | y , θ , X, x 0 ) is normal since p ( y 0 , y | θ , X, x 0 ) is! ⇒ easy Monte Carlo estimate using composition with Gibbs draws θ (1) , . . . , θ ( G ) : For each θ ( g ) drawn from p ( θ | y , X ) , draw Y ( s 0 ) ( g ) from p ( y ( s 0 ) | y , θ ( g ) , X, x 0 ) . Hierarchical Modeling for Univariate Spatial Data – p. 8

  9. Joint prediction Suppose we want to predict at a set of m sites, say S 0 = { s 01 , . . . , s 0 m } . We could individually predict each site “independently” using method of the previous slide BUT joint prediction may be of interest, e.g., bivariate predictive distributions to reveal pairwise dependence, to reflect posterior associations in the realized surface: Form the unobserved vector Y 0 = ( Y ( s 01 ) , . . . , Y ( s 0 m )) , with X 0 as covariate matrix for S 0 , and compute � p ( y 0 | y , X, X 0 ) = p ( y 0 | y , θ , X, X 0 ) p ( θ | y , X ) Again, posterior sampling using composition sampling. Hierarchical Modeling for Univariate Spatial Data – p. 9

  10. Spatial Generalized Linear Models Some data sets preclude Gaussian modeling; Y ( s ) need not be continuous Example: Y ( s ) is a binary or count variable Presence/absence of a species at a location; abundance of a species at a location precipitation or deposition was measurable or not number of insurance claims by residents of a single family home at s Land use classification at a location (not ordinal) ⇒ replace Gaussian likelihood by an appropriate exponential family member if possible See Diggle Tawn and Moyeed (1998) Hierarchical Modeling for Univariate Spatial Data – p. 10

  11. Spatial GLM (cont’d) First stage: Y ( s i ) are conditionally independent given β and w ( s i ) with f ( y ( s i ) | β , w ( s i ) , γ ) an appropriate non-Gaussian likelihood such that g ( E ( Y ( s i ))) = η ( s i ) = x T ( s i ) β + w ( s i ) , where η is a canonical link function (such as a logit) and γ is a dispersion parameter. Second stage: Model w ( s ) as a Gaussian process: w ∼ N ( 0 , σ 2 H ( φ )) Third stage: Priors and hyperpriors. Lose conjugacy between first and second stage; not sensible to add a pure error term Hierarchical Modeling for Univariate Spatial Data – p. 11

  12. Spatial GLM: comments Spatial random effects in the transformed mean with continuous covariates encourages the means of spatial variables at proximate locations to be close to each other Marginal spatial dependence is induced between, say, Y ( s ) and Y ( s ′ ) , but the observed Y ( s ) and Y ( s ′ ) need not be close. No smoothness in Y ( s ) surface Our second stage modeling is attractive for spatial explanation in the mean First stage modeling is better for encouraging proximate observations to be close. Note that this approach offers a valid joint distribution for the Y ( s i ) , but not a spatial process model; we need not achieve a consistent stochastic process for the uncountable collection of Y ( s ) values Hierarchical Modeling for Univariate Spatial Data – p. 12

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend