Skip to main content
. Author manuscript; available in PMC: 2015 Dec 23.
Published in final edited form as: Ann Appl Stat. 2015;9(3):1103–1140. doi: 10.1214/15-AOAS842

Algorithm 5 Iterative SLOPE fitting when σ is unknown

 1: input: y, X and initial sequence λS (computed for σ = 1)
 2: initialize: S+ = ∅
 3: repeat
 4: S = S+
 5:  compute the RSS obtained by regressing y onto variables in S
 6:   set σ^2=RSS/(n|S|1)
 7:   compute the solution β^ to SLOPE with parameter sequence σ^λS
 8:   set S+=supp(β^)
 9: until S+ = S