Plots.histogram!Method
histogram!([cur_plot], d::SSM2D;  kwargs...)

Adds histogram of a multi-alternative sequential sampling model to an existing plot

Arguments

  • cur_plot: optional current plot
  • d::SSM2D: a model object for a mult-alternative sequential sampling model

Keywords

  • norm=true: histogram scaled according to density if true
  • m_args=(): optional positional arguments passed to rand
  • n_sim=2000: the number of data points used in the histogram
  • kwargs...: optional keyword arguments for configuring plot options
source
Plots.histogram!Method
histogram!([cur_plot], d::ContinuousMultivariateSSM;  kwargs...)

Adds histogram of a multi-alternative sequential sampling model to an existing plot

Arguments

  • cur_plot: optional current plot
  • d::SSM2D: a model object for a mult-alternative sequential sampling model

Keywords

  • norm=true: histogram scaled according to density if true
  • m_args=(): optional positional arguments passed to rand
  • n_sim=2000: the number of data points used in the histogram
  • kwargs...: optional keyword arguments for configuring plot options
source
Plots.histogram!Method
histogram([cur_plot], d::SSM1D; norm=true, n_sim=2000, kwargs...)

Adds histogram of a single alternative sequential sampling model to an existing plot

Arguments

  • cur_plot: optional current plot
  • d::SSM1D: a model object for a single alternative sequential sampling model

Keywords

  • norm=true: histogram scaled according to density if true
  • m_args=(): optional positional arguments passed to rand
  • n_sim=2000: the number of data points used in the histogram
  • kwargs...: optional keyword arguments for configuring plot options
source
Plots.histogramMethod
histogram(d::SSM2D;  kwargs...)

Plots the histogram of a multi-alternative sequential sampling model.

Arguments

  • d::SSM2D: a model object for a mult-alternative sequential sampling model

Keywords

  • norm=true: histogram scaled according to density if true
  • m_args=(): optional positional arguments passed to rand
  • n_sim=2000: the number of data points used in the histogram
  • kwargs...: optional keyword arguments for configuring plot options
source
Plots.histogramMethod
histogram(d::SSM1D; norm=true, n_sim=2000, kwargs...)

Plots the histogram of a single alternative sequential sampling model.

Arguments

  • d::SSM1D: a model object for a single alternative sequential sampling model

Keywords

  • norm=true: histogram scaled according to density if true
  • m_args=(): optional positional arguments passed to rand
  • n_sim=2000: the number of data points used in the histogram
  • kwargs...: optional keyword arguments for configuring plot options
source
RecipesBase.plot!Method
plot!([cur_plot], d::SSM2D; t_range=default_range(d), kwargs...)

Adds the probability density of a mult-alternative sequential sampling model to an existing plot

Arguments

  • cur_plot: optional current plot
  • d::SSM2D: a model object for a mult-alternative sequential sampling model

Keywords

  • t_range: the range of time points over which the probability density is plotted
  • m_args=(): optional positional arguments passed to rand if applicable
  • kwargs...: optional keyword arguments for configuring plot options
source
RecipesBase.plot!Method
plot!([cur_plot], d::ContinuousMultivariateSSM; t_range=default_range(d), kwargs...)

Adds the marginal probability density of a multivariate continuous sequential sampling model to an existing plot

Arguments

  • cur_plot: optional current plot
  • d::ContinuousMultivariateSSM: a multivariate continuous sequential sampling model

Keywords

  • t_range: the range of time points over which the probability density is plotted
  • m_args=(): optional positional arguments passed to rand if applicable
  • kwargs...: optional keyword arguments for configuring plot options
source
RecipesBase.plot!Method
plot!([cur_plot], d::SSM1D; t_range=default_range(d), kwargs...)

Adds the probability density of a single alternative sequential sampling model to an existing plot

Arguments

  • cur_plot: optional current plot
  • d::SSM1D: a model object for a single alternative sequential sampling model

Keywords

  • t_range: the range of time points over which the probability density is plotted
  • m_args=(): optional positional arguments passed to rand if applicable
  • kwargs...: optional keyword arguments for configuring plot options
source
RecipesBase.plotMethod
plot(d::SSM2D; t_range=default_range(d), kwargs...)

Plots the probability density of a multi-alternative sequential sampling model.

Arguments

  • d::SSM2D: a model object for a mult-alternative sequential sampling model

Keywords

  • t_range: the range of time points over which the probability density is plotted
  • m_args=(): optional positional arguments passed to rand if applicable
  • kwargs...: optional keyword arguments for configuring plot options
source
RecipesBase.plotMethod
plot(d::ContinuousMultivariateSSM; t_range=default_range(d), kwargs...)

Plots the marginal probability density of each N dimensional continuous sequential samping model.

Arguments

  • d::ContinuousMultivariateSSM: a model object for a N dimensional continuous sequential samping model.

Keywords

  • t_range: the range of time points over which the probability density is plotted
  • m_args=(): optional positional arguments passed to rand if applicable
  • kwargs...: optional keyword arguments for configuring plot options
source
RecipesBase.plotMethod
plot(d::SSM1D; t_range=default_range(d), kwargs...)

Plots the probability density of a single alternative sequential sampling model.

Arguments

  • d::SSM1D: a model object for a single alternative sequential sampling model

Keywords

  • t_range: the range of time points over which the probability density is plotted
  • m_args=(): optional positional arguments passed to rand if applicable
  • kwargs...: optional keyword arguments for configuring plot options
source
SSMPlots.plot_modelMethod
plot_model(model; 
    add_density=false, density_kwargs=(), n_sim=1, kwargs...)

Plot the evidence accumulation process of a generic SSM.

Arguments

  • model: a generic object representing an SSM

Keywords

  • add_density=false: add density plot above threshold line if true
  • density_kwargs=(): pass optional keyword arguments to density plot
  • labels = default_labels(model): a vector of parameter label options
  • density_scale = compute_threshold(model): scale the maximum height of the density
  • n_sim=1: the number of simulated decision processes per option
  • kwargs...: optional keyword arguments for configuring plot options
source
SSMPlots.plot_modelMethod
plot_model(model; 
    add_density=false, density_kwargs=(), n_sim=1, kwargs...)

Plot the evidence accumulation process of a continous multivariate sequential sampling model.

Arguments

  • model::ContinuousMultivariateSSM: a continous multivariate sequential sampling model

Keywords

  • add_density=false: add density plot above threshold line if true
  • density_kwargs=(): pass optional keyword arguments to density plot
  • labels = default_labels(model): a vector of parameter label options
  • n_sim=1: the number of simulated decision processes per option
  • kwargs...: optional keyword arguments for configuring plot options
source