Prev Next

@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\W}[1]{ \; #1 \; }@)@This is dismod_at-20221105 documentation: Here is a link to its current documentation .
The Density Table

Discussion
density_id
density_name
     uniform
     gaussian
     cen_gaussian
     log_gaussian
     cen_log_gaussian
     laplace
     cen_laplace
     log_laplace
     cen_log_laplace
     students
     log_students
Notation
     Linear
     Censored
     Log Scaled
     Nonsmooth
Example

Discussion
The density table is used to identify densities. It has the following columns:

density_id
This column has type integer and is the primary key for this table. Its initial value is zero, and it increments by one for each row.

density_name
This column has type text. This column is unique; i.e., each name can only appear ones in this table. All of the density_id values that appear in the prior and data tables must appear in the density table. Below is a list of the possible density names with a link to the corresponding meaning:

uniform
Uniform

gaussian
Gaussian

cen_gaussian
Censored Gaussian

log_gaussian
Log-Gaussian

cen_log_gaussian
Censored Log-Gaussian

laplace
Laplace

cen_laplace
Censored Laplace

log_laplace
Log-Laplace

cen_log_laplace
Censored Log-Laplace

students
Student's-t

log_students
Log-Student's-t

Notation

Linear
We refer to the following densities as linear: gaussian, cen_gaussian, laplace, cen_laplace, students.

Censored
We refer to the following densities as censored: cen_gaussian, cen_log_gaussian, cen_laplace, cen_log_laplace.

Log Scaled
We refer to the following densities as log scaled: log_gaussian, cen_log_laplace, log_laplace, log_students.

Nonsmooth
We refer to the following densities as nonsmooth: laplace, cen_laplace, log_laplace.

Example
The file density_table.py contains an example density table.
Input File: omh/table/density_table.omh