[R-sig-Geo] spml package and impacts calcultion

Roger Bivand Roger.Bivand at nhh.no
Wed Dec 23 23:39:01 CET 2015


On Wed, 23 Dec 2015, Edzer Pebesma wrote:

>
>
> On 23/12/15 22:02, Daniel Furlan Amaral wrote:
>> Dear all,
>>
>> Does anyone know about packages or commands to calculate direct, indirect
>> and total impacts? I didn't find it on spml package.
>
> package spdep has impacts methods for some models, see ?impacts :
>
>> library(spdep)
> Loading required package: Matrix
>> methods(impacts)
> [1] impacts.gmsar* impacts.sarlm* impacts.stsls*
>

and model fitting functions in the splm package use those in their own 
method:

> library(splm)
> methods(impacts)
[1] impacts.gmsar* impacts.sarlm* impacts.splm*  impacts.stsls*

so use that method in the same way.

Roger

>>
>> Thank you.
>>
>> 	[[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>
>

-- 
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 91 00
e-mail: Roger.Bivand at nhh.no



More information about the R-sig-Geo mailing list