Answer all.
Make 3 client characterized neighborhood capacities named mymax1, mymax2, mymax3, that do
the work depicted beneath.
The capacity named mymax1 should take one boundary a that is a 1D cluster, and return
the maximum scalar worth in the given exhibit, or [] if the cluster an is vacant. The return
worth ought to be a scalar. Note that mymax1 capacity should deliver similar outcomes
as the implicit capacity named max, when it is given an information boundary that is a
1D exhibit.
The capacity named mymax2 should take one boundary a, that is a 1D or 2D exhibit. In the event that
the boundary a will be a 2D exhibit then mymax2 should return a column vector loaded up with the
greatest worth of every section in exhibit a. Assuming cluster an is 1D, mymax2 should return
the maximum scalar worth in the given cluster. In the event that the cluster an is vacant, mymax2 ought to
return []. Note that mymax1 capacity should create similar outcomes as the implicit
work named max, when it is given a 1D or 2D info boundary.
The capacity named mymax3 should take one boundary a that is a 1D or 2D cluster, and
return the most extreme worth in exhibit a, that is a scalar worth.
Your capacities mymax1, mymax2, mymax3 should utilize while circles with settled if else
articulations to figure the qualities returned.
Note: don't utilize the implicit capacity named max in your capacities named mymax1,
mymax2, or mymax3.
Start your lab07.m by setting the irregular seed with the worth of 1, for example
rng(1); % track down this first, on the off chance that you don't, you will get inaccurate qualities.
At that point make 3 exhibits named a,b,c, in the accompanying request.
an ought to be a column of 10 arbitrary numbers r with the end goal that - 5
b ought to be a 5x8 framework of arbitrary twofold with the end goal that - 100.0
c ought to be a 10x10 grid of arbitrary twofold to such an extent that 0.0
The cmds for doing that are appeared beneath:.
Use n=9, and p = 0.35 to complete parts (a) through (c) below. (a) Find the probabilities and construct a binomial probability distribution with the given parameters. (b) Compute the mean and standard deviation of the random variable. (c) Draw the probability histogram, comment on its shape, and label the mean on the histogram. (a) To construct a binomial probability distribution, complete the table to P(x) the right. (Round to four decimal places as needed.) (b) Compute the mean and standard deviation of the random variable. My =(Round to two decimal places as needed.) x =(Round to one decimal place as needed.) (c) Draw the probability histogram, comment on its shape, and label the mean on the histogram. Choose the correct answer below. OA. The binomial OB. The binomial Mean 0.47 probability 0.5 Mean 0.4-7 probability 0.3- distribution is 0.3- distribution is 0.2- skewed right. 0.2- skewed right. 0.1- 0.1- 01234567 89 ITTTTTT 01234567 892. Given n = 500, x = 220 (number of successes) compute: 2a. (2 pts) The sample proportion. p = 2b. (2 pts) The Confidence Interval. StatCrunch: Stat -> Proportion Stats -> One Sample -> With Summary Excel: Probability_and_Hypothesis file-> Proportion-Tests TI: STAT->TESTS->1-PropZInt Casio: STAT, INTR (F4), Z (F1), 1-P (F3) 2c. (2 pts) The margin of error, E E = 3: This is a new question, unrelated to the above questions. Given this confidence interval: (0.36, 0.60), compute the sample proportion and margin of error. Sample Proportion = (1 pt) The sample proportion = the mean of the C.I. limits = (L1 + L2)/2 Margin of Error = (1 pt) The Margin of Error: E = (L2 - Sample Proportion)3. Assume that 60% of STAT 312 students get A's. A SRS of 10 people who had taken STAT 312 is selected. a. Find The probability that exactly 6 in the sample got A's: b. Let X denote the number of STAT 312 students (out of 10) that got an A in the course described above. The distribution of X is (a) Binomial(10,0.25) (b) approximately MB, 2.4) (c) Binomial(10,0.6) (d) approximately N03, 1.55) Finding the Mean and Standard Deviation of a Discrete Random Variable Using Technology TI-83/84 Plus 1. Press STAT, highlight EDIT, select 1: Edit, and press ENTER. 2. Enter the values of the random variable in L1 and their corresponding probabilities in LZ. 3. Press STAT, highlight CALC. select 1: 1-VAR Stats, and press ENTER. 4. Select LI for List : : Select L2 for Eccalist : . Highlight Calculate and press ENTER. In the Sullivan Statistics Survey, individuals were asked to disclose the number of televisions in their household. In the following probability distribution, the random variable X represents the number of televisions in households. Number of Televisions, r P(x) (a) Verify this is a discrete probability distribution. 0 0.161 N 0.261 (b) Determine the mean of the random variable X. 0.176 0.186 0.116 (c) Determine the variance and standard deviation of the random 0.055 variable X. 0.025 0.010 9 0.010 (d) What is the probability that a randomly selected household has three Source: Sullivan Statistics Survey televisions? (e) What is the probability that a randomly selected household has three or four televisions