StarVine
starvine.uvar.uvmodels.uv_beta.UVBeta Class Reference

Custom 2 parameter beta distribution. More...

Inheritance diagram for starvine.uvar.uvmodels.uv_beta.UVBeta:
starvine.uvar.uvmodels.uv_base.UVmodel

Public Member Functions

def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from starvine.uvar.uvmodels.uv_base.UVmodel
def __init__ (self, paramsString, momtype, bounds, args, kwargs)
 
def setupGMM (self, data, w=1.0, nMoM=None)
 General Method of Moments setup. More...
 
def fitKDE (self, data, args)
 Fit gaussian kernel density fn to data.
 
def setLogPrior (self, logPriorFn)
 Set log of prior distribution

\[ ln(P(\theta)) \]

. More...

 
def setupMCMC (self, nwalkers, params, data, wgts=None, args)
 Initilize the MCMC sampler. More...
 
def fitMCMC (self, iters, pos=None)
 Execute MCMC model parameter fitting. More...
 
def fitMLE (self, data, params0, weights=None, args, kwargs)
 Generic maximum (log)likelyhood estimate of paramers. More...
 

Public Attributes

 defaultParams
 
- Public Attributes inherited from starvine.uvar.uvmodels.uv_base.UVmodel
 nParams
 
 nMomentConditions
 
 internalGMM
 
 kde
 
 logPriorFn
 
 walker_pos
 
 nwalkers
 
 sampler
 

Private Member Functions

def _pdf (self, x, args)
 Beta PDF.
 
def _pCheck (self, params)
 

Detailed Description

Custom 2 parameter beta distribution.

Note: Included example.

Member Function Documentation

§ _pCheck()

def starvine.uvar.uvmodels.uv_beta.UVBeta._pCheck (   self,
  params 
)
private
@brief Parameter bounds check

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