<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-forward-container"><font face="DejaVu Sans">Dear
colleagues,<br>
<br>
I would like to estimate a spatial Durbin model with two
different weight matrices (the second one being standardized,
the first one not).<br>
<br>
Hence, I used </font>lagsarlm(..., type="mixed", ...) and
wanted to create WX myself using create_WX():<br>
<br>
WX <- create_WX(X, average.listw, prefix = "lag")<br>
<br>
X is the matrix of regressors and average.listw is a listw object
created with mat2listw(..., style="M").<br>
<br>
Now my problem is: How can I add WX to the regression formula?
Simply adding the names of WX doesn't work, since WX is not a
data.frame which can be added to the dataset specified in
lagsarlm(..., data= ...).<br>
<br>
Any help is greatly appreciated!<br>
Michael<br>
<pre class="moz-signature" cols="72">--
Michael E. Rose, PhD Student
University of Cape Town, African Institute of Financial Markets and Risk Management</pre>
<br>
</div>
<br>
</body>
</html>