Ashley1014 / qualtrics

The Javascript code to automate user selection behavior for a research on Qualtrics.
0 stars 0 forks source link

To Do by Sept 23 #22

Open aunarang opened 1 year ago

aunarang commented 1 year ago

@Ashley1014

For Anjali (will finish today, Sept 20)

For Ashley

Sept 20, 2022 Update: I have made it so that there is still a main MPL and then a FMPL, but then after that a "mpl_full" where we show respondents what their decisions imply for the full price list -- this is kind of like R3 in terms of the auto-populated but respondents will not be allowed to go back. We need to disable choice selection for mpl_full -- it is just for display. Then for the lottery we will randomly select one decision from mpl_full in all the rounds.

I also have set it up so I control the randomization of the headers using embedded data, so once you create that you can just copy paste the existing header.

1. Prices in MPLs See _PricesSept21 in task spreadsheet

2. Headers

No longer need to see if we can make sure rows do not resize to be larger - see other Issue and comments on it (Adding Headers to Matrix)

3. Comment Code

No longer needed: 3. Power Strip Lottery Now just randomly select one decision from all decisions across rounds. finish programming power strip lottery for conditions with three rounds finish programming power strip lottery for conditions with one round (Deliberation Only)

To Discuss Later

Resources https://rpubs.com/john-henry/js_4_ss

aunarang commented 1 year ago

@Ashley1014

I have just updated this issue and my survey with a quite few changes. Thanks for your patience with them. Please let me know if you have any questions, and post your timetable here.

Ashley1014 commented 1 year ago
@aunarang Check out this timetable: Date Task
9.26 11:59 PM Create a timetable and start working on headers
9.27 11:59 PM Cowork with Anjali and finish headers part, start working on prices
9.30 11:59 PM Finish Prices part
10.2 11:59 PM Finish Lottery part
aunarang commented 1 year ago

@Ashley1014

Can you please check this again after working on Prices and mark off what you are done?

Thank you!

aunarang commented 1 year ago

@Ashley1014

Can you put a console log for pads_wtp?

Also, pads_mpl_full when there is a switchpoint does not seem to be pre-populated correctly.

Ashley1014 commented 1 year ago

@Ashley1014

Can you put a console log for pads_wtp?

Also, pads_mpl_full when there is a switchpoint does not seem to be pre-populated correctly.

I think there was already a console log for pads_wtp, and I just fixed the pre-populating issue.

aunarang commented 1 year ago

@Ashley1014

is it possible to clear the selections for fmpl if the respondent changes their answers for mpl? if they were to go back and forth? This would apply to all fmpls - pads, three rounds, cost, emissions

aunarang commented 1 year ago

@Ashley1014

I think I fixed the row resizing problem!! I think it had to do with having multiple lines of text as placeholders for the choice label, although Qualtrics carried those over from the headers.

aunarang commented 1 year ago

@Ashley1014

I think you have not worked on the new prices for cost and emissions. We can consider one condition done if everything in that condition is done.

aunarang commented 1 year ago

@Ashley1014

Conditions needed for now:

  1. Both Info
  2. Cost Info
  3. Emissions Info
  4. Both x Discount
  5. No Info x Discount
  6. No Info

Don't need Deliberation Only

aunarang commented 1 year ago

@Ashley1014

To do for 10/19 in order of priority:

Not as much of a priority but if there is time tomorrow:

aunarang commented 1 year ago

@Ashley1014

Clear respondent selection resources:

aunarang commented 1 year ago

@Ashley1014

Please check if you have moved all the console logs and code with embedded data variables from FMPL

It does not seem like R2 and R3 is working, at least when I choose all A or B

aunarang commented 1 year ago

@Ashley1014

I think you coded lower_bound_main_decno_r1 incorrectly for all A and all B. Right now it seems like all A is 73 and all B is 71.

We should use the new def of a switchpoint for this

I need the decision number of the switchpoint, and then I can calculate wtp in survey flow. Your switch row variables are a little confusing to me. Not clear what existing variables to use (If I know switch row in main MPL and switch row in main FMPL I can also calculate WTP).

What would also work is the row number in the MPL and then I can calculate the decision number.

aunarang commented 1 year ago

@Ashley1014

To Do for 10/19

If possible today or tomorrow:

aunarang commented 1 year ago

Note to self:

switchpoint 1 = all effective is selected 2 = all traditional is selected 3 = means there exists a switchpoint

aunarang commented 1 year ago

@Ashley1014

To Do for 10/20

Notes

For MPL questions (pads, cost, emissions, 3R), please check wtp variables and stored variables related to decision numbers

  1. switch in MPL and switch in FMPL
  2. switch and all A
  3. switch and all B
  4. all A
  5. all B

Thanks!

FOR ONE OF THE FOUR NON-DISCOUNT TREATMENTS

To check: For R2, please check wtp variables AND stored variables related to decision numbers for both display orders

To check: For R3, please check wtp variables AND stored variables related to decision numbers for both display orders

To check: For cost, please check wtp variables AND stored variables related to decision numbers for both display orders

To check: For emissions, please check wtp variables AND stored variables related to decision numbers for both display orders

To check: For pads, please check wtp variables AND stored variables related to decision numbers for both display orders

To Discuss Later

  1. Can we set lower and upper bound equal to each other
aunarang commented 1 year ago

@Ashley1014

To Do for 10/20/22

FOR ONE OR BOTH OF THE TWO DISCOUNT TREATMENTS: No Info x Discount, Both x Discount

To check: For R2, please check wtp variables AND stored variables related to decision numbers for both display orders

To check: For R3, please check wtp variables AND stored variables related to decision numbers for both display orders

To check: For cost, please check wtp variables AND stored variables related to decision numbers for both display orders

To check: For emissions, please check wtp variables AND stored variables related to decision numbers for both display orders

To check: For pads, please check wtp variables AND stored variables related to decision numbers for both display orders

aunarang commented 1 year ago

@Ashley1014

To Do for 10/24

I need two copies of these code -- in two questions. For cost and emissions mpl, please put it cost and emissions wtp

I need two copies of these code -- in two questions. For cost and emissions mpl, please put it cost and emissions wtp

Thank you!

aunarang commented 1 year ago

@Ashley1014

To Do for Weekend of the 29th

I think we should work on these things for _nokeep and _no_revise:_

Adapt the above to the _yesquestions in R3

For pads fmpl, and all FMPL qs in R1 and R2