Title: | Generation of Spatial Population under Different Levels of Relationships among Variables |
---|---|
Description: | The developed package can be used to generate a spatial population for different levels of relationships among the dependent and auxiliary variables along with spatially varying model parameters. A spatial layout is designed as a [0,k-1]x[0,k-1] square region on which observations are collected at (k x k) lattice points with a unit distance between any two neighbouring points along the horizontal and vertical axes. For method details see Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018).<doi:10.1080/10485252.2018.1499907>. The generated spatial population can be utilized in Geographically Weighted Regression model based analysis for studying the spatially varying relationships among the variables. Furthermore, various statistical analysis can be performed on this spatially generated data. |
Authors: | Nobin Chandra Paul, Anil Rai, Ankur Biswas, Tauqueer Ahmad and Prachi Misra Sahoo |
Maintainer: | Nobin Chandra Paul<[email protected]> |
License: | GPL (>= 2.0) |
Version: | 0.1.0 |
Built: | 2024-12-04 07:28:04 UTC |
Source: | CRAN |
Generation of spatial population along with spatially varying model parameters generated based on linear function of latitudes and longitudes
SpPOP_linear1(N, k, xlat, ylong)
SpPOP_linear1(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and one explanatory variable (i.e. X). The auxiliary variable has been generated following U(0,1) and the regression coefficients are generated as linear function of latitudes and longitudes.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_linear1<-SpPOP_linear1(100,10,c(1:10),c(1:10))
sp_linear1<-SpPOP_linear1(100,10,c(1:10),c(1:10))
Generation of spatial population includes multiple auxiliary variables along with spatially varying model parameters generated based on linear function of latitudes and longitudes
SpPOP_linear2(N, k, xlat, ylong)
SpPOP_linear2(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and three explanatory variables (i.e. X1, X2, and X3). The auxiliary variables have been generated independently from uniform distribution U(0,1) and the regression coefficients are generated as linear function of latitudes and longitudes.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_linear2<-SpPOP_linear2(100,10,c(1:10),c(1:10))
sp_linear2<-SpPOP_linear2(100,10,c(1:10),c(1:10))
Generation of spatial population along with spatially varying model parameters generated based on linear function of latitudes and longitudes
SpPOP_linear3(N, k, xlat, ylong)
SpPOP_linear3(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and one explanatory variable (i.e. X). The auxiliary variable has been generated following U(0,2) and the regression coefficients are generated as linear function of locations.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_linear3<-SpPOP_linear3(100,10,c(1:10),c(1:10))
sp_linear3<-SpPOP_linear3(100,10,c(1:10),c(1:10))
Generation of spatial population along with spatially varying model parameters generated based on linear function of latitudes and longitudes
SpPOP_linear4(N, k, xlat, ylong)
SpPOP_linear4(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and one explanatory variable (i.e. X). The auxiliary variable has been generated following U(0,2) and the regression coefficients are generated as linear function of locations.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_linear4<-SpPOP_linear4(100,10,c(1:10),c(1:10))
sp_linear4<-SpPOP_linear4(100,10,c(1:10),c(1:10))
Generation of spatial population along with spatially varying model parameters generated based on linear function of latitudes and longitudes
SpPOP_linear5(N, k, xlat, ylong)
SpPOP_linear5(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and two explanatory variables (i.e. X1 and X2). The auxiliary variables are independently drawn from the uniform distribution U(0,2) and normal distribution N(1,1) and the regression coefficients are generated as linear function of locations.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_linear5<-SpPOP_linear5(100,10,c(1:10),c(1:10))
sp_linear5<-SpPOP_linear5(100,10,c(1:10),c(1:10))
Generation of spatial population along with spatially varying model parameters generated based on non-linear function of latitudes and longitudes
SpPOP_nonlinear1(N, k, xlat, ylong)
SpPOP_nonlinear1(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and one explanatory variable (i.e. X). The auxiliary variable has been generated following U(0,1) and the regression coefficients are generated as non-linear function of latitudes and longitudes.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_nonlinear1<-SpPOP_nonlinear1(100,10,c(1:10),c(1:10))
sp_nonlinear1<-SpPOP_nonlinear1(100,10,c(1:10),c(1:10))
Generation of spatial population along with spatially varying model parameters generated based on non-linear function of latitudes and longitudes
SpPOP_nonlinear2(N, k, xlat, ylong)
SpPOP_nonlinear2(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and one explanatory variable (i.e. X). The auxiliary variable has been generated following U(0,1) and the regression coefficients are generated as non-linear function of latitudes and longitudes.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_nonlinear2<-SpPOP_nonlinear2(100,10,c(1:10),c(1:10))
sp_nonlinear2<-SpPOP_nonlinear2(100,10,c(1:10),c(1:10))
Generation of spatial population includes multiple auxiliary variables along with spatially varying model parameters generated based on non-linear function of latitudes and longitudes
SpPOP_nonlinear3(N, k, xlat, ylong)
SpPOP_nonlinear3(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and one explanatory variable (i.e. X1, X2, and X3). The auxiliary variables has been generated independently from uniform distribution U(0,1) and the regression coefficients are generated as non-linear function of latitudes and longitudes.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_nonlinear3<-SpPOP_nonlinear3(100,10,c(1:10),c(1:10))
sp_nonlinear3<-SpPOP_nonlinear3(100,10,c(1:10),c(1:10))
Generation of spatial population along with spatially varying model parameters generated based on non-linear function of latitudes and longitudes
SpPOP_nonlinear4(N, k, xlat, ylong)
SpPOP_nonlinear4(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and one explanatory variable (i.e. X). The auxiliary variable has been generated following U(0,2) and the regression coefficients are generated as non-linear function of latitudes and longitudes.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_nonlinear4<-SpPOP_nonlinear4(100,10,c(1:10),c(1:10))
sp_nonlinear4<-SpPOP_nonlinear4(100,10,c(1:10),c(1:10))
Generation of spatial population along with spatially varying model parameters generated based on non-linear function of latitudes and longitudes
SpPOP_nonlinear5(N, k, xlat, ylong)
SpPOP_nonlinear5(N, k, xlat, ylong)
N |
integer; population size i.e. N= (k * k) |
k |
integer |
xlat |
numeric vector |
ylong |
numeric vector |
The developed function returns a dataframe of spatially generated population consist of simulated response variable (i.e. Y) along with their spatial coordinates, spatially varying coefficients and two explanatory variables (i.e. X1 and X2). The auxiliary variables are drawn independently from uniform distribution U(0,2) and normal distribution N(1,1) and the regression coefficients are generated as non-linear function of latitudes and longitudes.
1. Wang, Ning., Mei, Chang-Lin. and Yan, Xiao-Dong. (2008). Local Linear Estimation of Spatially Varying Coefficient Models: An Improvement on the Geographically Weighted Regression Technique. Environment and Planning A: Economy and Space, 40(4), 986-1005.<DOI:10.1068/a3941>.
2. Chao, Liu., Chuanhua, Wei. and Yunan, Su. (2018). Geographically weighted regression model-assisted estimation in survey sampling. Journal of Nonparametric Statistics. <DOI:10.1080/10485252.2018.1499907>.
sp_nonlinear5<-SpPOP_nonlinear5(100,10,c(1:10),c(1:10))
sp_nonlinear5<-SpPOP_nonlinear5(100,10,c(1:10),c(1:10))