Skip to contents

g6tr.list 0.1.7

  • Update Stan model syntax according to modern standards.

g6tr.list 0.1.6

  • Cleaning up check_ functions and using g6tr.ui instead.

g6tr.list 0.1.5

  • Absolute delta cells in within sheet are now highlighted also when the delta is lower than the negative value of threshold.

g6tr.list 0.1.4

  • Updated functions to calculate predictions for new data using old model, based solely on demographic variables.

g6tr.list 0.1.3

  • Fixed bug to properly apply color coding on sheet. Updated get_[within/between]_address().

g6tr.list 0.1.2

  • Package Scheme Vignette.

g6tr.list 0.1.1

  • Correct issue with proper coloring in Population Comaprison Results

g6tr.list 0.1.0

  • Updated naming conventions: private will always refer to list experiment and public will refer to direct question.
  • There are now Bayes style tests for list experiments. You can perform them in one shot with list_statistics or by passing the result of list_tidy_results to and list_tests. The results of list_tidy_result() can be also passed to list_overall_stats() which returns basic diagnostic statistics and point estimates for the experiment.
  • The order of columns in demo data frame passed to list_assert_data() will be used to determine the order of columns in the output of list_render_sheets().
  • New functions list_client_output_within and list_client_output_between returning the results of list_model_results() in wide format.
  • New functions list_render_sheets() – a wrapper over list_render_sheets_within() and list_render_sheets_between() that takes the list of results (from list_model_results()), and put them into formatted xlsx file.

g6tr.list 0.0.17

  • Update internal tests with g6tr.ui and messages with cli.

g6tr.list 0.0.16

g6tr.list 0.0.15

  • Updated select, rename and assert calls with current tidyselect syntax.
  • list_model_results() now automatically returns raw means and predicted probabilities of public and private opinion, by independent variables groups (if at least one of the independent variables is categorical).

g6tr.list 0.0.14

g6tr.list 0.0.13

  • g6tr.dev was renamed to g6tr.ui.

g6tr.list 0.0.12

  • list_model_results now correctly displays NA value in list_pre_post_df and direct_pro_post_df when there are no occurrences of particular response level in raw data set. Also actual_list_answer in list_pre_post_df ratios are calculated only using treatment group (filter(group == 1)). Up until version 0.0.11 those proportions were calculated using both treatment and control group, so the ratio of max value for treatment group was biased.
  • New function to calculate prediction for demographic group levels: list_single_prediction_groups() that allows to calculate predicted probability of saying yes when asked directly, indirectly or the difference of this two probabilities.
  • New function list_predictions_groups() which is a wrapper over list_single_prediction_groups(). It automatically calculates values for probability of saying yes to direct and indirect question as well as the difference between those probabilities.
  • New function list_make_predictors() which is small helper to make list of correct predictor names needed by list_single_prediction_groups() and list_prediction_groups() functions.

g6tr.list 0.0.11

g6tr.list 0.0.10

g6tr.list 0.0.9

  • fixed list_model when there is single predictor.

g6tr.list 0.0.8

  • list_model_results and list_predict now supports weighting the results.

g6tr.list 0.0.7

  • Due to problems with rstan 26.6.6 List Experiment STAN model is no longer precompiled. However, the list_model() will compile the model before running it only once per session.
  • list_model() has two new arguments: seed to choose seed for reproducible workflows and model which indicates the name of the STAN model to be used.

g6tr.list 0.0.6

  • Added new function to make predictions based on new data - list_predict().
  • Adjust list_summary_stats so it works with output of STAN model.
  • Add list_model_results that takes model output and returns summarized results of direct question and list experiment.
  • Correct call to model.matrix in list_tidy_data() so it now makes proper number of columns for each factor variable.
  • Update list_assert_data() messages so they are more explicit about correct values for List Experiment and direct question.
  • Direct question factor levels are no longer automatically converted to integers by list_assert_data(). This task is now performed by list_tidy_data due to addition of new parameters to the tidying function (see below).
  • list_tidy_data() has now two additional parameters:
    • keep_treat_direct which indicates if all responses to direct question should be used (default TRUE) or only responses from control group should be used (FALSE);
    • unsure which indicates if unsure answers to direct question should be recoded to no (default “recode”) or dropped (“remove”)

g6tr.list 0.0.5

  • Add STAN model for list experiment.
  • Add demo argument to list_assert_data() and internal assert_demo() function that asserts if all the demographic variables do not contain missing values.

g6tr.list 0.0.4

  • list_assert_data() now returns additional element --removed_responses, which is atibble` with removed ids and reasons for removal.

g6tr.list 0.0.3

  • New list_desing_test() is a wrapper over list::ict.test(). You can check with this function if there are significant design effects. Significant result of the test will indicate that there is a problem with the List Experiment.
  • list_assert_data() now returns additional element --removed_responses, which is atibble` with removed ids and reasons for removal.

g6tr.list 0.0.2

g6tr.list 0.0.1

  • New list_model() allows to calculate List Experiment model. It returns a list with two models: delta_overall with general difference between control and treatment (formula le_response ~ 1) and delta_groups with differences between breaks levels (formula le_response ~ 1 + break_1 + break_2 + ...).

  • New list_predict() takes output of list_model() and data frame with break columns with respective levels and returns a data.frame with calculated fit for each of the levels of each break variable.

  • New list_summary_stats() takes output of list_model() and returns a two element list. First element is a data.frame with estimate and se columns for treatment and control groups. The second element contains data.frame with estimate, se and coefficient (break levels) per treatment and column group*.