Question

In: Statistics and Probability

Suppose that two integers from the set of 8 integers {1, 2, … , 8} are...

  1. Suppose that two integers from the set of 8 integers {1, 2, … , 8} are choosen at random. Find the probability that
  1. 5 and 8 are picked.
  1. Both numbers match.
  2. Sum of the two numbers picked is less than 4.
  1. [3+3+4 marks] Suppose that you pick a bit string from the set of all bit strings of length ten. Find the probability that:
  1. The bit string has the sum of its digits equal to seven.
  2. The bit string has more 0s than 1s.

The bit string has exactly two 1s, given that the string begins with a 1

Solutions

Expert Solution


Related Solutions

Suppose we are given a set ? containing 2? integers, and we wish to partition it...
Suppose we are given a set ? containing 2? integers, and we wish to partition it into two sets ?1 and ?2 so that |?1 | = |?2 | = ? and so that the sum of the numbers in ?1 is as close as possible to the sum of those in ?2. Let the neighborhood ? be determined by all possible interchanges of two integers between ?1 and ?2. Is ? exact?
Consider the following two sample data sets. Set​ 1: 5 3 2 8 6 Set​ 2:...
Consider the following two sample data sets. Set​ 1: 5 3 2 8 6 Set​ 2: 3 12 13 2 7 a. Calculate the coefficient of variation for each data set. b. Which data set has more​ variability? a. The coefficient of variation for set 1 is nothing ​%. ​(Round to one decimal place as​ needed.)
In Java, a set of integers is given. write a function to find 2 integers in...
In Java, a set of integers is given. write a function to find 2 integers in this set that sums upto a target value. i.e [1,5,2,0,11,3] target = 7 result [5,2] i.e [1,5,4,0,14,-7] target = 9 result [5,4] NOTE: THE SAME INTEGER CANNOT BE USED TWICE !!!
Consider the set of integers A = {1, 2, 3, 4, 5}. Pairs of numbers are...
Consider the set of integers A = {1, 2, 3, 4, 5}. Pairs of numbers are constructed where each number of the pair comes from set A. Construct the sampling distribution of sample ranges. Apply the Empirical Rule to this distribution.
Consider the integers from 1 to 10. Give the set of pairs (a, b) that corresponds...
Consider the integers from 1 to 10. Give the set of pairs (a, b) that corresponds to relation a ≡ b mod 1.
Suppose that you are given a set of words; and two words from the set: word...
Suppose that you are given a set of words; and two words from the set: word 1 and word 2. Write a program which will transform word 1 into word 2 by changing a single letter in word 1 at a time. Every transition that word 1 takes will have to be in the set of words. You must output the smallest sequence of transitions possible to convert word 1 into word 2. You may assume that all the words...
Suppose you receive utility ?(?, ?) = 8? 1/2 + ? from ? Instagram “likes” and...
Suppose you receive utility ?(?, ?) = 8? 1/2 + ? from ? Instagram “likes” and l minutes worked. Assume it takes 2 minutes to find an Instagram post to like, and you have 60 minutes to spend on work or Instagram. Assume your goal is to maximize your utility. a) How many Instagram posts will you like? How many minutes will you work? b) What is your total utility if you make the optimal choices above? c) Suppose the...
1a)Giving an array of integers A[1:8] ={5, 1, 3, 2, 7, 6, 8, 4}. What is...
1a)Giving an array of integers A[1:8] ={5, 1, 3, 2, 7, 6, 8, 4}. What is the running time of the insertion sort if both A[1..n/2] and A[n/2+1,n] are also sorted. Justify your answer. 2-illustrate the operation of RADIX-SORT on the following list of English words: COW, DOG, SEA, RUG, ROW, MOB, BOX, TAB, BAR, EAR, TAR, DIG, TEA, NOW, FOX. 3-Use counting sort, sort the following numbers: 4, 2, 5, 4, 2, 3, 0, 2, 4, 3
1.Suppose n and k are two positive integers. Pick a uniformly random lattice path from (0,...
1.Suppose n and k are two positive integers. Pick a uniformly random lattice path from (0, 0) to (n, k). What is the probability that the first step is ‘up’?
The Fibonacci sequence is the series of integers 0, 1, 1, 2, 3, 5, 8, 13,...
The Fibonacci sequence is the series of integers 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 . . . See the pattern? Each element in the series is the sum of the preceding two elements. Here is a recursive formula for calculating the nth number of the sequence: Fib(N) = {N, if N = 0 or 1 Fib(N - 2) + Fib(N - 1), if N > 1 a) Write a recursive method fibonacci that returns...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT