Answer:
1).
R code
# single sample t
x <- c(48,43,51,42,50,42,44,45,56,49,44,47,50,49,38,46,38,52,32,56)
t.test(x,mu=50,alternative = "two", conf.level=.95)
t.test(x,mu=50,alternative = "two", conf.level=.99)
R output
One Sample t-test
data: x
t = -2.8946, df = 19, p-value = 0.009287
alternative hypothesis: true mean is not equal to 50
95 percent confidence interval:
43.28003 48.91997
sample estimates:
mean of x
46.1
> t.test(x,mu=50,alternative = "two", conf.level=.99)
One Sample t-test
data: x
t = -2.8946, df = 19, p-value = 0.009287
alternative hypothesis: true mean is not equal to 50
99 percent confidence interval:
42.24541 49.95459
sample estimates:
mean of x
46.1
2).
Lower tail test.
R code
t.test(x,mu=50,alternative = "l", conf.level=.95)
One Sample t-test
data: x
t = -2.8946, df = 19, p-value = 0.004644
alternative hypothesis: true mean is less than 50
95 percent confidence interval:
-Inf 48.42969
sample estimates:
mean of x
46.1
Calculated t= -2.8946, P=0.0046 which is < 0.05 level of significance. Ho is rejected.
We conclude that enzyme activities is less than 50 units per gram of liver.
R code and answer questions please A certain enzyme in the liver of fish is considered...
A certain enzyme in the liver of fish is considered an indicator of trace amounts of a dangerous pollutant that is difficult to detect by chemical methods. Enzyme activities of less than 50 units per gram of liver (fresh weight) are taken to indicate the presence of the pollutant. A random sample was taken from a local stream and the enzyme concentrations were as follows. 48 43 51 42 50 42 44 45 56 49 44 47 50 49 38...
#### Code in R ###
mental.csv
Pre.test
Post.test
Treat
72
74
Control
58
57
Control
66
74
Control
51
56
Control
30
28
Control
48
40
Control
58
61
Control
51
50
Control
38
40
Control
56
56
Control
68
72
Control
36
38
Control
53
53
Control
65
72
Control
32
24
Control
64
62
Control
58
55
025-050R
58
57
025-050R
56
57
025-050R
73
59
025-050R
49
42
025-050R
53
49
025-050R
28
29
025-050R
31
43...
Please answer this like right now
West Battery Corp. has recently been receiving complaints from retailers that its 9-volt batteries are not lasting as long as other name brands. James West, head of the TQM program at West's Austin plant, believes there is no problem because his batteries have had an average life of 40 hours, about 10% longer than competitors' models. To raise the lifetime above this level would require a new level of technology not available to West....
Urgent, please solve only if you know how to use R. I've
attached the data. Thank you!
Data:
traditional.training
revised.training
56
50
50
54
52
45
44
55
52
45
56
60
47
58
53
53
55
45
48
56
42
53
51
52
48
55
49
54
44
56
2) A manufacturing company is interested in whether they can save money by adopting a shorter training period while still achieving desired outcomes for employees. Researchers sampled 15 employees to...
please help in all sections asap!!
A fish story: The mean length of one-year-old spotted flounder, in millimeters, is 122 with standard deviation of 14, and the mean length of two-year-old spotted flounder is 165 with a standard deviation of 30. The distribution of flounder lengths is approximately bell-shaped. Part 1 out of 4 Anna caught a one-year-old flounder that was 145 millimeters in length. What is the z-score for this length? Round the answer to two decimal places. Anna's...
Please answer the marked questions..........
Please show your work.............
that all young adult men is greater the IC than 50 min d the 65 74 66 37 45 68 64 50 48 65 58 55 52 63 59 57 74 65 the 11.38 1138 The club professional at a difficul that his course is so tough that t course boasts average golfer loses a dozen or more golf balls d ng a round of golf. A dubious golfer sets out...
**R-STUDIO KNOWLEDGE REQUIRED***
PLEASE ANSWER THE FOLLOWING WITH ****R-STUDIO****
CODING- thank you so much!!
I am specifically look for the solution to part
***(h)**** and *****(i)***** below using R-Studio
code:
The data set in question
is:
YEAR Height Stories
1990 770 54
1980 677 47
1990 428 28
1989 410 38
1966 371 29
1976 504 38
1974 1136 80
1991 695 52
1982 551 45
1986 550 40
1931 568 49
1979 504 33
1988 560 50
1973 512...
We will be analyzing the built-in R dataset: ‘AirPassengers'. Carefully read through all the R code and associated output below. library(forecast) ## Registered s3 method overwritten by 'quantmod': ## method from ## as.zoo.data.frame zoo library(ggplot2) We first look at the time series data: ##AirPassengers time series AirPassengers ## Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec ## 1949 112 118 132 129 121 135 148 148 136 119 104 118 ## 1950 115 126 141 135...
I posted this question earlier but realized that the code was not easy to test since it was just screenshots and not text so I am reposting it: I'm very new at working with file streams, and I'm having trouble with a HW assignment I have to work on. For the assignment I have to read an input file named "MagicSquaresIn.txt" (included at the bottom) and I have to check whether they are normal, associative, and panmagic. To check that...
PLEASE ANSWER ALL QUESTIONS: Your help is appreciated, THANK YOU :) 5. List four personal characteristics of a Professional Rescuer: 6. What are the two classifications of responders that are more advanced then an EMR? more advanced Pre-hospital Care Personnel? 7. Upon arrival at the scene of an emergency, the first responder’s first priority is— 8. What agency is concerned with regulations dealing with exposure to blood born pathogens? 9. What are the two major diseases of concern caused by...