Calculation of inbreeding coefficient

Käynnissä Julkaistu Aug 13, 2010 Maksettu toimituksen yhteydessä
Käynnissä Maksettu toimituksen yhteydessä

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

Projektin tunnus: #705258

Tietoa projektista

12 ehdotusta Etäprojekti Aktiivinen Aug 25, 2010

Myönnetty käyttäjälle:

phpSQLexpert

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

$100 USD 3 päivässä
(18 Arvostelua)
4.6

12 freelanceria on tarjonnut keskimäärin $93 tähän työhön

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 1 päivässä
(2 arvostelua)
3.5
jenwork

Sir,Please view PMB

$80 USD 5 päivässä
(3 arvostelua)
2.6
pulsar996

Hi, this looks easy enough. Paul

$100 USD 2 päivässä
(1 arvostelu)
0.8
abdennacer

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

$55 USD 3 päivässä
(0 arvostelua)
0.0
shrinuiitkgp

serious bidder. algorithm implementation time 2-3 hours

$30 USD 1 päivässä
(0 arvostelua)
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 Lisää

$100 USD 10 päivässä
(0 arvostelua)
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 Lisää

$250 USD 10 päivässä
(0 arvostelua)
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. Lisää

$150 USD 7 päivässä
(0 arvostelua)
0.0
cjbush

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

$50 USD 3 päivässä
(0 arvostelua)
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 Lisää

$100 USD 3 päivässä
(0 arvostelua)
0.0