Bayesian Stochastic Betas for Stocks

The attached paper, “Bayesian Analysis of Stochastic Betas??, provides a method for estimating the beta of a stock to the market. This method, SBETA, uses a Gibbs Sampler, and the Appendix of the paper provides the required conditional posterior distributions to employ with the Gibbs Sampler. The model being estimated is described on pages 3-5. The estimation methodology is described on pages 6-8 and in the Appendix. We want code in C++ or C# (preferred) that can read in a time series of stock returns and market excess returns, (i.e., market return minus risk-free rate) and output estimates of the four parameter values of the SBETA, {a, d, sb, s}, along with the numerical standard error of each parameter estimate using Geweke’s method (see page 15). Sample stock and market data will be provided.

## Deliverables

Complete and fully-functional code in C# or C++ that can read our sample data and output the four SBETA parameters and associated standard error. Code must be fully commented in clear English. We also require that the simulation study outlined on page 9 of the paper be implemented as a test and confirmation of the implementation. I.e., it must create simulation series like those described in the paper and be able to recover the simulation parameters using the same methods that it applies to our sample data. An example of what we expect is given in Table 1 of the paper. Performance must be on the order of that described in the paper at the bottom of page 11.

* * *This broadcast message was sent to all bidders on Friday Apr 15, 2005 10:34:27 AM:

As a point of clarification: This project does not require a GUI or anything other than file I/O as an interface. We will provide sample data as text CSV files (and we can even provide simple C#/C++ functions to parse CSV fields). Likewise, the test function can output to a text file.

What we will be focusing on is the code itself, where we expect the comments to clearly show that it implements the substance of this paper and produces the same results.

## Platform

We will compile and test the code on Windows XP with Microsoft Visual C++ or C#.

Skills: C Programming, C# Programming, Engineering, MySQL, PHP, Software Architecture, Software Testing

See more: what is an interface in programming, what is a method in programming, to study php programming, study programming, stochastic programming, sbeta, programming methodology, parse programming, numerical programming, free 3 d model, conditional programming, beta programming, 3 d model free, what is microsoft visual, series programming in c, i want to study english, Risk model, risk analysis, numerical analysis, microsoft data analysis

About the Employer:
( 17 reviews ) Berwyn, United States

Project ID: #3662406

Awarded to:


See private message.

$1181.5 USD in 27 days
(26 Reviews)

8 freelancers are bidding on average $1160 for this job


See private message.

$1700 USD in 27 days
(46 Reviews)

See private message.

$1513 USD in 27 days
(67 Reviews)

See private message.

$1275 USD in 27 days
(47 Reviews)

See private message.

$425 USD in 27 days
(43 Reviews)

See private message.

$1360 USD in 27 days
(8 Reviews)

See private message.

$977.5 USD in 27 days
(4 Reviews)

See private message.

$850 USD in 27 days
(3 Reviews)