Calculation of inbreeding coefficient

In Progress Posted Aug 13, 2010 Paid on delivery
In Progress Paid on delivery

I have a database (PHP+mySQL) which is pretty straight forward: first field is ID, second is the name of dog(Name), third is the ID of his father (SireID) 4th is the ID of his mother (DameID), other fields are not relevant. What I now need is an algorithm that will calculate the COI - coefficient of inbreeding. There are two methods to calculate it: Wright's equation and Hardiman's method that are both explained here: [url removed, login to view] but there are of course many other pages that explain this maybe even better. I would prefer implementing Wright's method, so the final solution look something like this:

~ ~ ~

Inbreeding Coefficient: 8.094%

Top contributing ascendants :

Partial inbreeding due to Prinz v. Norden Stamm 1.869%

Partial inbreeding due to Graaf Quirinus v. Neerlands Stam 1.343%

Partial inbreeding due to Tequila Mali del Citone 0.703%

Partial inbreeding due to Hertog Alpha v. Le Dobry 0.616%

Partial inbreeding due to Gamon di Campovalano 0.561%

Partial inbreeding due to Astor del Citone 0.419%

Partial inbreeding due to Elisir di Campovalano 0.3%

Partial inbreeding due to Ebo v.d. Groote Maat 0.293%

Partial inbreeding due to Kastra v. Norden Stamm 0.249%

Partial inbreeding due to Guy's Hilo v. Norden Stamm 0.191%

Partial inbreeding due to Bryan v. Forell 0.175%

Partial inbreeding due to Nimrod Hilo v. Franckenhorst 0.118%

Most inbred ascendants :

Elisir di Campovalano 25%

Elite di Campovalano 25%

Dea Dolores v. Franckenhorst 20.45%

Dexter v. Franckenhorst 20.45%

Hertog Alpha v. Le Dobry 14.06%

Statistics for Sire and Dam:

Coefficient of Relationship between Sire and Dam 14.8426%

Coefficient of Inbreeding of Sire 3.9334%

Coefficient of Inbreeding of Dam 14.4547%

~ ~ ~

Thank you for attention!

MySQL PHP

Project ID: #705258

About the project

12 proposals Remote project Active Aug 25, 2010

Awarded to:

phpSQLexpert

hi, please check Inbox for more details. Serious bidder. Cheers

$100 USD in 3 days
(18 Reviews)
4.6

12 freelancers are bidding on average $93 for this job

PHint

We at PHI are a team of experienced programmers who use PHP/MySQL on a daily basis, this project is no problem for us.

$40 USD in 1 day
(2 Reviews)
3.5
jenwork

Sir,Please view PMB

$80 USD in 5 days
(3 Reviews)
2.6
pulsar996

Hi, this looks easy enough. Paul

$100 USD in 2 days
(1 Review)
0.8
abdennacer

it's can be done in efficient and secured way.

$55 USD in 3 days
(0 Reviews)
0.0
shrinuiitkgp

serious bidder. algorithm implementation time 2-3 hours

$30 USD in 1 day
(0 Reviews)
0.0
professionalcod

Hi, We are the group of people working from both India and US with knowledge in PHP, C#, ASP.NET, Data processing, Sql Server, MSSql, DB2, Joomla, Drupal did several projects as the same and we are really interested in More

$100 USD in 10 days
(0 Reviews)
0.0
priyalogics

Hi, We have expert Web Designers and Developers to work for your requirements. Expertise in various technologies such as PHP, MySQL, ASP, ASP.Net, VB.Net, SQL Server, Photoshop, Flash, CSS, AJAX, XML, HTML, Content More

$250 USD in 10 days
(0 Reviews)
0.0
slavinva

I have a statistics background and have also worked in the field of dog breeding for 20+ years, so I fully understand what you are trying to achieve here. I believe I can help you and deliver what you are requesting. More

$150 USD in 7 days
(0 Reviews)
0.0
cjbush

Senior Computer Science student at Cedarville University specializing in mobile and web development.

$50 USD in 3 days
(0 Reviews)
0.0
esharvey

Hello. I am a PhD statistician with >10 years of consulting experience. I worked in statistical genetics for several years, so a program of this type would be quite straightforward for me. I look forward to learning m More

$100 USD in 3 days
(0 Reviews)
0.0