Re: [R-sig-Geo] Simulating variables with predefined correlation and autocorrelation

2019-09-03 Thread Tobias Rüttenauer
Dear Amitha, If understand your query correctly, you could also have a look at my preprint on Monte Carlo simulations of different spatial regression models: https://kluedo.ub.uni-kl.de/frontdoor/index/index/docId/5630. The replication materials are online available

Re: [R-sig-Geo] SLX model for splm package in R

2017-12-31 Thread Tobias Rüttenauer
inde, function(u) lag.listw(usa.lw, u, NAOK=T), simplify=TRUE)) Best, Tobi Von: Daniel Furlan Amaral [mailto:dfama...@usp.br] Gesendet: 29 December 2017 17:27 An: Tobias Rüttenauer <ruettena...@sowi.uni-kl.de> Betreff: Re: [R-sig-Geo] SLX model for splm package in R Dear

Re: [R-sig-Geo] SLX model for splm package in R

2017-12-22 Thread Tobias Rüttenauer
t.coef = "state", digits=6) Test if both ways produce identical vectors Produc.pd<-pdata.frame(Produc, index=c("state", "year")) x<-Produc.pd$gsp # lag after demean dx<-dm(x, Produc.pd$state) wdx<-slag(dx, usa.lw) # deaman after lag wx<-sl

Re: [R-sig-Geo] Graph of attribute per postal code

2016-07-11 Thread Tobias Rüttenauer
Dear Isa-May, I think the easiest way is to use the choropleth command of the GISTools package (ggplot is another option). However, you have to transform your dataframe into a SpatialPolygonsDataFrame. That means you need to merge your dataframe to a shapefile or some other spatial projection of

Re: [R-sig-Geo] AIC/R^2 in splm

2016-02-19 Thread Tobias Rüttenauer
> -Ursprüngliche Nachricht- > Von: R-sig-Geo [mailto:r-sig-geo-boun...@r-project.org] Im Auftrag von > Maryia Bakhtsiyarava > Gesendet: Montag, 15. Februar 2016 03:59 > An: R-sig-geo Mailing List > Betreff: [R-sig-Geo] AIC/R^2 in splm > > Dear list members, > >

Re: [R-sig-Geo] LM test for spatial dependence with panel data

2016-02-15 Thread Tobias Rüttenauer
Dear Roger, thanks for your answer! > > Dear list members, > > > > I'm currently estimating a fixed effects panel model and I want to > > control for spatial dependence. Thus, I also estimated two spatial > > fe-models, one with a spatial error term and one with a spatial error > > term and

[R-sig-Geo] LM test for spatial dependence with panel data

2016-02-08 Thread Tobias Rüttenauer
Dear list members, I’m currently estimating a fixed effects panel model and I want to control for spatial dependence. Thus, I also estimated two spatial fe-models, one with a spatial error term and one with a spatial error term and spatial lag variable. Both lambda and rho are highly significant

[R-sig-Geo] Time series in spatial regression model (spautolm)

2015-10-09 Thread Tobias Rüttenauer
Dear r-sig-geo team, I started working with spatial analysis some month ago, so I'm quite new (and unknowing ) in this field. However, my aim is to connect time series analysis with spatial analysis, what seems to be quite difficult (to me). The dataset I am working with a spatial polygons data