Several questions on design for pilot
Posted: Thu Jun 17, 2021 12:47 am
Beste Michiel,
After several years, I have found my way back to Ngene and I have a few questions that I hope you can respond to. For context: my colleagues and I will be conducting a WTP study on recreational values in a park. Every respondent will have a status quo with trails/viewpoints/biodiversity all set to current levels and price 0. An initial design will be piloted to get priors for a final Bayesian design.
I started with the following linear, not-very-informative Bayesian setup (which I evaluate as an rppanel model, but I left out the code):
I think this code is alright but working with it did give me a few general questions:
Q1: Is there a way to decide whether the much longer search time when using alt1*, alt2* is worth it over simply using alt1, alt2?
Q2: Is model averaging with a massive weight to compensate for very high C-error and S-estimates (due to, I assume, having almost-0 priors) still useful?
Q3: Is gauss(3) a universally acceptable setting? If I try to set gauss(x,x,..) manually, I tend to get errors that I did not set the right number of draws regardless of how many/few values I have between the brackets.
Q4: How do I set Ngene to account for estimating b4 as a random parameter with negative lognormal distribution? The model will simply estimate b4 but this (untransformed) value can be high and so lead to price dominating the utility functions for the final design.
Now, trails/views/biodiv will be modelled as dummy variables and I found this post http://choice-metrics.com/forum/viewtopic.php?f=2&t=386 and that code seems to work:
Q5: If I uncomment (and experiment with) any of the currently commented settings, Ngene immediately stops the search with the "Something went unexpectedly wrong." message. Are the default settings universally sufficient?
Q6: Can I leave out the reference level for linear and continuous variables in the non-status-quo alternatives? (I understand all alternatives must include all levels of dummy variables.)
Q7: To develop a design with price as a continuous variable, do I simply remove the price attribute, let this code run, and then follow the procedure in the manual? It seems to me that is not worth it in this case, as I think the qualitative descriptions of the improvements do not lend themselves to extrapolation and forecasting.
Many thanks in advance for your time and insight,
met vriendelijke groet,
Florian
After several years, I have found my way back to Ngene and I have a few questions that I hope you can respond to. For context: my colleagues and I will be conducting a WTP study on recreational values in a park. Every respondent will have a status quo with trails/viewpoints/biodiversity all set to current levels and price 0. An initial design will be piloted to get priors for a final Bayesian design.
I started with the following linear, not-very-informative Bayesian setup (which I evaluate as an rppanel model, but I left out the code):
- Code: Select all
Design
;alts(_mnl) = alt1, alt2, sQuo
;rows = 30
;block = 3
;eff = 25000000000 * _mnl(mnl, d, mean) + _mnl(mnl, wtp(wtp1), mean)
;wtp(_mnl) = wtp1(b1, b2, b3/b4)
;bdraws = gauss(3)
;rdraws = gauss(3)
;rep = 100
;model(_mnl):
U(sQuo) = b0[(n, -0.1, 0.01)] +
b1[(n, 0.001, 0.0001)] * trails_ref[0] +
b2[(n, 0.001, 0.0001)] * views_ref[0] +
b3[(n, 0.001, 0.0001)] * biodiv_ref[0] +
b4[(n, -0.00003, 0.000001)] * price_ref[0] /
U(alt1) = b1 * trails_piv[0, 1, 2] + ? 0 = current, 1 = improved, 2 = much improved
b2 * views_piv[0, 1, 2] +
b3 * biodiv_piv[0, 1, 2] +
b4 * price_piv[25, 50, 75, 100] /
U(alt2) = b1 * trails_piv[0, 1, 2] +
b2 * views_piv[0, 1, 2] +
b3 * biodiv_piv[0, 1, 2] +
b4 * price_piv[25, 50, 75, 100]
$
I think this code is alright but working with it did give me a few general questions:
Q1: Is there a way to decide whether the much longer search time when using alt1*, alt2* is worth it over simply using alt1, alt2?
Q2: Is model averaging with a massive weight to compensate for very high C-error and S-estimates (due to, I assume, having almost-0 priors) still useful?
Q3: Is gauss(3) a universally acceptable setting? If I try to set gauss(x,x,..) manually, I tend to get errors that I did not set the right number of draws regardless of how many/few values I have between the brackets.
Q4: How do I set Ngene to account for estimating b4 as a random parameter with negative lognormal distribution? The model will simply estimate b4 but this (untransformed) value can be high and so lead to price dominating the utility functions for the final design.
Now, trails/views/biodiv will be modelled as dummy variables and I found this post http://choice-metrics.com/forum/viewtopic.php?f=2&t=386 and that code seems to work:
- Code: Select all
Design
;alts(_mnl_dummy) = alt1, alt2, sQuo
;rows = 30
;block = 3;
eff = _mnl_dummy(mnl, d) ? + 25000000000 * _mnl(mnl, d, mean) + _mnl(mnl, wtp(wtp1), mean)
? ;wtp(_mnl) = wtp1(b1, b2, b3/b4)
?;bdraws = mlhs(150)
?;rdraws = mlhs(150)
;alg = mfederov(candidates = 1000)
;require:
alt1.price > 0,
alt2.price > 0,
sQuo.trails = 0 and sQuo.views = 0 and sQuo.biodiv = 0 and sQuo.price = 0
;model(_mnl_dummy):
U(alt1) = b1.dummy[(n, 0.001, 0.0005) | (n, 0.002, 0.001)] * trails[1, 2, 0] +
b2.dummy[(n, 0.001, 0.0005) | (n, 0.002, 0.001)] * views[1, 2, 0] +
b3.dummy[(n, 0.001, 0.0005) | (n, 0.002, 0.001)] * biodiv[1, 2, 0] +
b4[(n, -0.00003, 0.000001)] * price[0, 25, 50, 75, 100] /
U(alt2) = b1 * trails +
b2 * views +
b3 * biodiv +
b4 * price /
U(sQuo) = b0[(n, -0.1, 0.01)] +
b1 * trails +
b2 * views +
b3 * biodiv +
b4 * price
$
Q5: If I uncomment (and experiment with) any of the currently commented settings, Ngene immediately stops the search with the "Something went unexpectedly wrong." message. Are the default settings universally sufficient?
Q6: Can I leave out the reference level for linear and continuous variables in the non-status-quo alternatives? (I understand all alternatives must include all levels of dummy variables.)
Q7: To develop a design with price as a continuous variable, do I simply remove the price attribute, let this code run, and then follow the procedure in the manual? It seems to me that is not worth it in this case, as I think the qualitative descriptions of the improvements do not lend themselves to extrapolation and forecasting.
Many thanks in advance for your time and insight,
met vriendelijke groet,
Florian