CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

Prior on theta but constraints on H !
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
jayanti prasad



Joined: 21 Oct 2010
Posts: 9
Affiliation: Inter-University Centre for Astronomy and Astrophysics (IUCAA)

PostPosted: December 30 2011  Reply with quote

Hi,

COSMOMC takes theta as a fitting parameter and gives prior for that. I have the following questions:

(1) theta is a complicated function of H0,omge_b,omega_gamma,omega_lambda, omega_m.. and adec (Verde et al. 2003). My question is how to set priors for theta ?
Basically how to relate constraints on theta to that on H0 or h.

(2) Now for example we have found the best fit value for theta using COSMOMC or some other method, how to get best fit for h from that ?

(3) CAMB does not take theta (it is not there in CAMB's parameter file) so how we create H (h in actual practice) from theta ?

(4) what are the modules/function in cosmomc which do theta <-> h conversion ?

Please help me ..
Back to top
View user's profile   Visit poster's website
jayanti prasad



Joined: 21 Oct 2010
Posts: 9
Affiliation: Inter-University Centre for Astronomy and Astrophysics (IUCAA)

PostPosted: January 12 2012  Reply with quote

Finally I have written two programs (basically segments of cosmomc with some changes ) :
1. H02theta:
theta=H02theta(omegab,omegac,omegav,H0)
and
2. theta2H0:
H0=theta2H0(omegab,omegac,omegav,H0,theta)
note that it needs H0 also so I am not sure what H0 I should use.
The reason for this is that theta depends on omegab, omegac etc., and what we have are omegabh2, omegach2 etc., (the fitting parameters).

I have another problem also : for H0 [40,100], I am having theta from [.9,1.1] roughly c., so that is the range I can have. However, in cosmomc default parameter file (as well as Verde's paper (WMAP I) it is [0.5,10], which is too big).

> I also want to know how the range for parameters is set in cosmomc. I have observed that the chains never visit any of the extreme values.
For example :
omegabh2 never goes outside of [.0205,.0245] however, priors on it are [.005, 0.1]
the same is true is for other parameters also.

my question is :
> why the chains never visit any points close to the end points ?
> are not chains suppose to start from any point in the search space ?

It seems chains already know in advance the best fit values so they start walking from points which are very close to the best fit values. I want to know how that is possible.

regards
jayanti
Back to top
View user's profile   Visit poster's website
Antony Lewis



Joined: 23 Sep 2004
Posts: 673
Affiliation: University of Sussex

PostPosted: January 12 2012  Reply with quote

Chain starting point and dispersions are set in the params.ini file. Saves time to start somewhere roughly in the right region.

Output chains (and .margestats etc) include a column with H0 in, which you can use for CAMB.

The transformation between flat prior on theta and H is indeed not obvious, so mostly people just define it to be flat on theta (flat on H would be almost as abitrary). It makes very little difference except for poorly constrained parameters.

The best-fit is independent of the space on which you put flat priors (it's just hte maximum likelihood). There's no automated way to adjust the posterior means etc between different parameter spaces, though you can use AdjustPriors in GetDist to multiply by the appropriate Jacobian if you can work it out.
Back to top
View user's profile [ Hidden ] Visit poster's website
jayanti prasad



Joined: 21 Oct 2010
Posts: 9
Affiliation: Inter-University Centre for Astronomy and Astrophysics (IUCAA)

PostPosted: January 12 2012  Reply with quote

Thank you sir ..that was quite useful.

Regards
jayanti
Back to top
View user's profile   Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.