3 Pages

PA2Appendix

Course: CS 228, Winter 2011
School: Stanford
Rating:
 
 
 
 
 

Word Count: 1011

Document Preview

Programming CS228 Assignment #2 Stanford CS 228, Winter 2011-2012 1 Programming Assignment 2: Appendix 1 Overview of Genetics In humans, the DNA is arranged in twenty-three pairs of chromosomes. A person inherits one chromosome in each pair from his/her mother and one from his/her father (there are rare exceptions to this, but we will assume that this is true for the purposes of this assignment). Twenty-two of...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> Stanford >> CS 228

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Programming CS228 Assignment #2 Stanford CS 228, Winter 2011-2012 1 Programming Assignment 2: Appendix 1 Overview of Genetics In humans, the DNA is arranged in twenty-three pairs of chromosomes. A person inherits one chromosome in each pair from his/her mother and one from his/her father (there are rare exceptions to this, but we will assume that this is true for the purposes of this assignment). Twenty-two of the pairs of the chromosomes consist of autosomes. The genes on these autosomes are the same across males and females. chromosome. The nal pair consists of the sex chromosomes. Females have two X sex chromosomes, and males have an X sex chromosome and a Y sex Thus, every mother passes a copy of autosomes 1-22 and an X chromosome to each of her children. Every father passes on a copy of autosomes 1-22 to all of his children, a copy of the X chromosome to his daughters, and a copy of the Y chromosome to his sons. As a result, each person has two copies of every autosomal gene one from his/her mother and one from his/her father. Every female also has a copy of each gene on the X chromosome from each parent; every male has a copy of each gene on the X chromosome from his mother and a copy of each gene on the Y chromosome from his father. Note that, for the purposes of this assignment, we have greatly simplied many aspects of genetics. Therefore, many of the descriptions here and in the assignment are only rough approximations of how genetic inheritance actually works. 2 Dominant and Recessive Alleles Versions of a gene are called There can be multiple versions of each gene. alleles. In simple Mendelian genetics, a trait is controlled by one gene with two alleles. For example, there is (as far as we know today) a single gene for face freckles. Say this gene has two alleles, F and f, where F makes someone have face freckles and f makes someone not have face freckles. A person's genotype is the combination of alleles that person has, and a person's phenotype is the physical expression of those alleles. For example, if a person's genotype is FF, meaning that he/she inherited a copy of a gene that is the F allele from each parent, then the person's phenotype is face freckles. If a person's genotype is , then the person's phenotype is no face freckles. A person has where n is the number of alleles, because there are pairs of alleles with no repeats and n n 2 combinations of pairs of alleles in which n 2 + n genotypes, unique combinations of both alleles are the same. A person with genotype FF or is called homozygous for the gene for face freckles, meaning that he/she has two copies of the same allele. CS228 Programming Assignment #2 from another, making the person's genotype Ff ? 2 What happens if a person inherits an F allele from one parent and an f allele In this simple example, we will assume that alleles can be either dominant or recessive. A dominant allele is always expressed, a and recessive allele is expressed only when the dominant allele is not present. We will assume that F is dominant, and f is recessive. Thus, if a person's genotype is Ff, the F allele will be expressed, so the person will have face freckles. A person with genotype Ff is called heterozygous for the gene for face freckles, meaning that he/she has one copy of each allele. 3 Non-Mendelian Inheritance In addition, inheritance of some traits is not Mendelian. Consider the trait of polydactyly, which is the trait of having an additional nger on one or both hands or an additional toe on one or both feet. (Note that the follwing description is an over-simplication of how the inheritance of polydactyly actually works.) Say there are two alleles for this gene, P and p, where P is dominant. Say that allele P does not cause someone to have an extra nger but is just a risk factor, while allele p might not prevent someone from having an extra nger but just make the person less likely to have an extra nger. As a result, people who are PP or Pp might have an extra nger with probability 0.8, and people who are pp might have an extra nger with probability 0.1. 4 Allele Frequncies For most genes, some alleles occur more frequently than others. This can happen for many reasons. One reason is that one phenotype might have some kind of evolutionary advantage. 5 Sex-Linked Traits A famous example of an X-linked trait A female Some genes are found on the X chromosome. Traits controlled by genes on the X chromosome are called X-linked. is color-blindness. The allele for color-blindess, call it b, is recessive, and its corresponding allele for non-color-blindness, call it B, is dominant. will therefore not be color-blind unless she has two b alleles. A male, however, will be color-blind with only one b allele because he has only one X-chromosome, so he cannot have a corresponding B allele. There are also a few traits that are linked to the Y chromosome, which are called Y-linked; women cannot have these traits, and men will have the phenotype for these traits that corresponds to the one allele that he inherited from his father. CS228 Programming Assignment #2 6 Multi-Gene Traits 3 Many traits are controlled by multiple regions of the genome. tiple genes. For example, there is so much variation in hair color because hair color is controlled by mulFor the purposes of this assignment, we will consider only traits controlled by genes that are unlinked, meaning that they are found on dierent chromosomes or that they are found far enough from each other on the same chromosome that they can be considered independent when computing the probability that their alleles will be passed on to the next generation. There are many other complex forms of inheritance, such as mitochondrial inheritance, co-dominance, and traits controlled by linked genes, but we will not consider these during this exercise.
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Abu Dhabi University - ECON - 121
FIN3102_C2(TotalStudents:56)NameMatricNo. EmailNameMatricNo. EmailANGZHIXINELAINEU081710L elaine.ang@nus.edu.sg1ANGWEEKIATU098458B u0908458@nus.edu.sg5FAITHCHIAENCIU081394J faithchia@nus.edu.sg1EUNICEKHOOSIENINGU081450B u0801450@nus.edu.sg
Stanford - CS - 228
CS228 Programming Assignment #31Stanford CS 228, Winter 2011-2012 Programming Assignment #3: Markov Networks for OCRThis assignment is due at 12 noon on January 30.11.1OverviewIntroductionIn the last assignment, you used Bayesian networks to model
Abu Dhabi University - ECON - 121
Case AssignmentFIN 3102, Semester 1, 2011-2012Dr. Wenlan QianThere are four cases in total, with the following order:Case #1: Warren Buffett, 2005Case #2: Dimensional Fund Advisors, 2002Case #3: Worldcom Inc: Corporate Bond IssuanceCase#4: Rosetree
Stanford - CS - 228
CS228 Problem Set #11CS 228, Winter 2011-2012 Problem Set #1This assignment is due at 12 noon on January 23. Submissions should be placed in the filing cabinet labeled "CS228 Homework Submission Box" located in the lobby outside Gates 187" A Hidden Mar
Stanford - CS - 228
CS228 Problem Set #21CS 228, Winter 2011-2012 Problem Set #2This assignment is due at 12 noon on Feburary 6. Submissions should be placed in the filing cabinet labeled CS228 Homework Submission Box located in the lobby outside Gates 187. Suppose we wis
Abu Dhabi University - ECON - 121
Diageo plc Case Study Questions1. How has Diageo historically managed its capital structure?2. Why is Diageo selling Pillsbury and spinning off Burger King? How might valuebe created through these transactions?3. What does the model developed by Diage
Abu Dhabi University - ECON - 121
EC2101 MICROECONOMIC ANALYSIS ISEMESTER 2, 2010/2011MID-TERM EXAMDate: 29 September 2011Time: 2 - 4pmVenue: MPSH1A (MULTI PURPOSE SPORTS HALL 1)Seat No.123456789101112131415161718192021222324252627Student NameAHMAD ZAKI
Abu Dhabi University - ECON - 121
Abu Dhabi University - ECON - 121
Abu Dhabi University - ECON - 121
Abu Dhabi University - ECON - 121
EC3332 Money and Banking I: Semester I, 2011-2012National University of SingaporeMid-Term Test (Closed Book): 30 September 20112 Question 1 is compulsory. Plan to spend not more than 15 minutes answeringit. This question carries 10 marks.2 Do any 2 o
Abu Dhabi University - ECON - 121
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem I, 2011-2012Lecture 1 ntroductionI hapter 1: A simple model ofCmoney.Instructor A/P AdityaGoenka Office: AS2 06-04 Email: ecsadity@nus.edu.sg Lectures: Room:Fridays 10-12.LTB 9.Textbook ModelingMonetary Eco
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem I, 2011-2012Lecture 1IntroductionChapter 1: A simple model ofmoney.InstructorA/P Aditya Goenka Office: AS2 06-04 Email: ecsadity@nus.edu.sgLectures: Fridays 10-12.Room: LTB 9.TextbookModeling Monetary Economies
Abu Dhabi University - ECON - 121
EC3332 Money and Banking I: Semester I, 2011-2012National University of SingaporeAssessed Homework ISubmission Deadline Tuesday, 13 September 2011, 4 p.m.1. Consider the following overlapping generations model where each generation livesfor two perio
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem II, 2009-2010Lecture 2Chapter 3:Money Growthand InflationInflationInflation is a monetary phenomenon:generated by a growing money supply.How does inflation affect the allocationof resources?How does it affect welfar
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem I, 2011-2012Lec 7: Central Banking andMoney SupplyRoadmapOLG modelOf moneyInflationNon-anticipatedinflation-Value of money- Rate of return- Neutrality-Cost of inflation- Optimal monetary policy- Growing economy
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem I, 2011-2012Lec 7: Central Banking andMoney SupplyRoadmapOLG modelOf moneyInflationNon-anticipatedinflation-Value of money- Rate of return- Neutrality-Cost of inflation- Optimal monetary policy- Growing economy
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem I, 2011-2012Lec 7: Central Banking andMoney SupplyRoadmapOLG modelOf moneyInflationNon-anticipatedinflation-Value of money- Rate of return- Neutrality-Cost of inflation- Optimal monetary policy- Growing economy
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem I, 2011-2012Lec 8: Money StockFluctuationsMoney and Output Positivecorrelation between thenominal stock and real output. This is pointed out in the work ofFriedman and Schwartz which underliesmonetarism The monetar
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem I, 2011-2012Lec 8: Money StockFluctuationsMoney and OutputPositive correlation between thenominal stock and real output. This is pointed out in the work ofFriedman and Schwartz which underliesmonetarism The monetary
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem I, 2011-2012Lec 8: Money StockFluctuationsMoney and OutputPositive correlation between thenominal stock and real output. This is pointed out in the work ofFriedman and Schwartz which underliesmonetarism The monetary
Abu Dhabi University - ECON - 121
Money and Banking IEC3332Sem I, 2011-12Lec 3: Money and CapitalObjective Inthe OLG model with fiat money: savings canbe held only in fiat money. In reality, there are several assets that can beused to store value e.g. land, capital, etc. In this
Abu Dhabi University - ECON - 101
For more material and information, please visit Tai Lieu Du Hocat www.tailieuduhoc.orgBarron's word list 1abaselower; degrade; humiliate; make humble; make (oneself) lose self-respectabashembarrassabatesubside or moderateabbreviate shortenabdica
Abu Dhabi University - ECON - 101
Dependency Diagram for BBA Programme (students matriculated from August 2006)Students completed or exemptedfrom ES1000 and NK1001BSP 1005M anagerial EconomicsFNA 1002Financial Accounting(notFNA1002E nor FNA1002X)MNO 1001M anagement and Organisat
Abu Dhabi University - ECON - 101
Dependency Diagram for BBA Programme (students matriculated from August 2008)Students completed or exemptedfrom ES1000 and NK1001BSP 1005Managerial EconomicsES1000 and NK1001BSP 1005BSP 1005ACC 1002/FNA 1002Financial Accounting(not FNA1002E nor
Abu Dhabi University - ECON - 101
BBA Modules Sequence Example 1Year 1, Semester 1Year 1, Semester 2Year 2, Semester 1Year 2, Semester 2Year 3, Semester 1Year 3, Semester 2Unrestricted Elective Module 3BSP 3001Business Policy and StrategyMNO 1001Management and OrganisationMKT
Abu Dhabi University - ECON - 101
Searching for market information for aBMA5009 project?Take a crash course on searching,with me,Crash DummyBrought to you by the librarians of Hon Sui Sen Memorial LibraryIdentifying the information you requireLet us look for marketinformation abou
Abu Dhabi University - ECON - 101
87CONTENTSPagePart II:PROGRAMMESBSchool of Business891.Facultys Commitment892.Key Contact Information893.Undergraduate Education3.1 Degrees Offered3.2 Degree Requirements3.3 Multidisciplinary Opportunities3.3.1 Double (Second) Major in
Abu Dhabi University - ECON - 101
Statistics for ManagersUsing Microsoft Excel5th EditionChapter 6The Normal Distribution and OtherContinuous DistributionsStatistics for Managers Using Microsoft Excel, 5e 2008 Pearson Prentice-Hall, Inc.Chap 6-1Learning ObjectivesIn this chapter,
Abu Dhabi University - ECON - 101
Statistics for ManagersUsing Microsoft Excel5th EditionChapter 11Analysis of VarianceStatistics for Managers Using Microsoft Excel, 5e 2008 Prentice-Hall, Inc.Chap 11-1Learning ObjectivesAfter completing this chapter, you should be able to: Recog
Abu Dhabi University - ECON - 101
JUST THE MATHSUNIT NUMBER18.1STATISTICS 1(The presentation of data)byA.J.Hobson18.1.118.1.218.1.318.1.418.1.5IntroductionThe tabulation of dataThe graphical representation of dataExercisesSelected answers to exercisesUNIT 18.1 - STATISTIC
Abu Dhabi University - ECON - 101
JUST THE MATHSUNIT NUMBER18.2STATISTICS 2(Measures of central tendency)byA.J.Hobson18.2.118.2.218.2.318.2.418.2.518.2.618.2.7IntroductionThe arithmetic mean (by coding)The medianThe modeQuantilesExercisesAnswers to exercisesUNIT 18.2
Abu Dhabi University - ECON - 101
JUST THE MATHSUNIT NUMBER18.3STATISTICS 3(Measures of dispersion (or scatter)byA.J.Hobson18.3.118.3.218.3.318.3.418.3.518.3.618.3.718.3.8IntroductionThe mean deviationPractical calculation of the mean deviationThe root mean square (or st
Abu Dhabi University - ECON - 101
JUST THE MATHSUNIT NUMBER18.4STATISTICS 4(The principle of least squares)byA.J.Hobson18.4.118.4.218.4.318.4.4The normal equationsSimplied calculation of regression linesExercisesAnswers to exercisesUNIT 18.4 - STATISTICS 4THE PRINCIPLE OF
Abu Dhabi University - ECON - 101
ISL233-M KRO KT SAT-UYGULAMA DERS -58-9.11.201023. George has a fixed income and can afford at most 7 units of Y if he spends his entire income on Y.Alternatively, if he spends all his income on X, he can afford at most 6 units of X. Draw George's budg
Abu Dhabi University - ECON - 101
ISL233-M KRO KT SAT-UYGULAMA DERS -622-23.11.201027. In the diagram below, Marvins optimal consumption bundles are indicated for five different budgetconstraints. Sketch the Engel curve for Marvin. Next, use the diagram to sketch Marvins demand curvef
Abu Dhabi University - ECON - 101
ISL233-M KRO KT SAT-UYGULAMA DERS -729-30.11.201028. If the marginal rate of substitution is infinite or zero, show that the substitution effect of a price change fora good is zero.30. The following data pertain to products A and B, both of which are
Abu Dhabi University - ECON - 101
ISL233-M KRO KT SAT-UYGULAMA DERS -806.12.201042. Complete the following table (round each answer to the nearest whole number):TotalCostOutput0123456VariableCostMarginal AverageCostCostAvg. Var.CostMarginalCostAverageCostAvg. Var.
Abu Dhabi University - ECON - 101
ISL233-M KRO KT SAT-UYGULAMA DERS -913-14.12.201050. The following table contains information for a price taking competitive firm. Complete the table anddetermine the profit maximizing level of output (round your answer to the nearest whole number).0
Abu Dhabi University - ECON - 101
ISL233-M KRO KT SAT-UYGULAMA DERS -1021.12.201057. The elected officials in a west coast university town are concerned about the "exploitative" rents beingcharged to college students. The town council is contemplating the imposition of a $350 per month
Abu Dhabi University - ECON - 101
Directed ResearchSpring Semester 2009Research on the Merger and Acquisition between Barclays andLehman BrothersUnder the Direction of Dr. Wendy JeffusPrepared by:Panitan SigkhabhandMay, 2009IntroductionSince June 2008, Lehman Brothers Holding Inc
Abu Dhabi University - ECON - 101
Abu Dhabi University - ECON - 101
Abu Dhabi University - ECON - 101
Abu Dhabi University - ECON - 101
Abu Dhabi University - ECON - 101
Case studies/Tutorials/Exam datesCase Study 1 due: 5th October (Wed) 9 am.Critique 1 due: 8th October (Saturday) 9 am.Tutorial 3 due: 12th October (Wed) 9 am.Case Study 2 due: 12th October (Wed) 9 am.Critique 2 due: 15th October (Saturday) 9 am.Case
Abu Dhabi University - ECON - 101
Abu Dhabi University - ECON - 101
BMF5000 Advanced Financial ModelingInstructor: Dr LEE Hon SingOffice: MRB, Biz 1, #07-75Email: honsing@nus.edu.sgCourse Description:The objective of this module is to provide students with an understanding of the theories andmethodologies of financi
Abu Dhabi University - ECON - 101
EC3332 Money and Banking INational University of SingaporeSemester I, 2011-2012Tutorial Week of 12 September 20112 This problem looks at the issue of dynamics in the OG model with money isslightly dierent way than in the lecture. This will help you u
Abu Dhabi University - ECON - 101
Money and Banking IEC3332Sem II, 2010-2011Lec 6: Liquidity and FinancialIntermediationMoney as a Liquid AssetWhy do people hold fiat money whenmany alternative assets offer greater ratesof return there is rate of returndominance? Because money i
Abu Dhabi University - ECON - 101
EC3332 Money and Banking IAditya GOENKANational University of SingaporeApril 6, 2011GoenkaEC3332 2010-2011 Lec 10Banking CrisesCountryPeriodFinland1991-94Japan1990sSpain1977-85Sweden1991USA1980sChile1981-3Argentina 1980-2Note: p is p
Abu Dhabi University - ECON - 101
Abu Dhabi University - ECON - 101
Abu Dhabi University - ECON - 101
Abu Dhabi University - ECON - 101
Explanation of LAC1201 Test 3 Section 1Section 1: Turn the statements into questions.You need to have all three question forms, each inone expression:A. a Yes-no question with a question particle ;B. an affirmative-negative question; andC. a questio
Abu Dhabi University - ECON - 101
FIN3101 Corporate FinanceDr Hassan NaqviTutorial 2Question 1.Peter Pan, who is a risk averse investor, is deciding how to divide his money between twoassets, pickles and corn, which have the following characteristics:Expected ReturnStandard Deviati
Abu Dhabi University - ECON - 101
FIN3101 Mid-Term ExamOctober 2nd 2010Answer ALL Questions. Each question is worth 1 mark. Good Luck!MaturityZero coupon bondprices1$8502$7503$700The above data depicts the prices of zero coupon bonds for various maturities. Given theabove inf
Abu Dhabi University - ECON - 101
Midterm ExaminationEC2101 Microeconomic Analysis (Semester I, 2011)General Instructions: This is a close-book examination. You have 90 minutes (2:00pm to3:30pm). Please check if you have a total of 2 pages. You may use calculators.I.Multiple Choice Q
Columbia - BIO - 2004
Experiment 1 (Lab period 1) Spectrophotometry: Absorption spectra and the use of light absorption to measure concentration Spectrophotometry is a procedure that is frequently utilized in biological laboratories. Probably the most common application in bio
Columbia - BIO - 2004
Experiment 2 (Lab Periods 2 and 3) Determining the Number of Bacteria in a Colony Bacteria are found throughout the biosphere, inhabiting places that eukaryotes find uninhabitable, sharing all the places where eukaryotes live, and living in and on the bod