Learn R Programming

RCASPAR (version 1.18.0)

pltprior: A function to visualize the shape of the prior on the weights with the chosen q and s parameters.

Description

This function helps visualize the effect of the parameters q and s on the prior distribution used on the weights.

Usage

pltprior(q, s)

Arguments

q
One of the two parameters used to determine the prior on the weights.
s
The second of two parameters used to determine the prior on the weights.

Value

  • A 3D plot of the value of the prior taking into consideration only two weights

Details

The prior assumed on the weights in the objective function takes on the following formulation: $$[L_q(\beta; q, s)= \frac{\frac{{q^{(q-1)}} {q}} {2s\Gamma(\frac{{1}{q}})}} exp(\frac{{-1}{qs^q}} |\emph{weights}|^q)$$

References

Mazur J., et al. Reconstructing nonlinear dynamic models of gene regulation using stochastic sampling. BMC Bioinformatics 2009;10;448

See Also

pltgamma

Examples

Run this code
pltprior(q=1,s=1)

Run the code above in your browser using DataLab