Question

pl use r studio to do that 1 Calculate expected cell counts (2dp) for people with...

pl use r studio to do that

1 Calculate expected cell counts (2dp) for people with blue eyes and purple hair from the following dataset:  Blue eyes with purple hair=56, blue eyes with green hair=84, Yellow eyes with purple hair=32, yellow eyes with green hair = 17.

2 Determine Spearman’s Rho coefficient for the following data.

x<-c(56,56,65,65,50,25,87,44,35)

y<-c(87,91,85,91,75,28,122,66,58)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. setwd("c:/ Document")
d<- read.csv("chi.csv")
d

chisq.test(d)


Blue.Eye Yellow.Eye
Purple hair 56 32
Green hair 84 17

Pearson's Chi-squared test with Yates' continuity correction

data: d
X-squared = 8.3525, df = 1, p-value = 0.003852

Add a comment
Know the answer?
Add Answer to:
pl use r studio to do that 1 Calculate expected cell counts (2dp) for people with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • what different with those question. pl answer question 2 use R studio 1.What is the value...

    what different with those question. pl answer question 2 use R studio 1.What is the value of the chi square test statistic (2dp) for the following dataset? Blue eyes with purple hair=56, blue eyes with green hair=84, Yellow eyes with purple hair=32, yellow eyes with green hair = 17. 2.Calculate expected cell count (2dp) for people with blue eyes and purple hair from the following dataset:  Blue eyes with purple hair=56, blue eyes with green hair=84, Yellow eyes with purple hair=32,...

  • Use our class áat to do the foloving problems Be nest and o se our class data to do the f Do the hypothesis tests on separate paper. Due at or before 1. (Ch.11) Using our class data: test t...

    Use our class áat to do the foloving problems Be nest and o se our class data to do the f Do the hypothesis tests on separate paper. Due at or before 1. (Ch.11) Using our class data: test the claim that the proportion of Cabrillo students who are dog owners is greater than proportion for testing are satisfied here. of Cabrillo students who are cat owners. Assume that all requirements 5 points) 2. (Ch.12.1) A research study from 1990...

  • CILE WIL Genetics Including Use o n 1. You are Gregor Mendel and you ar smoothness....

    CILE WIL Genetics Including Use o n 1. You are Gregor Mendel and you ar smoothness. R is the dominant allele an recessive and plants that are I have wrinkled pea seeds. Gregor Mendel and you are studying PEAS You are focusing on the R gene ittle "r" is nant allele and is associated with smooth besed phenotype. Little on the R gene which controls You have these plants: RR (smooth peas) a generation. ese plants: RR (smooth peas) and...

  • R studio #Exercise : Calculate the following probabilities : #1. Probability that a normal random variable...

    R studio #Exercise : Calculate the following probabilities : #1. Probability that a normal random variable with mean 22 and variance 25 #(i)lies between 16.2 and 27.5 #(ii) is greater than 29 #(iii) is less than 17 #(iv)is less than 15 or greater than 25 #2.Probability that in 60 tosses of a fair coin the head comes up #(i) 20,25 or 30 times #(ii) less than 20 times #(iii) between 20 and 30 times #3.A random variable X has Poisson...

  • Please show the punnett squares where needed. Need this done ASAP thx. 1. In pea plants,...

    Please show the punnett squares where needed. Need this done ASAP thx. 1. In pea plants, Round seeds are dominant (R) and wrinkled seed are recessive (r). a. What would the parent look like(phenotype) if its genotype is RR? What is the name of this type of genotype? Use genetic terms you learned. b. What would the parent phenotype be is it was Rr? What is the name of this type of genotype? c. What would the parent genotype be...

  • Practice questions for BIO 340 (Exam 2) I need help with these questions Please. WILL GIVE...

    Practice questions for BIO 340 (Exam 2) I need help with these questions Please. WILL GIVE GOOD RATING 1. Wild type blue-eyed mary has blue flowers. Two genes control the pathway that makes the blue pigment: The product of gene W turns a white precursor into magenta pigment. The product of gene M turns the magenta pigment into blue pigment. Each gene has a recessive loss-of-function allele: w and m, respectively. A double heterozygote (Ww Mm) is self-pollinated. What proportion...

  • is a nucleus the sole source of DNA in a eukaryotic cell? WORKSHEET: EXERCISE 10 NAME:...

    is a nucleus the sole source of DNA in a eukaryotic cell? WORKSHEET: EXERCISE 10 NAME: DATE: SECTION Twenty microliters (20 ㎕) of each sample was loaded into your gel. Convert 2OuL to milliliters (mL). I. 2. Describe the charge on the DNA molecule and specify which component of the molecule is responsible for contributing to that charge. Why do some DNA samples travel further in the gel than others? 3. 4. Once electrophoresed, how are the DNA bands visualized?...

  • Match the following terms with the appropriate description below: a. alleles b. autosomes c. dominant allele...

    Match the following terms with the appropriate description below: a. alleles b. autosomes c. dominant allele d. genotype e. heterozygous f. homozygote g. phenotype h. recessive allele i. sex chromosomes 1. ________________ genetic make-up 2. ________________ how genetic make-up is expressed 3. ________________ chromosomes that dictate most body characteristics 4. ________________ alternative forms of the same gene 5. ___________an individual bearing two alleles that are the same for a particular trait 6. ________________ an allele that is expressed, whether in...

  • i need help on question 3 to 22 please. Midterm ex review. MATH 101 Use the...

    i need help on question 3 to 22 please. Midterm ex review. MATH 101 Use the following information to answer the next four exercises. The midterm grades on a chemistry exam, graded on a scale of 0 to 100, were: 62, 64, 65, 65, 68, 70, 72, 72, 74, 75, 75, 75, 76,78, 78, 81, 82, 83, 84, 85, 87, 88, 92, 95, 98, 98, 100, 100,740 1. Do you see any outliers in this data? If so, how would...

  • price time month day year 149.3999939 1 01 02 13 146.5 2 01 03 13 147.3499908...

    price time month day year 149.3999939 1 01 02 13 146.5 2 01 03 13 147.3499908 3 01 04 13 150.3999939 4 01 07 13 148.1499939 5 01 08 13 147.8999939 6 01 09 13 149.6499939 7 01 10 13 153.3499908 8 01 11 13 153.3000031 9 01 14 13 152.5 10 01 15 13 153 11 01 16 13 155.5 12 01 17 13 156.3000031 13 01 18 13 148.5999908 14 01 22 13 150.3999939 15 01 23 13...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT