Question

Using R Studio: Include R Code: The following data is from IQ tests for pairs of...

  1. Using R Studio: Include R Code: The following data is from IQ tests for pairs of twins that were separated at birth. One twin was raised by the biological parents, the other by adoptive parents.

Foster:     80, 88, 75, 113, 95, 82, 97, 94, 132, 108

Biological:            90, 91, 79, 97, 97, 82, 87, 94, 131, 115

Find a 90% confidence interval for the differences of mean. What do you assume about the data? In particular, are the two samples independent?

Homework Answers

Answer #1

The R code for the paired T-test is given below:

X1 <- c(80, 88, 75, 113, 95, 82, 97, 94, 132, 108)
X2 <- c(90, 91, 79, 97, 97, 82, 87, 94, 131, 115)
t.test(X1, X2,
alternative = "two.sided",mu = 0, paired = TRUE, var.equal = FALSE,
conf.level = 0.90)

The putput is

data: X1 and X2
t = 0.041019, df = 9, p-value = 0.9682
alternative hypothesis: true difference in means is not equal to 0
90 percent confidence interval:
-4.368937 4.568937
sample estimates:
mean of the differences
0.1

The 90% confidence interval for the difference in means is:

Since this is a paired test, the two samples are not independent.

Know the answer?
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
Similar Questions
Using R Studio: (Include the R code) The following data is from IQ tests for pairs...
Using R Studio: (Include the R code) The following data is from IQ tests for pairs of twins that were separated at birth. One twin was raised by the biological parents, the other by adoptive parents. Foster:     80, 88, 75, 113, 95, 82, 97, 94, 132, 108 Biological:            90, 91, 79, 97, 97, 82, 87, 94, 131, 115 Find a 90% confidence interval for the differences of mean. What do you assume about the data? In particular, are the two samples independent?
n=40 samples of IQ 85, 94, 97, 86, 86, 107, 91, 99, 115, 50, 93, 98,...
n=40 samples of IQ 85, 94, 97, 86, 86, 107, 91, 99, 115, 50, 93, 98, 100, 94, 73, 76, 72, 76, 95, 89, 96, 108, 74, 72, 90, 100, 91, 98, 91, 85, 97, 91, 78, 82, 93, 89, 94, 88, 83, 76 1) Construct a histogram of the IQ data from your sample. Describe the shape of the histogram and write a sentence or two detailing what the histogram seems to tell you.
Open Weight_vs_IQ data. SETUP: Is it reasonable to assume that the IQ and weight of a...
Open Weight_vs_IQ data. SETUP: Is it reasonable to assume that the IQ and weight of a person should not be related? Given the data, your job is to check if this assertion is indeed reasonable or not. HINT: Read Lecture 24. 19. What would be the correct Null-Hypothesis? a. IQ and Weight should not be related. b. The population averages are equal. c. The slope of the regression line is equal to zero. d. None of these 20. The P-value...
Problem: The IQ test scores of 45 seventh-grade girls in a Midwest school district are below....
Problem: The IQ test scores of 45 seventh-grade girls in a Midwest school district are below. 111      107      100      107      115      111      97        112      104            106      113      109      113      128      128 118      113      124      127      136      106      123      124      126            116      127      119      97        102      110 120      103      115      93        123      79        119      110      110            107      105      105      110      77        90 Here are the IQ test scores of 30 seventh-grade boys in the same school district. Is there good evidence...
Given Data: (1)= low lead level (2)= medium lead level, (3)= high lead level IQ: 85...
Given Data: (1)= low lead level (2)= medium lead level, (3)= high lead level IQ: 85 (1), 94 (1), 97 (1), 86 (1), 86 (1), 107 (1), 91 (1), 99 (1), 115 (1), 50 (1), 93 (1), 98 (1), 100 (1), 94 (1), 73 (1), 76 (1), 72 (1), 76 (1), 95 (1), 89 (1), 96 (1), 108 (1), 74 (1), 72 (2), 90 (2), 100 (2), 91 (2), 98 (2), 91 (2), 85 (2), 97 (2), 91 (2), 78...
Given Data: (1)= low lead level (2)= medium lead level, (3)= high lead level IQ: 85...
Given Data: (1)= low lead level (2)= medium lead level, (3)= high lead level IQ: 85 (1), 94 (1), 97 (1), 86 (1), 86 (1), 107 (1), 91 (1), 99 (1), 115 (1), 50 (1), 93 (1), 98 (1), 100 (1), 94 (1), 73 (1), 76 (1), 72 (1), 76 (1), 95 (1), 89 (1), 96 (1), 108 (1), 74 (1), 72 (2), 90 (2), 100 (2), 91 (2), 98 (2), 91 (2), 85 (2), 97 (2), 91 (2), 78...
Given Data: (1)= low lead level (2)= medium lead level, (3)= high lead level IQ: 85...
Given Data: (1)= low lead level (2)= medium lead level, (3)= high lead level IQ: 85 (1), 94 (1), 97 (1), 86 (1), 86 (1), 107 (1), 91 (1), 99 (1), 115 (1), 50 (1), 93 (1), 98 (1), 100 (1), 94 (1), 73 (1), 76 (1), 72 (1), 76 (1), 95 (1), 89 (1), 96 (1), 108 (1), 74 (1), 72 (2), 90 (2), 100 (2), 91 (2), 98 (2), 91 (2), 85 (2), 97 (2), 91 (2), 78...
Sibling IQ Scores (Raw Data, Software Required): There have been numerous studies involving the correlation and...
Sibling IQ Scores (Raw Data, Software Required): There have been numerous studies involving the correlation and differences in IQ's among siblings. Here we consider a small example of such a study. We will test the claim that, on average, older siblings have a higher IQ than their younger sibling. The results are depicted for a sample of 10 siblings in the table below. Test the claim at the 0.05 significance level. You may assume the sample of differences comes from...
Sibling IQ Scores (Raw Data, Software Required): There have been numerous studies involving the correlation and...
Sibling IQ Scores (Raw Data, Software Required): There have been numerous studies involving the correlation and differences in IQ's among siblings. Here we consider a small example of such a study. We will test the claim that, on average, older siblings have a higher IQ than their younger sibling. The results are depicted for a sample of 10 siblings in the table below. Test the claim at the 0.05 significance level. You may assume the sample of differences comes from...
Open Three Hospitals data. SETUP: It is believed that the number of injuries recorded in hospital...
Open Three Hospitals data. SETUP: It is believed that the number of injuries recorded in hospital 1 is different from the number of injuries recorded in hospital 2. Given the data your job is to confirm or disprove this assertion. 10. What test/procedure did you perform? (4 points) a. Regression b. Two sided t-test c. One sided t-test d. Confidence Interval 11. What is the statistical interpretation? (4 points) a. Average of data is inconsistent with the claim b. P-value...