Revision 30, 1.6 kB
(checked in by smidl, 17 years ago)
|
compiles and runs successfully, except KF_QR
|
-
Property svn:eol-style set to
native
|
Rev | Line | |
---|
[30] | 1 | \section{mgamma Class Reference} |
---|
| 2 | \label{classmgamma}\index{mgamma@{mgamma}} |
---|
| 3 | Gamma random walk. |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | {\tt \#include $<$libEF.h$>$} |
---|
| 7 | |
---|
| 8 | Collaboration diagram for mgamma:\nopagebreak |
---|
| 9 | \begin{figure}[H] |
---|
| 10 | \begin{center} |
---|
| 11 | \leavevmode |
---|
| 12 | \includegraphics[width=54pt]{classmgamma__coll__graph} |
---|
| 13 | \end{center} |
---|
| 14 | \end{figure} |
---|
| 15 | \subsection*{Public Member Functions} |
---|
| 16 | \begin{CompactItemize} |
---|
| 17 | \item |
---|
| 18 | {\bf mgamma} (const {\bf RV} \&rv, const {\bf RV} \&rvc)\label{classmgamma_af43e61b86900c0398d5c0ffc83b94e6} |
---|
| 19 | |
---|
| 20 | \begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item |
---|
| 21 | void \textbf{set\_\-parameters} (double k)\label{classmgamma_a9d646cf758a70126dde7c48790b6e94} |
---|
| 22 | |
---|
| 23 | \item |
---|
| 24 | vec {\bf samplecond} (vec \&cond, double \&lik)\label{classmgamma_9f40dc43885085fad8e3d6652b79e139} |
---|
| 25 | |
---|
| 26 | \begin{CompactList}\small\item\em Generate one sample of the posterior. \item\end{CompactList}\item |
---|
| 27 | mat {\bf samplecond} (vec \&cond, vec \&lik, int n)\label{classmgamma_e9d52749793f40aad85b70c6db4435ae} |
---|
| 28 | |
---|
| 29 | \begin{CompactList}\small\item\em Generate matrix of samples of the posterior. \item\end{CompactList}\item |
---|
| 30 | void \textbf{condition} (const vec \&val)\label{classmgamma_a61094c9f7a2d64ea77b130cbc031f97} |
---|
| 31 | |
---|
| 32 | \end{CompactItemize} |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | \subsection{Detailed Description} |
---|
| 36 | Gamma random walk. |
---|
| 37 | |
---|
| 38 | Mean value, \$\$, of this density is given by {\tt rvc} . Standard deviation of the random walk is proportional to one \$k\$-th the mean. This is achieved by setting \$=k\$ and \$=k/\$. |
---|
| 39 | |
---|
| 40 | The standard deviation of the walk is then: \$/(k)\$. |
---|
| 41 | |
---|
| 42 | The documentation for this class was generated from the following files:\begin{CompactItemize} |
---|
| 43 | \item |
---|
| 44 | work/mixpp/bdm/stat/{\bf libEF.h}\item |
---|
| 45 | work/mixpp/bdm/stat/libEF.cpp\end{CompactItemize} |
---|