1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
AysviL [449]
3 years ago
10

AllElectronics carries 1000 products, P1, . . . , P1000. Consider customers Ada, Bob, and Cathy such that Ada and Bob purchase t

hree products in common, P1,P2, and P3. For the other 997 products, Ada and Bob independently purchase seven of them randomly. Cathy purchases 10 products, randomly selected from the 1000 products. In Euclidean distance, what is the probability that dist(Ada,Bob) > dist(Ada,Cathy)
Mathematics
1 answer:
____ [38]3 years ago
7 0

Answer:

The probability that dist(Ada,Bob)>(Ada,Cathy)  is very small as there is very large number of range to choose the product ==4.7*10^-9.

Step-by-step explanation:

Given:

Ada ,bob and cathy purchase electronics carries

Ada and bob commonly take 3 products and 7 independently.

And Cathy take 10  products on its own .

To Find:

probability that    dist(Ada,bob)>dis(Ada,Cathy)?

Solution:

Using Euclidean distance  is distance formula used in coordinate geometry simply known as Distance formula,

this problem is related to Euclidean Distance and Jaccard Similarity in Data mining.

1st calculate probability for x such that ,

3\leq x\leq 10   as there are 3 common products.

P(3\leq x\leq 10)

=\frac{7C(x-3)*990C(10-x)}{997C7}.............. where x=3,4,5....10. ..........(equation 1).

Now calculate for each term,we get

When

x=3,P(x=3)=0.95

x=4,P(x=4)=6.8*10^{-3}

x=5,P(x=5)=4.1*10^{-5}

x=6,P(x=6)=2.1*10^-7

x=7,P(x=7)=8.5*10^-10

x=8,P(x=8)=2.6*10^-12

x=9,P(x=9)=5.2*10^-15

x=10,P(x=10)=5.3*10^-18.

Now calculating the Euclidean distance,

It is distance between two points ,

So there are total of 2 points as Ada and bob

they have 3 products in common

and 7 independent products ,7  Ada and 7 bob

Total of 17 products .

1,2,3,4,5,6..........,16,17.

<em>Consider each product number as distance between them ,</em>

<em>(Suppose 5 product and 1 product distance will be 4) </em>

<em>Similarly,</em>

<em>Suppose Ada is at 3rd number at the  3 product (as they have 3 product same.)</em>

and bob  at product 17.

Hence when 3 products are similar distance between Ada and bob will be of 14.

Euclidean distance =\sqrt{14}.

Hence the Jaccard similarity =(Ada intersection Bob)/(Ada union bob)

=3/14

<em>When 4 products are same means both will selected 6 and 6 independent product so that  the each one will get 10 products i.e. starting condition should remain same .</em>

<em>Hence now  bob will be at 16th term as it will take one more same product in between them </em>

<em>So no of same products will be 4,</em>

Hence Ada will be at 4th term and bob will be at 16

So Euclidean distance =\sqrt{12}.

Similar For Next terms we can conclude as follows:

When

X=5 , dist(ada,bob)=\sqrt{10},

X=6,dist(Ada,Bob)=\sqrt{8}

X=7,dist(Ada,Bob)=\sqrt{6}

X=8,dist(Ada,Bob)=\sqrt{4}

X=9,dist(Ada,Bob)=\sqrt{2}

X=10,dist(Ada,Bob)=\sqrt{0}.

Now for( Ada and cathy)

Here X ranges different but use same concept as above

Each term analog to the distance between them

Suppose 1st and 3rd term distance will be 2

First calculate

P(1\leq x\leq 10) as Cathy selects 10 products with no common between them.

P(1\leq x\leq 10)

=\frac{10Cx*990C(10-x)}{1000C10}..................equation (2)

Calculate for each term As x=1,2,3...8,9,10.

Hence

P(X=1)=9.23*10^-3  P(X=5)=3*10^-11     P(X=9)=3.8*10^-21

P(X=2)=8.4*10^-5   P(X=6)=1.5*10^-13   P(X=10)=3.8*10^-21

P(X=3)=6.9*10^-7   P(X=7)=6.1*10^-16

P(X=4)=4.9*10^-9   P(X=8)=1.9*10^-18

<em>So Ada will have 10 products and Cathy will have 10 products</em>

Namely,

1,2,3,4,5.......18,19,20.

<em>So suppose 1 product is same between them will be ,</em>

<em>both will have 1 product so remaining will be 19 products.</em>

<em>Jaccard similarity =1/19 </em>

<em>Distance to reach 1 to 19th product will be 18</em>

<em>So Euclidean distance =</em>\sqrt{18}<em></em>

<em>For next when they will 2 products in same remaining will be 18 </em>

<em>Jaccard similarity =2/18</em>

<em>And Distance to reach  2 to 18 th product will be  16</em>

Euclidean distance =\sqrt{16}

Similar for  other

When

x=3 dist(Ada, Cathy)=\sqrt{14}

x=4 dist(Ada, Cathy)=\sqrt{12}

x=5  dist(Ada, Cathy)=\sqrt{10}

x=6  dist(Ada, Cathy)=\sqrt{8}

x=7  dist(Ada, Cathy)=\sqrt{6}

x=8  dist(Ada, Cathy)=\sqrt{4}

x=9  dist(Ada, Cathy)=\sqrt{2}

x=10  dist(Ada, Cathy)=\sqrt{0}

<em>This sqrt(0) means both are holding same products hence they are at same point on the graph so distance with itself will be zero.</em>

Now the Probability of distance of dist(Ada,Bob)>dist(Ada,cathy) will be

=multiplying both the probabilities equations (Adding each term probabilities and multiplying )

=Equation(1) *Equation( 2).

=Summation Of P(3≤x≤10)*summation of P(1≤x≤10)

=4.7*10^-9.

In larger number of product event of in large space ,it is difficult( less likely)  that they will chose same product .

You might be interested in
Pllllzzzzzzzzzzzzzzzz help me with this!!!!!!!!!!!!
Lorico [155]

Step-by-step explanation:

djifvodp09govovkvcicodsodoss

4 0
3 years ago
Round to<br> 237 divide by 4 = (hundredths)
irga5000 [103]
237/4 = 59.25

Hope that helps
4 0
3 years ago
A cellular phone company monitors monthly phone usage. The following data represent the monthly phone use in minutes of one part
Sergeu [11.5K]

Answer:

The standard deviation increased but there was no change in the interquantile range          

Step-by-step explanation:

We are given the following data in the question:

320, 411, 348, 537, 420, 449, 462, 403, 454, 517, 515, 358, 438, 541, 387, 368, 502, 437, 431, 428.

n = 20

a) Formula:

\text{Standard Deviation} = \sqrt{\displaystyle\frac{\sum (x_i -\bar{x})^2}{n-1}}  

where x_i are data points, \bar{x} is the mean and n is the number of observations.  

Mean = \displaystyle\frac{\text{Sum of all observations}}{\text{Total number of observation}}

Mean =\displaystyle\frac{8726}{20} = 436.3

Sum of squares of differences =

13525.69 + 640.09 + 7796.89 + 10140.49 + 265.69 + 161.29 + 660.49 + 1108.89 + 313.29 + 6512.49 + 6193.69 + 6130.89 + 2.89 + 10962.09 + 2430.49 + 4664.89 + 4316.49 + 0.49 + 28.09 + 68.89 = 75924.2

S.D = \sqrt{\frac{75924.2}{19}} = 63.21

Sorted Data = 320, 348, 358, 368, 387, 403, 411, 420, 428, 431, 437, 438, 449, 454, 462, 502, 515, 517, 537, 541

IQR = Q_3 - Q_1\\Q_3 = \text{upper median},\\Q_1 = \text{ lower median}

Median:\\\text{If n is odd, then}\\\\Median = \displaystyle\frac{n+1}{2}th ~term \\\\\text{If n is even, then}\\\\Median = \displaystyle\frac{\frac{n}{2}th~term + (\frac{n}{2}+1)th~term}{2}

Median = \frac{431 + 437}{2} = 434

Q_1 = \frac{387 + 403}{2} = 395\\\\Q_3 = \frac{462 + 502}{2} = 482

IQR = 482 - 395 = 87

b) After changing the observation

0, 411, 348, 537, 420, 449, 462, 403, 454, 517, 515, 358, 438, 541, 387, 368, 502, 437, 431, 428

Mean =\displaystyle\frac{8406}{20} = 420.3

Sum of squares of differences =

176652.09 + 86.49 + 5227.29 + 13618.89 + 0.09 + 823.69 + 1738.89 + 299.29 + 1135.69 + 9350.89 + 8968.09 + 3881.29 + 313.29 + 14568.49 + 1108.89 + 2735.29 + 6674.89 + 278.89 + 114.49 + 59.29 = 247636.2

S.D = \sqrt{\frac{247636.2}{19}} = 114.16

Sorted Data = 0, 348, 358, 368, 387, 403, 411, 420, 428, 431, 437, 438, 449, 454, 462, 502, 515, 517, 537, 541

Median = \frac{431 + 437}{2} = 434

Q_1 = \frac{387 + 403}{2} = 395\\\\Q_3 = \frac{462 + 502}{2} = 482

IQR = 482 - 395 = 87

Thus. the standard deviation increased but there was no change in the interquantile range.

5 0
3 years ago
The ratio of the weight of a book to the weight of a mug is 7:5. What fraction of the total weight of the book and mug is the we
sergeinik [125]

Answer:

  7/12

Step-by-step explanation:

You can pretend the given ratio units are the actual weights. Then the desired ratio is ...

  book : mug = 7 : 5

  book : (book +mug) = 7 : (7 +5) = 7 : 12

The weight of the book is 7/12 of the total weight.

7 0
3 years ago
When triangle ABC is rotated about side AB, what figure is formed?
Pani-rosa [81]
If it is rotated along AB it would be a cone
5 0
3 years ago
Read 2 more answers
Other questions:
  • What is log x + log y - 2 log z written as a single logarithm?
    12·1 answer
  • PLZZZZZZZZZZZZZZZ HELP ME FAST
    13·1 answer
  • What is the average rate of change of the line whose equation is:
    12·1 answer
  • A system of equations is shown below:
    12·1 answer
  • I need help on this question!!!ASAP!!!
    15·2 answers
  • caitlyn has $210 in her savings account and she has to pay her parents $5 each month.Santos has $90 dollars and he saves $5 doll
    10·1 answer
  • 36-40. The probability that a fatal car accident is alcohol related is over 40%. The probability that a fatal accident happens a
    11·1 answer
  • To complete her holiday wrapping, Bella needs identical
    5·1 answer
  • What is the solution set for -2n-2≥2?<br> A. n≤-2<br> B. n≥-2<br> C. n≤0<br> D. n≥0
    5·2 answers
  • Problem 2: Emilia opened a savings account and deposited $400.00 as principal. The account earns 5% interest, compounded annuall
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!