-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
statsmodels requirement missing for cAndCwithStickyE/StickyEtools.py #441
Comments
This model is supposed to moved to REMARK right ?
…On Tue, 26 Nov 2019 at 20:26, Sebastian Benthall ***@***.***> wrote:
Running cAndCwithStickyE/StickyEtools.py file with ipython gets this
import error:
~/projects/econ-ark/HARK/examples/cAndCwithStickyE/StickyEtools.py in <module>
11 import numpy as np
12 import pandas as pd
---> 13 import statsmodels.api as sm
14 import statsmodels.sandbox.regression.gmm as smsrg
15 import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'statsmodels'
statsmodels is not listed in the requirements.txt file at either the top
level directory or in the binder/ directory.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#441?email_source=notifications&email_token=ABI5RFBWH427OSLO6X2XPADQVWWDBA5CNFSM4JR7EOQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H4IJ32Q>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABI5RFB3VBANLW5H7PGNVGTQVWWDBANCNFSM4JR7EOQQ>
.
|
That would make sense to me, but I haven't heard that directly from anyone myself. |
… On 26-Nov-2019, at 8:37 PM, Sebastian Benthall ***@***.***> wrote:
This model is supposed to moved to REMARK right ?
That would make sense to me, but I haven't heard that directly from anyone myself.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#441?email_source=notifications&email_token=ABI5RFHV4UHVAWSPOGBHONDQVWXMRA5CNFSM4JR7EOQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHZHSQ#issuecomment-558863306>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABI5RFB6ZGUZZSNOUP57R5DQVWXMRANCNFSM4JR7EOQQ>.
|
I see! Could close this ticket, but the REMARK is going to need the new requirement as well. |
Yes, it and cstwMPC both need to become REMARKs.
The holdup is just that I want to have a mechanism in place, and
illustrations for how to use it, whereby people can easily make use of the
REMARKs that have appropriate capabilities, as importable modules.
As it stands, I can tell my students who have installed HARK just to
"import cAndCwithStickyE" and it's trivial.
I want to have an example of how to do that once they become REMARKs.
Specifically, any DemARK that uses cstwMPC or StickyE tools would be a good
candidate for illustrating how this should be done.
…On Tue, Nov 26, 2019 at 6:44 PM Sebastian Benthall ***@***.***> wrote:
I see! Could close this ticket, but the REMARK is going to need the new
requirement as well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#441?email_source=notifications&email_token=AAKCK76LCJ5NVEEU7MVLYNDQVWYFZA5CNFSM4JR7EOQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHZR6I#issuecomment-558864633>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKCK76AQ25SEPLU267DPK3QVWYFZANCNFSM4JR7EOQQ>
.
--
- Chris Carroll
|
There are multiple demarks which use cstwMPC but only one uses the model [Uncertainly and savings rate, import HARK.cstwMPC.cstwMPC as cstwMPC ], others only use the parameters.
Which can be manually fixed by moving the params file to REMARK or maybe embedding the params into the file? Or maybe a better solution?
… On 26-Nov-2019, at 9:49 PM, Christopher Llorracc Carroll ***@***.***> wrote:
Yes, it and cstwMPC both need to become REMARKs.
The holdup is just that I want to have a mechanism in place, and
illustrations for how to use it, whereby people can easily make use of the
REMARKs that have appropriate capabilities, as importable modules.
As it stands, I can tell my students who have installed HARK just to
"import cAndCwithStickyE" and it's trivial.
I want to have an example of how to do that once they become REMARKs.
Specifically, any DemARK that uses cstwMPC or StickyE tools would be a good
candidate for illustrating how this should be done.
On Tue, Nov 26, 2019 at 6:44 PM Sebastian Benthall ***@***.***>
wrote:
> I see! Could close this ticket, but the REMARK is going to need the new
> requirement as well.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#441?email_source=notifications&email_token=AAKCK76LCJ5NVEEU7MVLYNDQVWYFZA5CNFSM4JR7EOQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHZR6I#issuecomment-558864633>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAKCK76AQ25SEPLU267DPK3QVWYFZANCNFSM4JR7EOQQ>
> .
>
--
- Chris Carroll
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#441?email_source=notifications&email_token=ABI5RFDOTBJ3LA6LUTKTAXTQVW73BA5CNFSM4JR7EOQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFH5FMI#issuecomment-558879409>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABI5RFCS7PCMOUGUWOV2OQLQVW73BANCNFSM4JR7EOQQ>.
|
I've given it a bit of thought but not come up with a good solution. But
am not the expert on this stuff.
One thing that is kludgy but would work would just to be to insist that
anyone who wants to do something using modules in a REMARK needs to clone
the REMARKs repo to a subdirectory of their project. Then they could say
from REMARK.REMARKs.cstwMPC.Code.Python import cstwMPC
or something like that. But that is kind of ugly, but is the best idea
I've come up with.
On Tue, Nov 26, 2019 at 8:00 PM Mridul Seth <[email protected]>
wrote:
… There are multiple demarks which use cstwMPC but only one uses the model
[Uncertainly and savings rate, import HARK.cstwMPC.cstwMPC as cstwMPC ],
others only use the parameters.
Which can be manually fixed by moving the params file to REMARK or maybe
embedding the params into the file? Or maybe a better solution?
> On 26-Nov-2019, at 9:49 PM, Christopher Llorracc Carroll <
***@***.***> wrote:
>
> Yes, it and cstwMPC both need to become REMARKs.
>
> The holdup is just that I want to have a mechanism in place, and
> illustrations for how to use it, whereby people can easily make use of
the
> REMARKs that have appropriate capabilities, as importable modules.
>
> As it stands, I can tell my students who have installed HARK just to
> "import cAndCwithStickyE" and it's trivial.
>
> I want to have an example of how to do that once they become REMARKs.
>
> Specifically, any DemARK that uses cstwMPC or StickyE tools would be a
good
> candidate for illustrating how this should be done.
>
>
>
> On Tue, Nov 26, 2019 at 6:44 PM Sebastian Benthall <
***@***.***>
> wrote:
>
> > I see! Could close this ticket, but the REMARK is going to need the new
> > requirement as well.
> >
> > —
> > You are receiving this because you are subscribed to this thread.
> > Reply to this email directly, view it on GitHub
> > <
#441?email_source=notifications&email_token=AAKCK76LCJ5NVEEU7MVLYNDQVWYFZA5CNFSM4JR7EOQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHZR6I#issuecomment-558864633
>,
> > or unsubscribe
> > <
https://github.com/notifications/unsubscribe-auth/AAKCK76AQ25SEPLU267DPK3QVWYFZANCNFSM4JR7EOQQ
>
> > .
> >
>
>
> --
> - Chris Carroll
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub <
#441?email_source=notifications&email_token=ABI5RFDOTBJ3LA6LUTKTAXTQVW73BA5CNFSM4JR7EOQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFH5FMI#issuecomment-558879409>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ABI5RFCS7PCMOUGUWOV2OQLQVW73BANCNFSM4JR7EOQQ
>.
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#441?email_source=notifications&email_token=AAKCK77VFLIDZJTLQQDIABLQVXBCRA5CNFSM4JR7EOQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFH5V7Q#issuecomment-558881534>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKCK74SFNRPARYXJQQYGNDQVXBCRANCNFSM4JR7EOQQ>
.
--
- Chris Carroll
|
This is fixed in the REMARK and is a good example of why we need to remove these kinds of things from HARK. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running cAndCwithStickyE/StickyEtools.py file with
ipython
gets this import error:statsmodels
is not listed in therequirements.txt
file at either the top level directory or in thebinder/
directory.The text was updated successfully, but these errors were encountered: