Dear Daniel and Neil,
I'm not sure what the OLS function in Finmetrics does, but the name doesn't
suggest 2SLS.
Although I haven't tried it, you could probably port the tsls function in
the R sem package to S-PLUS with little effort. Indeed, programming 2SLS
from scratch shouldn't be too hard, since the calculations are very simple.
I hope this helps,
John
--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
--------------------------------
> -----Original Message-----
> From: s-news-owner@lists.biostat.wustl.edu
> [mailto:s-news-owner@lists.biostat.wustl.edu] On Behalf Of
> Daniel_J_Celta@fpl.com
> Sent: Wednesday, July 19, 2006 8:35 PM
> To: Neil Hepburn
> Cc: s-news@lists.biostat.wustl.edu
> Subject: Re: [S] Two stage least squares
>
> Neil
> Try the Finmetrics library. There is an OLS function that
> may do the trick.
>
> Daniel J Celta
> Project Valuation - Special Valuations
> 561 691 7653
>
>
>
>
>
> "Neil Hepburn"
>
>
> <nhepburn@ualberta.ca> To:
> s-news@lists.biostat.wustl.edu
>
> Sent by: cc:
>
>
> s-news-owner@lists.biosta
> Subject: [S] Two stage least squares
>
> t.wustl.edu
>
>
>
>
>
>
>
>
> 07/19/2006 08:40 PM
>
>
>
>
>
>
>
>
>
>
>
>
> I'm looking for a library to do two stage least squares in
> S-Plus. I've found the sem library for R but have not found
> anything for S-Plus. Anyone got any ideas?
>
> Cheers,
> Neil
>
>
> =============================================
> Neil Hepburn, Economics Instructor
> Department of Social Sciences, Augustana Faculty University
> of Alberta Camrose, Alberta
>
> Email nhepburn@ualberta.ca
> URL http://www.augustana.ca/programs/profs/nhepburn/
>
>
> --------------------------------------------------------------------
> This message was distributed by
> s-news@lists.biostat.wustl.edu. To unsubscribe send e-mail
> to s-news-request@lists.biostat.wustl.edu with the BODY of
> the message: unsubscribe s-news
|