Skip to content
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

Fitting simple LM results in error about higer order interactions. #61

Closed
johansigfrids opened this issue Mar 5, 2014 · 5 comments
Closed

Comments

@johansigfrids
Copy link

This:

using GLM, RDatasets
form = dataset("datasets","Formaldehyde")
lm1 = lm(OptDen ~ Carb, form)

results in:

code for 3rd and higher order interactions not yet written
while loading In[1], in expression starting on line 3
 in expandcols at C:\Users\admin\.julia\v0.3\DataFrames\src\formula\formula.jl:216
 in ModelMatrix at C:\Users\admin\.julia\v0.3\DataFrames\src\formula\formula.jl:238

This is on Windows 8.1 x64.

versioninfo()

Julia Version 0.3.0-prerelease+1570
Commit a6f6461* (2014-02-14 21:07 UTC)
Platform Info:
  System: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
  LAPACK: libopenblas
  LIBM: libopenlibm
Pkg.status()

8 required packages:
 - Benchmark                     0.0.3
 - GLM                           0.3.0
 - Gadfly                        0.2.5
 - IJulia                        0.1.4
 - ProfileView                   0.0.1
 - RDatasets                     0.1.1
 - Resampling                    0.0.0
 - Winston                       0.9.0
38 additional packages:
 - ArrayViews                    0.4.1
 - BinDeps                       0.2.12
 - Blocks                        0.0.2
 - Cairo                         0.2.12
 - Cartesian                     0.1.4
 - Codecs                        0.1.0
 - Color                         0.2.8
 - Compose                       0.1.26
 - DataArrays                    0.1.3
 - DataFrames                    0.5.3
 - Datetime                      0.1.2
 - Distance                      0.3.1
 - Distributions                 0.4.0
 - GZip                          0.2.12
 - HTTPClient                    0.1.0
 - Hexagons                      0.0.1
 - ImageView                     0.0.14
 - Images                        0.2.30
 - IniFile                       0.2.2
 - Iterators                     0.1.2
 - JSON                          0.3.3
 - LibCURL                       0.1.0
 - LibExpat                      0.0.3
 - Loess                         0.0.2
 - Nettle                        0.1.3
 - NumericExtensions             0.5.4
 - PDMats                        0.1.0
 - REPLCompletions               0.0.0
 - SIUnits                       0.0.1
 - SortingAlgorithms             0.0.1
 - StatsBase                     0.3.7
 - TexExtensions                 0.0.1
 - Tk                            0.2.11
 - URIParser                     0.0.1
 - URLParse                      0.0.0
 - WinRPM                        0.0.12
 - ZMQ                           0.1.8
 - Zlib                          0.1.5
@simonster
Copy link
Member

I suspect this is happening because I updated DataFrames to reflect the changes to the Set constructors in Base (JuliaLang/julia#5897), but your Julia build is older. This should all be resolved when you update Julia. Hopefully someone will get the Windows nightlies building again soon.

@simonster
Copy link
Member

Thanks to Isaiah's hard work, new Windows nightlies are now up. Let me know if they fix things.

@johansigfrids
Copy link
Author

I downloaded the new windows build from status.julialang.org, but it seems to be based on the same commit as the old one, and the error still appears.

Julia Version 0.3.0-prerelease+1570
Commit a6f6461* (2014-02-14 21:07 UTC)
Platform Info:
  System: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
  LAPACK: libopenblas
  LIBM: libopenlibm

@johansigfrids
Copy link
Author

OK, with the latest nightly it now works fine.

@simonster
Copy link
Member

Glad to hear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants