This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

Translating the S-Plus Least Angle Regression package to Mata

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Adrian Mander () (MRC Human Nutrition Research)

Additional information is available for the following registered author(s):

Abstract

In an attempt to learn Mata I have translated the LARS package, written for R by Trevor Hastie and Brad Efron, into Mata. The LARS package is an efficient implementation of an entire lasso sequence with the cost of a single least-squares estimation. Mata and R/S+ are incredibly similar in terms of syntax and on the whole can be translated by altering the syntax “wording”, however, there was the occasional need for additional functions. It is certainly not the best approach to learning a new language. I shall describe the new Stata command and apply this approach to model selection to some nutrition data.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help file. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://repec.org/usug2007/LARS.ppt
File Format: application/x-ms-powerpoint
File Function: presentation slides
Download Restriction: no

Publisher Info
Paper provided by Stata Users Group in its series United Kingdom Stata Users' Group Meetings 2007 with number 13.

Download reference. The following formats are available: HTML, plain text, BibTeX, RIS (EndNote), ReDIF
Length:
Date of creation: 14 Sep 2007
Date of revision:
Handle: RePEc:boc:usug07:13

Contact details of provider:
Postal: Administration Building, 140 Commonwealth Avenue, Chestnut Hill MA 02467
Phone: 617-552-3670
Fax: 617-552-2308
Email:
Web page: http://www.stata.com/meeting/13uk
More information through EDIRC

For technical questions regarding this item, or to correct its listing, contact: (Christopher F Baum).

Related research
Keywords:

This paper has been announced in the following NEP Reports:

Statistics
Access and download statistics

Did you know? Each page is provided with a technical contact, in case something is not right with the supplied information. See under "publisher info".

This page was last updated on 2008-9-25.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.