Calculate sample mean and standard deviation, MATLAB Programming

Make a vector of 500 random numbers from a normal distribution with mean 2 and standard deviation 5(randn).

a After you generate the vector, verify that the sample mean and standard deviation are close to 2 and 5 respectively (mean,std).

b Determine  P(X≤ 2)

c P(-1≤X≤  1)

c Plot distribution.


Problem:

a solve the following integral (analytical method only)

251_sample mean and standard deviation.png

b use Matlab to compute the value of above integral

c display the difference between both values (a and b) if any

Posted Date: 2/18/2013 1:09:03 AM | Location : United States







Related Discussions:- Calculate sample mean and standard deviation, Assignment Help, Ask Question on Calculate sample mean and standard deviation, Get Answer, Expert's Help, Calculate sample mean and standard deviation Discussions

Write discussion on Calculate sample mean and standard deviation
Your posts are moderated
Related Questions
function y=tps(r) % This is the thin-plate spline if r  y=0; else  y=r^2*log(r); end function y=fun(point) % my target function x=point(1); z=point(2); y=7-4*x^2+z^3;

Using numerical techniques, plot the intensity distribution for LP 01 and LP 11 modes. Vary the value of V (reduce it to 1.5) and plot several of the intensity plots (of LP 01 )

Operator Precedence Rules: A few operators have precedence over the others. For illustration, in the expression 4 + 5 * 3, the multiplication takes the precedence over additio

The Programming Concept: In most of the programming languages, random function returns a real number; therefore the real number would then have to be rounded to produce a rand

The average speed of vehicles on a freeway is being studied. Assume that the standard deviation of vehicle speed is known to be 8 km/h. (a) Suppose observations on 120 vehicles

Model the three degree of freedom system shown in Figure Q5 and solve for the displacements of the three masses due to a force of 10 N applied to the bottom mass at a frequency of

Illustrations of calling the function: Here are illustrations of calling the function: >> cylcost(32,73,4.50) ans = 661.5000 >> fprintf('The cost would be $%.2f\n'

A file houseafford.dat stores on its three lines years, median incomes and median home prices for a city. The dollar amounts are in thousands. For example, it might look like this:

An environmental consulting firm is conducting a site investigation on an abandoned industrial site that is 200 m by 150 m in size (Fig. 1). A number of piezometers were installed

write a computer program that will provide a user with the equilibrium concentration of vacancies in a metallic element as a function of temperature.Temperature range should be men