Question

In: Statistics and Probability

USE R AND SHOW CODES!! 1.a. There is a theorem that the ratios of blood types...

USE R AND SHOW CODES!!

1.a. There is a theorem that the ratios of blood types O, A, B and AB are 49:38:9:4,

respectively. A research team, investigating a small community and obtained the following frequencies of blood type.

Blood type

Blood Type O A B AB

Frequency 87 59 20 4

Test the hypothesis that the proportions in this community do not differ significantly

from those in the general theorem.

1.b. The severity of participants' migraines is clinically assessed. The following table

displays the severity classifications for patients assigned to the medical and the non

traditional therapies

Severity Classification

Therapy Minimal Moderate Severe

Medical 90 60 50

Non traditional 50 60 90

Is there any evidence that severity is independent of type of therapy?

Solutions

Expert Solution

The r-codes are shown below:

#question 1

f=c(87,59,20,4)

chisq.test(f, p=c(.49,.38,.09,.04))

#question 2

m1=c(90,60,50)
m2=c(50,60,90)

m=rbind(m1,m2)   #creating the table

chisq.test(m)


Related Solutions

USE R AND SHOW CODES!! 1.a. An investigator is interested in comparing the cardiovascular fitness of...
USE R AND SHOW CODES!! 1.a. An investigator is interested in comparing the cardiovascular fitness of elite runners on three different training courses. course one is at, course 2 has graded inclines, and course three includes steep inclines, Ten runners were involved for each course. Heart rates measured on each course are as the following table Course 1 Course 2 Course 3 132 135 138 143 148 148 135 138 141 128 131 139 141 141 150 150 156 161...
USE R AND SHOW CODES!! 1.a. The following data represent the birth weights of siblings born...
USE R AND SHOW CODES!! 1.a. The following data represent the birth weights of siblings born to six different mothers Data Birth weight Mother Child 1 Child 2 Child 3 Child 4 1 6.4 6.9 6.7 7.1 2 8.5 7.8 7.8 8.3 3 7.6 8.7 9.9 8.2 4 5.3 6.7 7.5 6.4 5 6.2 5.6 6.4 5.5 6 7 7.8 8.6 6.6 Use an appropriate method to test if there is a significant difference in the birth weight of siblings....
USE R AND SHOW CODES 2. The following data were collected in a multisite observational study...
USE R AND SHOW CODES 2. The following data were collected in a multisite observational study of medical effectiveness in Type II diabetes. These sites were involved: a healthy maintenance organization (HMO), a university teaching hospital (UTH), and an independent practice assumption (IPA). The following data display the treatment regimens of patients measured at baseline by site. Use the data to test that no difference in treatment regimens across sites. (in addition, calculate the expected frequency for each cell.)                                                              ...
Stet by step in R and attach R file and R codes too - Thanks Use...
Stet by step in R and attach R file and R codes too - Thanks Use one of the real-world example data sets from R (not previously used in the R practice assignment) or a dataset you have found, and at least two of the tests and R functions covered in the practice assignment to conduct a hypothesis test then report your findings and give proper conclusion(s). Use the following supporting materials for R syntax, data sets and tools, along...
USE R AND SHOW CODES!! 3.a. In 1988, 71% of 15-44 year old women who have...
USE R AND SHOW CODES!! 3.a. In 1988, 71% of 15-44 year old women who have ever been married have used some form of contraception. What is the probability that, in a sample of 200 women in these childbearing years, fewer than 120 of them have used some form of contraception? 3.b. About 1 percent of women have breast cancer. A cancer screening method can detect 80 percent of genuine cancers with a false alarm rate of 10 percent. What...
Use Rolle’s Theorem to show that the equation ln(1 + x 2 ) + 2x =...
Use Rolle’s Theorem to show that the equation ln(1 + x 2 ) + 2x = 0 has at most one solution. Provide a full explanation, justifying each step in your argument.
Use this theorem to find the inverse of the given matrix or show that no inverse...
Use this theorem to find the inverse of the given matrix or show that no inverse exists. (If an answer does not exist, enter DNE in any cell.) 1    2    5    1 −1    0    2    1 2    1    −5    0 1    1    2    1
What types of Ratios are good ratios that would be good to use against Sears competitors...
What types of Ratios are good ratios that would be good to use against Sears competitors to estimate competition?
Give the expected genotypic and phenotypic ratios for the following crosses for ABO blood types: IAi...
Give the expected genotypic and phenotypic ratios for the following crosses for ABO blood types: IAi x IBi = IAIB x IAi IAIB x IAIB ii x IAi IAIB x ii
There are many types of ratios that financial analysts use to estimate the health of a...
There are many types of ratios that financial analysts use to estimate the health of a company. One important type focuses on measuring how well a company is actually performing. These are known as "profitability" or "performance" ratios. We can get a sense of whether or not a company is being efficient in its use of assets. It looks at questions such as: Does the company generate a reasonable amount of sales for the assets held? Are its profits reasonable...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT