winlose_production_line_bic

Abstract

The production line scripts were made in order to turn a file describing colony battle outcomes and the species of the two colonies into a response, explanation variable file fit for regression analysis. The explanation variables are trait differences (thus ensuring reshuffling symmetry) made using a separate trait file describing the traits of each species. Interaction terms are made in addtion, before a random subset of battles are reshuffled, meaning that the outcome and each explanation variable is reversed. This in order to make sure there are both wins and losses in the output file, which then can be used in regression. This production line was used for making a single regression file, usable for for instance (but not restricted to) BIC-based model search on regression models (as opposed to a training-validation-test-based model search)

    Similar works