13.07.2015 Views

LIAM 2 User Guide

LIAM 2 User Guide

LIAM 2 User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>LIAM</strong> 2 <strong>User</strong> <strong>Guide</strong>, Release 0.7.0• the “num_periods” argument of lag: lag(age, num_periods) can now be a scalar expression (it must havethe same value for all individuals).• changed output format of groupby to match input format for alignments.• added Warning in grpgini when all values (for the filter) are zeros.• when an unrecoverable error happens, save the technical error log to the output directory (for run and explorecommands) instead of the directory from where liam2 was run and display on the console where the file hasbeen saved.• better error message when an input file has inconsistent row lengths.• better error message when using a one2many function in a groupby expression.Miscellaneous improvements for developers:• added a “code architecture” section to the documentation.• python tracebacks can be re-activated by setting the DEBUG environment variable to True.• added a script to automate much of the release process.• added source files for creating liam2 bundle (ie add our custom version of notepad++ to the source distribution).• updated INSTALL file, and include sections on how to build the documentation and the C extensions.• added many tests, fixed a few existing ones and generally greatly improved our test suite.Fixes:• fixed “transposed” option on import. The number of lines to copy was computed on the untransposed datawhich meant too few data points were copied if the number columns was greater than the number of linesand it crashed if it was smaller.• fixed all aggregate functions (except grpcount and grpsum) with a filter argument equal to a simple variable(eg filter=gender) in the presence of “missing” (nan) values in the expression being aggregated: the filtervariable was modified.• fixed duration() on a simple variable (eg duration(work)): the variable was modified by the function.• fixed a nasty bug which made that each variable that needed to be read on disk (lag of more than one period,duration, value_for_period, ...) was read 2 or 3 times instead of just once, greatly slowing down the function.• fixed accessing columns for the next-to-last period in the interactive console after a simulation: it was eithergiving bad results or returning an error.• fixed all aggregate functions (except grpcount, grpsum and grpavg which worked) on boolean expressions.This is actually only (remotely) useful for grpgini and grpstd.• fixed groupby with both filter and expr arguments.• fixed groupby(expr=scalar).• fixed sumlink(link, scalar).• fixed new(number=...).• fixed non-aligned regressions with a filter (it was ignored).• fixed the editor shortcuts (to launch liam2) to work when the directory containing the model contains spaces.• fixed handling of comments in the first cell of a row in alignments files (the entire row is ignored now).• fixed “textual form” of choice expressions when bins or choices are dynamic.• fixed using numpy 1.710.4. Change log 59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!