Quantcast

Re: [R-sig-Geo] Help in simultaneous equations

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [R-sig-Geo] Help in simultaneous equations

Sarah Goslee
On Tue, Jun 19, 2012 at 1:11 PM, Saima Bashir <[hidden email]> wrote:
> Hi Sarah,
>
> I have installed and loaded them into R but get same error.
>
> I am using four equations, cross-section data, version R i386 2.15.0.

That is by no means all the information I requested in my original
reply, or all that is requested in the posting guide. Nobody can help
you unless you provide enough information that we can diagnose or
reproduce the problem.

You'll also have better luck if you reply to the email list and not just me.

Sarah

> Thanks
>
> Saima
>
> ________________________________
> From: Sarah Goslee <[hidden email]>
> To: Saima Bashir <[hidden email]>
> Cc: "[hidden email]" <[hidden email]>
> Sent: Monday, June 18, 2012 3:18 PM
> Subject: Re: [R-sig-Geo] Help in simultaneous equations
>
> On Mon, Jun 18, 2012 at 3:15 PM, Saima Bashir <[hidden email]>
> wrote:
>> HI,
>>  I want to run simultaneous equation model. I installed packages sphet,
>> spdep, and spse.
>
> After you installed them did you load them into R with
> library("sphet")
> library("spdep")
> library("spse")
>
>> I imported weight matrix from matlab. when I tried to run the model with
>> these codes:
>> se <- spsegm(formula, data = pdata, w = W.txt, panel = TRUE, lags = list
>> (c(TRUE, FALSE, FALSE, FALSE), c(FALSE, TRUE, FALSE, FALSE), c(FALSE, FALSE,
>> TRUE, FALSE), c(FALSE, FALSE, FALSE, TRUE)), errors = list(FALSE, TRUE,
>> TRUE, TRUE), endogenous = list(c(FALSE, TRUE, TRUE, TRUE), c(TRUE, FALSE,
>> TRUE, TRUE), c(TRUE, TRUE, FALSE, TRUE), c(TRUE, TRUE, TRUE, FALSE)))
>>
>> I get this error:
>>
>> Error: could not find function "spsegm"
>
> If the packages installed correctly and loaded with library(), and you
> still get this error, please provide the information requested in the
> posting guide on OS, versions, data, etc.
>
> Sarah
>
>
>> Note: I have four equations and I am using cross section data.
>>
>> I will really appreciate if someone can help me out.
>>
>> Thanks
>>
>> Saima
>>
>



--
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Loading...