You generate 100 random variates. What is the empirical cdf
value for the 7th smallest data...
You generate 100 random variates. What is the empirical cdf
value for the 7th smallest data point, namely ? Present
your answer as a decimal to two decimal places; for example
0.43.
To generate 100 random numbers between 1-100 in a
randomData.txt file
To read the 100 random numbers from randomData.txt and store
them in an array
Print the data in the array
Find the smallest and the largest of the random numbers and
their array position
Insert an element of value100 in the 51th position
of the array
Delete all the elements of the array having values between
50-80 and print the residual array
Sort the data in the final array(residual)...
A list of 100 numbers has the largest value 90 and the smallest
value 12.9, with a mean 40, a median 50, and a standard deviation
20. However, you accidentally copied the smallest number “12.9” as
“1.29”. Is it possible to determine by how much the mean, the
median and the standard deviation change? For each quantity, if so,
show your computation. Otherwise, explain why
Use Excel to generate 100 N (10,5) distributed random values
(that is 100 values of a Normally distributed random variable with
mean 10 and standard deviation 5). Plot histogram for your data.
See Appendix on how to generate these values.
In many
programming languages you can generate a random number between 1
and a limiting value named LIMIT by using a statement similar to
randomNumber = random(LIMIT). Create the logic for a guessing game
in which the application generates a random number and the player
tries to guess it. Display a message indicating whether the
player’s guess was correct, too high, or too low. (After you finish
Chapter 4, you will be able to modify the application so that the...
Propose two of your own random number generation schemes. Please
generate 100 random numbers ?? (? = 1,2, … ,100) for each scheme
and show the results on the same plot for comparison (i.e., x-axis
of the plot will show the index ? and y-axis will show the
generated random numbers ??. You can use different colors and/or
symbols to distinguish one sequence from the other). Discuss which
scheme will be preferred.
Part 1: Random Data, Statistics, and the Empirical Rule **Data
Set Below**
Methods: Use Excel (or similar
software) to create the tables and graph. Then copy the items and
paste them into a Word document. The tables should be formatted
vertically, have borders, and be given the labels and titles stated
in the assignment. The proper symbols should be used. Do not submit
this assignment as an Excel file. The completed assignment should
be a Word (or .pdf) document.
The...
Obtain 1337 values, at random, from a uniform distribution
where the smallest possible value is 20 and the largest possible
value is 40. Label the vector ex5. Also, consider ex5 the
population. Report all R code
Write a program that does the following:
Generate an array of 20 random integers between -100 and
100.
Compute the average of the elements of the array and find the
number of elements which are above the average. For example, if the
elements of the array were 5 2 4 1 3 then your program should
output
The average is 3.0
There are two elements above the average
Find the smallest element of the array as well as its index...
Generate a simulated data set with 100 observations based on the
following model. Each data point is a vector Z= (X, Y) where X
describes the age of a machine New, FiveYearsOld, and TenYearsOld
and Y describes whether the quality of output from the machine
Normal or Abnormal. The probabilities of a machine being in the
three states are
P(X = New) = 1/4
P(X = FiveYearsOld) = 1/3
P(X = TenYearsOld) = 5/12
The probabilities of Normal output conditioned...