edsandorf / spdesign

Contemporary software commonly used to design stated preference experiments are expensive and the code is closed source. spdesignR is a free software package with an easy to use interface to make flexible stated preference experimental designs using state-of-the-art methods.
GNU General Public License v3.0
0 stars 1 forks source link

Create distributions inside `utility_parser` #12

Open edsandorf opened 3 years ago

edsandorf commented 3 years ago

When parsing the utility functions, the function must make calls to create draws and parameter/prior distributions to pass out alongside the other parameters such that they can be used directly.

This would involve calls to make_random_draws and exctract_distributions. We would need to add a check for whether the distribution name includes a lower case p to separate priors from draws. There must be an indicator passed out so that we can separate out the levels of integration between priors and parameters (MIXL) model.