GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - macaru/SparseEstimation: SAS macro to obtain sparse estimates using SCAD penalty

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
ose_scad.sas
ose_scad.sas
 
 

Repository files navigation

This SAS program is the macro to obtain one-step estimator using SCAD penalty that was suggested by Zou and Li (2008) using SAS v9.4. The program include 4 macros as follows. The macro "ose_scad" returns one-step estimator that was suggested by Zou and Li (2008). The macro "lasso_shot" returns LASSO estimator using shooting algorithm that was suggested by Fu (1998). The macros "diff" and "cv"returns the value of K folds cross validation (CV) for estimated coefficients. The macro "optlam" searchs the optimal smoothing parameter based on K folds CV and return the optimal one-step estimates.

Example for usage of macro: %optlam(dat, y, col1 - col12, 0.1, 1, 30);

Here, dat is the name of dataset, y is the name of response variable, col1 - col12 are the names of predict variables. 0.1, 1 and 30 in %optlam macro means the min of smoothing parameter, max of smoothing parameter for grid search and the length of grid of smoothing parameter respectively. Implementing the macro %optlam, you could get 3 datasets optcoef, optlambda and seqcoef. The dataset optcoef is estimated coefficient, the dataset seqcoef and optlambda show the tarnsitions of coefficients and values of K folds CV when lambda is increased, respectively.

[References]

[1] Fu (1998). Penalized regression: The bridge versus the lasso. Journal of Computational and Graphical Statistics 7: 397 -416.

[2] Zou and Li (2008). One-step sparse estimates in nonconacve penalized likelihood models. The Annals of Statistics 36: 267-288.

Last changed: 06 AUG 2018 by Masaru Kanba

About

SAS macro to obtain sparse estimates using SCAD penalty

Topics

oracle-propertiessas-macrosas-programsscadsparse-modeling

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.