[R-sig-Geo] Simultaneous model

Sarah Goslee sarah.goslee at gmail.com
Sun May 27 12:09:11 CEST 2012


Precisely. You're missing the final closing parenthesis, and you've misspelled TRUE at least once. The proper tools will help with that, even without diving into a full IDE. Any text editor intended for programmers will match parentheses and highlight reserved words.

Sarah

On May 27, 2012, at 2:15 AM, Roman Luštrik <roman.lustrik at gmail.com> wrote:

> You are probably missing a close bracket. You could try one of developer's
> environments that can handle code completion, match brackets, code folding
> and much more. From top of my head, you can try ESS, RStudio and Eclipse +
> StatET.
> 
> 
> Cheers,
> Roman
> 
> 
> 
> On Sun, May 27, 2012 at 2:08 AM, Saima Bashir <saimabashir11 at yahoo.com>wrote:
> 
>> Hi,
>> 
>> 
>> I want to analyze Simultaneous equation mode. I had weight matrix imported
>> from Matlab as read.table. whenever, I type codes and hit enter i get +
>> sign. I have four equations in my model. Can any one please tell if I have
>> problem in codes. Codes are:
>> 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(c(FALSE,
>> TRUE, TRUE, TURE), c(TRUE, FALSE, TRUE, TRUE), c(TRUE, TRUE, FALSE, TRUE),
>> c(TRUE, TRUE, TRUE, FALSE)), endogenous = list(c(FALSE, TRUE, TRUE, TRUE),
>> c(TRUE, FALSE, TURE, TRUE), c(TRUE, TRUE, FALSE, TRUE), c(TRUE, TRUE, TRUE,
>> FALSE))
>> 
>> 
>> Thanks
>> 
>> Saima
>> 
>>       [[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
>> 
> 
> 
> 
> -- 
> In God we trust, all others bring data.
> 
>    [[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



More information about the R-sig-Geo mailing list