BIE::GaussTestMultiD Class Reference

A "user-defined" likelihood function for testing. More...

#include <GaussTestMultiD.h>

Inheritance diagram for BIE::GaussTestMultiD:
Collaboration diagram for BIE::GaussTestMultiD:

List of all members.

Public Member Functions

 GaussTestMultiD ()
 Null constructor.
 GaussTestMultiD (int N0, int Levels)
 Constructor with number of points given by.
 GaussTestMultiD (int N0, int Levels, vector< double > *cen0, vector< double > *var0)
 Constructor with number of points given by.
 GaussTestMultiD (int N0, int Levels, vector< double > *wght, vector< double > *cen0, vector< double > *var0)
 Constructor with number of points given by.
void SetDim (int n)
 Set the model dimension (currently either 1 or 2).
void PrintData ()
 Print data to a file for the current level.
double LikeProb (std::vector< double > &z, SampleDistribution *sd, double norm, Tile *t, State *s, int indx)
 This is likelihood function.
string ParameterDescription (int i)
 Label parameters. Scheduled for removal.

Protected Member Functions

void makeSyntheticData ()
 Make the synthetic data.
double LocalLikelihood (State *s)
 This is likelihood function.

Friends

class boost::serialization::access


Detailed Description

A "user-defined" likelihood function for testing.

By default, the "data" is the combination of a single multidimensional Gaussian distribution in 10 dimensions, with center at 0.5 and variance of 0.03 in each dimension

The default model may be changed at construction.

The variance may be modeled or fixed (using the SetDim member).


Constructor & Destructor Documentation

BIE::GaussTestMultiD::GaussTestMultiD ( int  N0,
int  Levels 
)

Constructor with number of points given by.

Parameters:
N0 partition by
Levels. If
Levels is equal to smaller than 1, a single parition is used.

BIE::GaussTestMultiD::GaussTestMultiD ( int  N0,
int  Levels,
vector< double > *  cen0,
vector< double > *  var0 
)

Constructor with number of points given by.

Parameters:
N0 partition by
Levels. If
Levels is equal to smaller than 1, a single parition is used. Vectors
cen0,@param var0, and are the centers and variance values and the rank of these vectors (which must agree) implicitly specifies the dimension.

BIE::GaussTestMultiD::GaussTestMultiD ( int  N0,
int  Levels,
vector< double > *  wght,
vector< double > *  cen0,
vector< double > *  var0 
)

Constructor with number of points given by.

Parameters:
N0 partition by
Levels. If
Levels is equal to smaller than 1, a single parition is used. Vectors
cen0,@param var0, and are the centers and variance values and the rank of these vectors (which must agree) implicitly specifies the dimension.
wght is a multicomponent weight vector. If dim(wght) > 1, the vectors are assumed to be appended serially.


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen