Skip to content

BUG: Add check to ensure array in arma order selection - #4890

Merged
josef-pkt merged 2 commits into
statsmodels:masterfrom
bashtage:fix-arma_order_select_ic
Aug 21, 2018
Merged

josef-pkt merged 2 commits into
statsmodels:masterfrom
bashtage:fix-arma_order_select_ic

Conversation

@bashtage

Copy link
Copy Markdown
Member

Add call to asarray to ensure data is a numpy array

closes #4727

@bashtage
bashtage force-pushed the fix-arma_order_select_ic branch from a6cf099 to a732dd9 Compare August 13, 2018 10:45
@coveralls

coveralls commented Aug 13, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.04%) to 83.892% when pulling b96b99f on bashtage:fix-arma_order_select_ic into 3261eea on statsmodels:master.

@josef-pkt

Copy link
Copy Markdown
Member

I don't see how this fixes #4727. There is no conversion of y or y_arr to numpy array.
Am I missing something in reading this?

@bashtage

bashtage commented Aug 13, 2018 via email

Copy link
Copy Markdown
Member Author

@josef-pkt

Copy link
Copy Markdown
Member

this has now merge conflicts that need to be resolved
otherwise LGTM and ready for merge

(issue looks now more like REF than BUG)

@bashtage
bashtage force-pushed the fix-arma_order_select_ic branch from c2139d6 to 4af11b3 Compare August 17, 2018 15:22
Add call to asarray to ensure data is a numpy array

closes statsmodels#4727
Add missing asarray
@bashtage
bashtage force-pushed the fix-arma_order_select_ic branch from 4af11b3 to b96b99f Compare August 20, 2018 20:35
@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #4890 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4890      +/-   ##
==========================================
+ Coverage   81.38%   81.38%   +<.01%     
==========================================
  Files         581      581              
  Lines       90194    90204      +10     
  Branches    10077    10077              
==========================================
+ Hits        73406    73416      +10     
  Misses      14498    14498              
  Partials     2290     2290
Impacted Files Coverage Δ
statsmodels/tsa/tests/test_stattools.py 97.45% <100%> (+0.05%) ⬆️
statsmodels/tsa/stattools.py 82.78% <100%> (+0.13%) ⬆️

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 3261eea...b96b99f. Read the comment docs.

@josef-pkt
josef-pkt merged commit 50d5d07 into statsmodels:master Aug 21, 2018
@josef-pkt

Copy link
Copy Markdown
Member

all green, merged

@bashtage thank you

@bashtage
bashtage deleted the fix-arma_order_select_ic branch August 21, 2018 21:45
@josef-pkt josef-pkt added this to the 0.10 milestone Sep 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

arma_order_select_ic function throw "IndexError: index 0 is out of bounds for axis 0 with size 0"

5 participants