Skip to content

Winds of spring

Compare
Choose a tag to compare
@kauedesousa kauedesousa released this 17 Mar 10:21
· 148 commits to master since this release
a3f8a8f

ClimMob-analysis v1.2 (2021-03-17)

Improvements

  • New criteria in filtering the trait entries (participants' responses): (1) having at least 5 valid entries (no NA's, both positive and negative answered), and (2) that all the technologies are tested at least twice per given trait.
  • If no trait passes these criteria, then a report with the message is generated.
  • The main script is revised in its structure and documentation to increase readability and improve bug fixes. The new structure to organise the sections follows, first an overview of the ClimMob project. Then the analysis of the main trait, followed by the other traits independently. Sections are now organised by trait and not but the type of analysis.
  • The main trait (reference trait) is selected based on the availability of the most common reference traits, first the algorithm looks for the overall performance (or overall preference), then yield, then taste. If none of these traits are found, the algorithm selects the last trait assessed in the project, as provided by the arguments in the file data.json.
  • The algorithm deals trait/covariates assessed more than once if in different data collection moments. To avoid issues in factor levels, we add an additional string with sequential numbers per each duplicated trait/covariate. Check function rename_duplicates() here.
  • We added a new chart showing the number of valid answers received for each trait in the data collection moments. Even those removed for the analysis due to few data available.
  • Table with number of technologies assessed by gender now is produced based on the aliases of the variable "REG_gender" which makes possible the inclusion of new aliases.
  • Information on the data collection moment is provided and linked to their respective traits and covariates. This will help the reader to find out which trait/covariate belongs to the data collection moment, mostly when the trait/covariate is collected in more than one data collection moment.
  • An alpha of 0.5 is used in the Plackett-Luce tree for the main trait. This is to enable the creation of trees even with a small sample size. The algorithm still prints the message if the tree has significant groups with an alpha of 0.1 (default for the analysis).
  • Minor improvements in sorting the traits for the participants' reports and how traits and question asked are displayed.
  • Analysis will handle ties (if any)

BUG FIXES

  • Indices and p.values were mistakenly printed in the text describing the table of "Summary of differences found in varieties by trait" saying, for example, that one trait had significant difference when it did not. The indices in the data.frame are taken correctly now. This error did not influences the readability of previous versions of the mentioned table, only the text that is printed before it.