Code Monkey home page Code Monkey logo

Comments (5)

mcreel avatar mcreel commented on May 27, 2024

Thanks for your interest. I think that the problem is that you do not have StatsModels installed. I'm not an expert in all of the Julia package management possibilities. I believe that the best solution is to install the packages in the Econometrics Manifest.toml file. To do this, change directories so that the Econometrics directory is julia's working directory (or just download the Project.toml and Manifest.toml files to wherever is you julia working directory), and then do

] activate .

CTRL-C (to leave the package REPL)
using Econometrics
To get help on how to manage packages from experts, consider asking at https://discourse.julialang.org/latest

Regarding testing, Econometrics is not yet at that stage of professionalism. It would be nice to get there some time. PRs would be very welcome for that.

from econometrics.

finmod avatar finmod commented on May 27, 2024

After installing StatsModels v0.6.3, various issues with arrays appeared. The combination of installed packages that solves this is:

  • RecursiveArrayTools v1.0.2
  • ShiftedArrays#master
  • StatsModels v0.6.3
  • Array Interface v1.2.1

with build, update and test on these packages. Then Econometrics runs fine with loads of warnings on precompilation but still does not pass test because it is not declared in the Manifest.toml file.

Also two issues with upgrade to Julia 1.1. "linespace" has been deprecated for "range" and "eye" has been deprecated for "Diagonal()" or "Matrix()"...

from econometrics.

mcreel avatar mcreel commented on May 27, 2024

I believe that the ] activate . method will take care of setting up the environment. eye() is a function defined in the Econometrics package. According to grep, the only occurrences of linspace are in old Octave/Matlab code, not in any Julia code. I don't plan on adding any serious testing in the near future, but I may do it at some point. So, I think that this issue can be closed. Thanks for the input, and please let me know if you have any problems.

from econometrics.

mcreel avatar mcreel commented on May 27, 2024

I just verified that the following works without problems, using julia 1.3-rc1 with no packages installed, on Linux. This method is making use of the .toml files, as mentioned above. So, I'll close this issue now.

  1. ] add https://github.com/mcreel/Econometrics.git
  2. using Econometrics

from econometrics.

mcreel avatar mcreel commented on May 27, 2024

One last comment, connectivity problems can interfere with needed software being downloaded, which can lead to error messages. If that happens, just do ] build Econometrics to retry.

from econometrics.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.