Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The field of study concerning statistical methods that use space and spatial relationships (such as distance, area, volume, length, height, orientation, centrality and/or other spatial characteristics of data) directly in their mathematical computations.
3
votes
Accepted
Estimating a peer effects model in R
The answer is as simply as this:
lagsarlm(y ~ x1 + x2, data=reg_data, listw=G, method="eigen",
quiet=FALSE, zero.policy = FALSE, tol.solve=1e-14, type="mixed")
type="mixed" estimates a Spatial Durban …
4
votes
1
answer
525
views
Estimating a peer effects model in R
Econometricians will immediately recognize the similarity to spatial simultaneous autoregressive lag models, whose general form is
$$
y = \rho W y + \beta X + \epsilon
$$
(with $W = G$). …