Question

RSTUDIO MUST BE USED TO ANSWER THIS QUESTION Run the following three commands in order\n x...

RSTUDIO MUST BE USED TO ANSWER THIS QUESTION

Run the following three commands in order\n

x <- rnorm(100)

y <- 2*x + 3 + rnorm(100,sd=1)

z <- 2*x + 3 + rnorm(100,sd=2)

Calculate the correlation coefficients between x and y and between x and z.

Identify the true statements below. (There may be more than one correct answer)

  

A. Both coefficients are positive

   

B. The correlation between x and z is stronger than that between x and. y

   

C. The correlation coefficients both indicate a lack of correlation between the two variables.

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

Thus based on results we can conclude that:

A. Both co-effecients are positive

B. is not true since corr(X,Z) < cor(X,Y)

C. is not true since both the correlation co-effecients are significant

Add a comment
Know the answer?
Add Answer to:
RSTUDIO MUST BE USED TO ANSWER THIS QUESTION Run the following three commands in order\n x...
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
  • Consider a data set consisting of values for three variables: x, y, and z. Three observations...

    Consider a data set consisting of values for three variables: x, y, and z. Three observations are made on each of the three variables. The following table shows the values of x, y, z, x2, y2, z2, xy, yz, and xz for each observation. Observation x y z x2 y2 z2 xy yz xz 6 6 2 36 36 4 36 12 12 4 3 8 16 9 64 12 24 32 2 6 5 4 36 25 12 30...

  • What are the exact commands I should use to complete the task? 1. Run command (date;...

    What are the exact commands I should use to complete the task? 1. Run command (date; sleep 45; echo “Done.”; date) > date.out in the foreground (i.e. without &) 2. Suspend it with Ctrl-Z. Pay attention to the number in the [], it will become handy later. This number is the job number of the command that has been suspended. 3. Run command top to display only processes started by you (i.e. associated with your userid). Write down the process...

  • Question* On STAT your assessment is based on: Final Exam Learn based online assessment Assignments 4790 +' 3490 19% Consider three random variables X, Y and Z which respectively represent the ex...

    Question* On STAT your assessment is based on: Final Exam Learn based online assessment Assignments 4790 +' 3490 19% Consider three random variables X, Y and Z which respectively represent the exam, online assessment total and assignment scores (out of 100%) of a randomly chosen student. Assume that X, Y and Z are independent (this is clearly not true, but the answers may be a reasonableapproximation).Suppose that past experience suggests the following properties of these assessment items (each out of...

  • question 2, and 3 please. I want the code command on Rstudio it is Rstudio Question...

    question 2, and 3 please. I want the code command on Rstudio it is Rstudio Question 2 1. Define the following function in R: 810) = { Answer 1 2. Plot f(x) for all integers between 10 and 10. # Answer 2 Question 3 1. Extract all the info related to call option contracts written on Facebook (FB), expiring on 01/17/2020, from Yahoo Finance. In order to do this, you need to go to Yahool Finance, search for Facebook click...

  • Suppose that two variables, x and y, have a correlation coefficient of 0.27. Which of the...

    Suppose that two variables, x and y, have a correlation coefficient of 0.27. Which of the following statements are true? You must make a selection for each option. Click once to place a check mark for correct answers and click twice to empty the box for the wrong answers. The variables have a positive linear relationship. There is a weak relationship between these two variables. There is a strong relationship between these two variables As xincreases, y decreases. As x...

  • The equation of the regression line between two variables x (independent variable) and y (dependent variable)...

    The equation of the regression line between two variables x (independent variable) and y (dependent variable) is given by y-hat = -3x + 2; and the correlation coefficient is r = -.95. The possible x-values range from 1 to 10. Which of the following statements are correct? I. The variable y is strongly positive correlated to the variable x. II. The variable y is strongly negative correlated to the variable x. III. If x = 5, one would predict that...

  • please help me understand this. I will greatly appreciate a fully detailed answer as I want...

    please help me understand this. I will greatly appreciate a fully detailed answer as I want to understand this problem than just get the answer. Thanks. Random variables X and Y arejointly Gaussian with 2] 4 -4 m=[1 1. Find the correlation coefficient between X and Y. 3. Find the PDF of Z.

  • here is the data Y X 34.38 22.06 30.38 19.88 26.13 18.83 31.85 22.09 26.77 17.19...

    here is the data Y X 34.38 22.06 30.38 19.88 26.13 18.83 31.85 22.09 26.77 17.19 29.00 20.72 28.92 18.10 26.30 18.01 29.49 18.69 31.36 18.05 27.07 17.75 31.17 19.96 27.74 17.87 30.01 20.20 29.61 20.65 31.78 20.32 32.93 21.37 30.29 17.31 28.57 23.50 29.80 22.02 this is q1 2. Using a computer program, a data set with 20 observations on and was generated (GENERATEDATA.csv). Again, use the same instructions as above (in #1) to upload and import this dataset...

  • Which of the following statements about London dispersion forces is/are true? Group of answer choices London...

    Which of the following statements about London dispersion forces is/are true? Group of answer choices London dispersion forces are stronger between molecules of 1-butanol than between molecules of 2-methyl-2-propanol. London dispersion forces are stronger than hydrogen bonding interactions. both a and b neither a nor b How many different alkene products (counting cis and trans isomers of a compound as a single product) could be produced when 3-methyl-3-pentanol is dehydrated? Group of answer choices 1 2 3 4

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