NOTE: PLEASE INCLUDE ALL THE R CODES ALONG WITH THE PLOTS
(a)
R code:
x=c(28.8,24.4,30.1,25.6,26.4,23.9,22.1,22.5,27.6,28.1,20.8,27.7,24.4,25.1,24.6,
26.3,28.2,22.2,26.3,24.4)
summary(x)
boxplot(x)
Output:
Min. 1st Qu. Median Mean 3rd Qu. Max.
20.80 24.28 25.35 25.48 27.63 30.10
Center=25.35, Inter quartile range=27.63-24.28=3.35. Since 3rd quartile-2nd quartile>2nd quartile-1st quartile so the distribution is positively skewed.
(c)
x=c(28.8,24.4,30.1,25.6,26.4,23.9,22.1,22.5,27.6,28.1,20.8,27.7,24.4,25.1,24.6,
26.3,28.2,22.2,26.3,24.4)
h<-hist(x, breaks=6, col="red", xlab="Pull force",
main="Histogram with Normal Curve",ylim=c(0,7))
xfit<-seq(min(x),max(x),length=40)
yfit<-dnorm(xfit,mean=mean(x),sd=sqrt(5.9069))
yfit <- yfit*diff(h$mids[1:2])*length(x)
lines(xfit, yfit, col="blue", lwd=2)
(d)
R code:
x=c(28.8,24.4,30.1,25.6,26.4,23.9,22.1,22.5,27.6,28.1,20.8,27.7,24.4,25.1,24.6,
26.3,28.2,22.2,26.3,24.4)
qqnorm(x,lwd=2);qqline(x, col = 2,lwd=2)
It is observed that the sample quantiles are closed to reference line hence we can assume data come from normal distribution.
NOTE: PLEASE INCLUDE ALL THE R CODES ALONG WITH THE PLOTS Instructions: Questions labeled with (R)...
1. (R) An interior automotive supplier places several electrical wires in a harness. A pull test measures the force required to pull spliced wires apart. A customer requires that each wire that is spliced into the harness withstand a pull force of 20 pounds. Let X be a random variable representing the pull force required to pull a spliced wire apart. The following are 20 observations of X 28.8 24.4 30.1 25.6 26.4 23.9 22.1 22.5 27.6 28.1 20.8 27.7...
Exercise 3. An automotive supplier of interior parts places several electrical wires in a harness. A pull test measures the force required to pull spliced wires apart. A customer requires that each wire spliced into the harness must with-stand a pull force of 20 pounds. Let X equal the pull force required to pull 20 gauge wires apart. Assume that X ~ N(u, o). The following data give 20 observations of X: 28.8 20.8 24.4 30.1 25.6 26.4 27.7 24.4...
NOTE: DO PART c) ONLY
PLEASE INCLUDE THE R CODES ALONG WITH THE
PLOTS
4. Let XI, . .. , Xn be a random sample from the inverse Gaussian distribution. IG(μ, λ), whose pdf is (a) Show that the MLE of μ and λ are μ-X and (b) It is known that nA/λ ~ χ2-1. Use this to derive a 100-(1-a)% CI for λ (c) (R) Consider the following dataset 10.6, 91.3, 51.7, 2.2, 3.8, 6.0, 17.8, 131.8, 31.0, 4.2,...
NOTE: DO PART c) ONLY
PLEASE INCLUDE THE R CODES ALONG WITH THE PLOTS
4. Let XI, . .. , Xn be a random sample from the inverse Gaussian distribution. IG(μ, λ), whose pdf is (a) Show that the MLE of μ and λ are μ-X and (b) It is known that nA/λ ~ χ2-1. Use this to derive a 100-(1-a)% CI for λ (c) (R) Consider the following dataset 10.6, 91.3, 51.7, 2.2, 3.8, 6.0, 17.8, 131.8, 31.0, 4.2,...
Answer all the questions 13,14 and 15. with proper
explanation please. thank you.
13. Three current-carrying wires with a length of 2 m each are placed in the plane of the page parallel to each other. The distances between the wires are given in the figure. The currents running in the wires are all equal 00 A, the directions of the currents are marked in the figure by arrows. Find the absolute value and the ?? direction of the magnetic...
Please help me with these questions with R codes.. thank
you!!
Here’s the data I have obtained for the questions:
Data: 9 students in total
Height(cm) Head Circumference(cm)
179 60
161 55
162 57
155 60
158 56
172 57
191 60
179 57
163 58
2. Draw at most 3 plots to visually describe your data. Is your response variable approximately Normal? 3. Numerically describe the centre, spread and any unusual points of your variables/data. 4. Fit and describe...
Please include the R code for each individual question.
Save PDF to My Note The article "The Undrained Strength of Some Thawed Permafrost Soils" (Canadian Geotech. J., 1979: 420-427) contained the accompanying data on y shear strength of sandy soil (kPa), xl depth (m), and x2 water content (%) Obs Depth Content Strength 8.9 31.5 14.7 2 36.6 27.0 48.0 3 36.8 25.9 25.6 46.1 39.1 10.0 56.9 39.216.0 66.9 38.3 16.8 77.3 33.9 20.7 88.4 33.8 38.8 9 6.5...
Need help with this Matlab program %% Exercise 1 % NOTE: Please suppress output--i.e., use a semicolon ';' at the end of any % commands for which the output is not necessary to answer the question. % Delete these notes before turning in. % Define input variable theta as discretized row vector (i.e., array). theta = ??; % Define radius. r = ??; % Define x and y in terms of theta and r. x = ??; y = ??;...
Please Show all work . Use attached Data and graph to answer
questions
Titration of Acetic Acid: 0. IM 1) Check to make sure that the volume on If it does not read 0.00 mL, adjust it to do so before you proceed any further. your sodium hydroxide buret reads 0.00 mL 2) Use the buret that is located near the acetic acid container to dispense 25.00 mL of acetic acid solution into a clean dry 100 mL beaker. Record...
I need help with this assignment in C++,
please!
*** The instructions and programming style details
are crucial for this assignment!
Goal: Your assignment is to write a C+ program to read in a list of phone call records from a file, and output them in a more user-friendly format to the standard output (cout). In so doing, you will practice using the ifstream class, I'O manipulators, and the string class. File format: Here is an example of a file...