Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

R code help Problem 2 Counting a nasty event Based on the setup from problem 1 describe in words the compound event. ind2

R code help

Problem 2 Counting a nasty event

Based on the setup from problem 1 describe in words the compound event.

 ind2<- abs(sampleSpace$die1 -sampleSpace$die2) <=2 & abs(sampleSpace$die2 -sampleSpace$die3) <=2

Call this event A. By counting elements in A using sampleSpace and ind2 what is P(A)?

Problem 1 setup

sampleSpace<-expand.grid(die1= 1:6, die2= 1:6, die3 = 1:6) lengths(sampleSpace) nrow(sampleSpace) typeof(sampleSpace) ind<-sampleSpace$die1 == 4 ind typeof(ind) sampleSpace[ind, ] lengths(sampleSpace[ind, ])

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algebra Form And Function

Authors: William G McCallum, Eric Connally, Deborah Hughes Hallett

2nd Edition

1119032091, 9781119032090

More Books

Students also viewed these Mathematics questions

Question

4. Similarity (representativeness).

Answered: 1 week ago