kutaslab / fitgrid

Multichannel event-related time-series regression modeling for EEG, MEG, and sensor array data
https://kutaslab.github.io/fitgrid
BSD 3-Clause "New" or "Revised" License
8 stars 4 forks source link

0.4.0 dev #146

Closed turbach closed 5 years ago

turbach commented 5 years ago

Added UI wrappers to lm.py to fetch statsmodels diagnostics in flat, labeled dataframes, and slice by critical value boundary or interval.

statsmodels OLSInfluence is a grab bag, most measures return values, a few ... cooks_distance, dffits_internal, dffits ... return tuples.

This prompted a change to fitgrid.py for expanding lists, tuples ... np.broadcast mixed types if possible.

This may be sensible general behavior, if not it is easy to revert fitgrid.py and handle the special cases utils.lm.py

codecov-io commented 5 years ago

Codecov Report

Merging #146 into master will increase coverage by 0.93%. The diff coverage is 92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
+ Coverage   87.18%   88.11%   +0.93%     
==========================================
  Files          14       14              
  Lines         757      892     +135     
==========================================
+ Hits          660      786     +126     
- Misses         97      106       +9
Impacted Files Coverage Δ
fitgrid/utils/__init__.py 100% <100%> (ø) :arrow_up:
fitgrid/__init__.py 100% <100%> (ø) :arrow_up:
fitgrid/fitgrid.py 90.76% <83.33%> (ø) :arrow_up:
fitgrid/utils/summary.py 90.53% <91.52%> (+0.48%) :arrow_up:
fitgrid/utils/lm.py 93.8% <93.13%> (-6.2%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 85e7d83...59eaf4e. Read the comment docs.