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.
> 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]>
>> 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
>> 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.
>> Note: I have four equations and I am using cross section data.
>> I will really appreciate if someone can help me out.