Question

Please write the R code to solve the question.Problem (2). In an effort to link cold environments with hypertension in humans, a preliminary experiment was conducted to investigate the effect of cold on hypertension in rats. Two random samples of 6 rats each were exposed to different environments. One sample of rats were held in a normal environment at 26°C. The other sample was held in a cold 5°C environment. Blood pressures and heart rates were measured for rats for both groups. The blood pressure for the 12 rats are shown in the accompanying table. Do the data provide sufficient evidence to indicate that rats exposed to a 5°C environment have a 05 higher mean blood pressure than rats exposed to a 26°C environment? Test by using a - 26°C Blood Pressure 152 157 179 182 176 149 5°C Blood Pressure 384 369 354 375 366 423 Rat Rat 4 10 12

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

From the given data

Console Terminal BP26-c (152,157,179,182,176,149) > BP5-с (384 ,369 ,354 , 375, 366 ,423) > cat(HO: The rats exposed to 5 c environment have not hgiher mean blood pressure than rats exposed to a 26 C environm ent \n) H0: The rats exposed to 5 C environment have not hgiher mean blood pressure than rats exposed to a 26 C environment > cat (H1: The rats exposed to 5 C environment have hgiher mean blood pressure than rats exposed to a 26 C environment n H1: The rats exposed to 5 C environment have hgiher mean blood pressure than rats exposed to a 26 c environment >cat (Let the los be alpha0.05 \n Let the los be alpha0.05 > t.test (BP5, BP26,1eve1-0.05,alternativegreater,var.equal-TRUE R: Two Sample t-test data BP5 and BP26 t 18. 509, df-10, p-value 2.285e-09 alternative hypothesis: true difference in means is greater than 0 95 percent confidence interval: 9 191.842:2 sample estimates: mean Inf of x mean of y 165. 8333 378. 5000 > ni-1ength (BP5) > n2-length (BP26) > tcrit-qt (0.975,df-n1+n2-2) tcrit [1] 2.228139

Here P-value = 0.000 which is less than alpha 0.05 so we reject H0

or

Here t value = 18.509 > t critical value = 2.228 so we reject H0

Thus we conclude that The rats exposed to 5 C environment have higher mean blood pressure than rats exposed to a 26 C environment

Add a comment
Know the answer?
Add Answer to:
Please write the R code to solve the question. Problem (2). In an effort to link...
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
  • Please answer in SAS: In an effort to link cold environments with hypertension in humans, a...

    Please answer in SAS: In an effort to link cold environments with hypertension in humans, a preliminary experiment was conducted to investigate the effect of cold on hypertension in rats. Two random samples of 6 rats each were exposed to different environments. One sample of rats were held in a normal environment at 26°C. The other sample was held in a cold 5°C environment. Blood pressures and heart rates were measured for rats for both groups. The blood pressure for...

  • In an effort to link cold environment to an increase in mean blood pressure, two random samples o...

    In an effort to link cold environment to an increase in mean blood pressure, two random samples of 5 rats each were exposed to different environments. One sample of rats was held in a normal environment of 26◦C and the other was held aat 15◦C. Blood pressures were measured for rats of both groups after 1 day and are given below: 26◦C BP: 214 194 221 198 212 15◦C BP: 225 215 253 272 254 (a) If the scientists want...

  • please do question 20 and write clearly ping, Exploring, and Comparing Data In Exercises 17-20, use the following ce...

    please do question 20 and write clearly ping, Exploring, and Comparing Data In Exercises 17-20, use the following cell phone airport data speeds (Mbps) to the given data speed. Percentiles. from Sprint. Find the percentile corresponding 0.3 0.3 0.4 0.4 0.4 0.3 0.3 0.3 0.3 0.2 0.7 0.8 1.0 0.6 0.6 0.5 0.5 0.5 0.5 0.5 2.3 2.4 2.1 2.1 1.6 1.6 1.2 1.2 1.1 1.1 4,0 4.0 3.4 3.6 3,8 3.2 2.7 2.7 2.7 2.5 15.2 30.4 13.0 15.1...

  • Hi it's python I imported a data which are so many words in txt and I arranged and reshaped with ...

    Hi it's python I imported a data which are so many words in txt and I arranged and reshaped with alphabetically both rows and columns I was successful with these steps but I am stuck with next step below is my code and screenshot import numpy as np import pandas as pd data=pd.read_csv("/Users/superman/Downloads/words_file2.txt",header=None) df_input=pd.DataFrame(data) df_output=pd.DataFrame(np.arange(676).reshape((26,26)), index = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'], columns = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']) df_output.index.name="Start" df_output.columns.name="End" df_output This below screen shot is what I have to find I have to find each word...

  • Please determine the IDENTITY of the unknown compound and explain how each peak / data point...

    Please determine the IDENTITY of the unknown compound and explain how each peak / data point from the following instruments led to that identification. What does the gcms indicate. Thank you very much! (The GCMS data is just a long set of numbers which is why the question appears so long). IR of unknown: NMR unknown Proton Graphs (first is overall graph, others that follow are zoomed in sections): NMR unknown Carbon Graphs (first is overall graph, others that follow...

  • 40kN Uniform Load W kN/m X Span L L/2 Figure 1 SPAN L 6 W 11Kn/m Beam is 200 UB 18.2 Use the diagram above and the W an...

    40kN Uniform Load W kN/m X Span L L/2 Figure 1 SPAN L 6 W 11Kn/m Beam is 200 UB 18.2 Use the diagram above and the W and L values assigned to you to: a) Use your shear force diagram to calculate the Maximum longitudinal Shear Stress and where it occ Ccurs. b) Calculate the longitudinal Shear Stress at d/4 from the neutral axis. Check Figures 283 below this table BENDING MOMENT DIAGLAM Kp/m f:40 zm 7.5 KN-M 90...

  • In C++ Programming: Using a single for loop, output the even numbers between 2 and 1004...

    In C++ Programming: Using a single for loop, output the even numbers between 2 and 1004 (inclusive) that iterates (loops) exactly 502 times. The outputted numbers be aligned in a table with 10 numbers per row. Each column in the table should be 5 characters wide. Do not nest a loop inside of another loop. Hint: First create and test the code that output the numbers all on one line (the command line will automatically wrap the output to new...

  • Row and Flow is a sports brand that specializes in rowing gear and apparel. They are...

    Row and Flow is a sports brand that specializes in rowing gear and apparel. They are currently selling two boats: The King is a high end boat, very high quality and also quite expensive. This boat is a slow moving item, and its monthly demand is estimated to follow a poisson distribution with a lambda of 1. Speedy is a medium quality, more affordable boat. In any given month, the total number of orders for Speedys is uniformly distributed between...

  • explaim the mechanisms amd toxological effects if type 1 diabetes in this article Exposure to arsenic...

    explaim the mechanisms amd toxological effects if type 1 diabetes in this article Exposure to arsenic in drinking water is associated with increased prevalence of diabetes. We previously reported an association of diabetes and urinary concentration of dimethylarsinite (DMAS"), a toxic product of arsenic methylation by arsenic (+ 3 oxidation state) methyltransferase (AS3MT). Here we examine associations between AS3MT polymorphism, arsenic metabolism and diabetes. Fasting blood glucose, oral glucose tolerance and self-reported diagnoses were used to identify diabetic individuals. Inorganic...

  • the first and 4th page is the answer page( the qurstions that has to be answered....

    the first and 4th page is the answer page( the qurstions that has to be answered. ) my height is 5’9” i weigh 150 pounds. if you can kindly use this information and do this assignment for me that will be helpful Introductory to Nutrition Assignment - Due Monday, October 21, 2019 Assignment #1 - My Personal Anthropometric and Nutritional Profile Purpose: To assess individual's personal profile to include BMI risk factors, physical activity, estimated daily calories, and daily amounts...

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