patchGNU Octave - Patches: patch #8584, [octave forge] (statistics)...

 
 

patch #8584: [octave forge] (statistics) stepwisefit selection on partial p values

Submitter:  Mikael Kurula <alcarola>
Submitted:  Sun 21 Dec 2014 07:36:44 PM UTC
   
 
Category:  Forge : other Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 24 Nov 2021 06:56:14 PM UTC, comment #1: 

Thanks. Since the modification in the program is small, I added it as an alternative option to stepwisefit: https://sourceforge.net/p/octave/statistics/ci/6812f8189aed384762d8fc420feb0ea373ee6c89/

Nir Krakauer <nir_krakauer>
Sun 21 Dec 2014 07:36:44 PM UTC, original submission:  

I made some rather trivial modifications to Nir Krakauer's stepwisefit.m in the statistics package, in order to select predictors to consider for inclusion in the models based on partial p values, rather than on correlation with the residual. This is as far as I can understand also suggested in Section 2.9 of Draper & Smith: Applied Regression Analysis, second edition, Wiley 1981.

Drawbacks:
- Computationally probably more intense than correlation
- I am not a statistician, so not so confident that I got it all right

Advantages:
+ Partial p values should be a much more reliable measure of the significance of a predictor than correlation with the residual
+ stepwisefit_p.m seems to perform much better than stepwisefit.m on at least some examples arising from CCD experimental designs

The Octave community is of course free to do what it finds fit with this small development. Thanks to Nir for suggesting that I post the modification here.

Mikael Kurula <alcarola>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #32698:  stepwisefit_p.m added by alcarola (6KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nrjank (Updated the item)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by lachlan (Updated the item)
  • -email is unavailable- added by alcarola (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-16 nrjank StatusNone Done
        Open/ClosedOpen Closed
    2019-03-07 mtmiller Summarystatistics/stepwisefit selection on partial p values [octave forge] (statistics) stepwisefit selection on partial p values
    2016-07-07 lachlan CategoryNone Forge : other
    2014-12-21 alcarola Attached File- Added stepwisefit_p.m, #32698

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code