Question

In: Computer Science

CALCULATE THE MEAN value : Mean(x) = x0 = 1/N * ∑in xi and the Stardandar...

CALCULATE THE MEAN value : Mean(x) = x0 = 1/N * ∑in xi and the Stardandar deviacion :     σ = √ (∑in (xi-x0)2 / (N-1) BOTH USING MATLAB EMERGENCY PLEASE . THE DATA IS BELOW ....SHOW THE STEPS AND THE GRAPHS ...THERE ARE R1 AND R5 for the data

R1

1.3004560111742451e+01
1.2989489582476999e+01
1.2992918145494006e+01
1.3015926219975810e+01
1.3003113745531683e+01
1.3009060588116746e+01
1.3006255988139626e+01
1.3006525855308004e+01
1.3015986719424999e+01
1.3015607658994400e+01

R5

1.2896465697037076e+01
1.3078048708539365e+01
1.2947635768569747e+01
1.3036655293457565e+01
1.2970848809276067e+01
1.3044710696683399e+01
1.3036858101292060e+01
1.3033168310496990e+01
1.2872334019855321e+01
1.2853995527962450e+01

Solutions

Expert Solution

`Hey,

Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.

clc

clear all

close all

format short

R1=[1.3004560111742451e+01

1.2989489582476999e+01

1.2992918145494006e+01

1.3015926219975810e+01

1.3003113745531683e+01

1.3009060588116746e+01

1.3006255988139626e+01

1.3006525855308004e+01

1.3015986719424999e+01

1.3015607658994400e+01];

R5=[1.2896465697037076e+01

1.3078048708539365e+01

1.2947635768569747e+01

1.3036655293457565e+01

1.2970848809276067e+01

1.3044710696683399e+01

1.3036858101292060e+01

1.3033168310496990e+01

1.2872334019855321e+01

1.2853995527962450e+01

];

disp('Mean of R1 is');

M1=sum(R1)/length(R1)

disp('Mean of R5 is');

M2=sum(R5)/length(R5)

disp('Standard deviation of R1 is');

sqrt(sum((R1-M1).^2)/(length(R1)-1))

disp('Standard deviation of R5 is');

sqrt(sum((R5-M2).^2)/(length(R5)-1))

Kindly revert for any queries

Thanks.


Related Solutions

CALCULATE THE MEAN value : Mean(x) = x0 = 1/N * ∑in xi and the Stardandar...
CALCULATE THE MEAN value : Mean(x) = x0 = 1/N * ∑in xi and the Stardandar deviacion :     σ = √ (∑in (xi-x0)2 / (N-1) BOTH USING MATLAB EMERGENCY PLEASE . THE DATA IS BELOW ....SHOW THE STEPS AND THE GRAPHS ...THERE ARE R1 AND R5 for the data R1 1.3004560111742451e+01 1.2989489582476999e+01 1.2992918145494006e+01 1.3015926219975810e+01 1.3003113745531683e+01 1.3009060588116746e+01 1.3006255988139626e+01 1.3006525855308004e+01 1.3015986719424999e+01 1.3015607658994400e+01 R5 1.2896465697037076e+01 1.3078048708539365e+01 1.2947635768569747e+01 1.3036655293457565e+01 1.2970848809276067e+01 1.3044710696683399e+01 1.3036858101292060e+01 1.3033168310496990e+01 1.2872334019855321e+01 1.2853995527962450e+01
Assume n independent observations, denoted Xi, (i=1,....n), are taken from a distribution with a mean of...
Assume n independent observations, denoted Xi, (i=1,....n), are taken from a distribution with a mean of E(X)=μ and variance V(X) =σ2. Prove that the mean of the n observations has an expected value of E(X)=μ and a variance of V(X) =σ2/n. Use the appropriate E and V rules in your answer. What happens as n becomes large? What does this tell you about the quality of the sample mean as an estimate of μ as the sample size increases?
(a) Show that the sample variance s 2 = [Pn i=1(xi − x¯) 2 ]/(n −...
(a) Show that the sample variance s 2 = [Pn i=1(xi − x¯) 2 ]/(n − 1) can also be expressed as s 2 = [Pn i=1 x 2 i − ( Pn i=1 xi) 2 n ]/(n − 1). At a medical center, a sample of 36 days showed the following number of cardiograms done each day. 25 31 20 32 20 24 43 22 57 23 35 22 43 26 56 21 19 29 36 32 33 32...
1. Suppose X is normal with ?=10 and ?=5. Find x0 such that P(X?x0)=0.0643 10.8 15...
1. Suppose X is normal with ?=10 and ?=5. Find x0 such that P(X?x0)=0.0643 10.8 15 10.32 17.6 2.4 2. A survey was conducted to measure the number of hours per week adults in the United States spend on home computers. In the survey, the number of hours was normally distributed, with a mean of 7 hours and a standard deviation of 1 hour. A survey participant is randomly selected. Which of the following statements is true? The probability that...
Calculate the lower confidence limit (LCL) of the mean for the following: x¯= 600, n =...
Calculate the lower confidence limit (LCL) of the mean for the following: x¯= 600, n = 94, σ = 8 (sigma), α = 0.10 (alpha).
Calculate the lower confidence limit (LCL) of the mean for the following: x¯= 600, n =...
Calculate the lower confidence limit (LCL) of the mean for the following: x¯= 600, n = 94, σ = 8 (sigma), α = 0.10 (alpha).
Distribution A: xi Distribution A: P(X=xi) Distribution B: xi Distribution B: P(X=xi)                         0 0.03   &nbsp
Distribution A: xi Distribution A: P(X=xi) Distribution B: xi Distribution B: P(X=xi)                         0 0.03                             0 0.49                         1 0.08                             1 0.23                         2 0.17                            2 0.17                        3    0.23                            3 0.08                        4 0.49 4 0.03 c. What is the probability that x will be at least 3 in Distribution A and Distribution​ B? d. Compare the results of distributions A and B The previous answers to A & B were: a. What is the expected value for...
Calculate the mean, ?⎯⎯⎯,x¯, and standard deviation, ?,s, for the data set. Sample Value 1 8.013...
Calculate the mean, ?⎯⎯⎯,x¯, and standard deviation, ?,s, for the data set. Sample Value 1 8.013 2 8.013 3 8.012 4 8.029 5 8.013 6 8.025
Let D = {xi} n i=1, where xi ∈ R, be a data set drawn independently...
Let D = {xi} n i=1, where xi ∈ R, be a data set drawn independently from a Gumbel distribution α ∈ R is the location parameter and β > 0 is the scale parameter. a) Derive an algorithm for estimating α and β. b) Implement the algorithm derived above and evaluate it on data sets of different sizes. First, find or develop a random number generator that creates a data set with n ∈ {100, 1000, 10000} values using...
Find the solution of the initial-value problem X′(t) = ( −8 −5 5 2 )X X0...
Find the solution of the initial-value problem X′(t) = ( −8 −5 5 2 )X X0 = ( 0 1)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT