Skip to main content
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
Results tagged with
Search options not deleted user 56216

Social network data consists of a collection of "nodes" (which can be any sort of entity - e.g. people, corporations) and "links" (which can be any sort of relationship - e.g. friend, sharing a board member).

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 D …
MERose's user avatar
  • 419
4 votes
1 answer
525 views

Estimating a peer effects model in R

I would like to estimate a model of the following form: $$ y = \sigma G y + \beta X + \delta G^* X + \epsilon $$ where $G$ and $G^*$ are quadratic adjacency matrices, $y$ is a vector of a dependent …
MERose's user avatar
  • 419