Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Quality Control Probability Analysis | Probability & Statistics
Mathematics for Data Science with Python
セクション 5.  9
single

single

bookChallenge: Quality Control Probability Analysis

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

You work in quality control at a rod manufacturing plant. Your goal is to analyze the quality of rod batches using probability rules and sample statistics.

Union Rule:

P(AB)=P(A)+P(B)P(AB)P(A \cup B) = P(A) + P(B) - P(A \cap B)

Conditional Probability:

P(AB)=P(AB)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}

Sample Statistics:

  • Mean: xˉ=xin\bar{x} = \frac{\sum x_i}{n}
  • Variance: s2=(xixˉ)2ns^2 = \frac{\sum (x_i - \bar{x})^2}{n}
  • Standard Deviation: s=s2s = \sqrt{s^2}

Given Data:

  • Total rods: 100
  • Defective rods: 20
  • Rods longer than 50 cm: 30
  • Defective and long rods: 10
  • Population mean length: 50 cm
  • Population standard deviation: 0.5 cm
  • Sample size: 10 rods

Your task:

  1. Compute the probability that a rod is defective or long (P(DL)P(D \cup L)).
  2. Compute the probability that a rod is defective given it is long (P(DL)P(D \mid L)).
  3. Generate a sample of 10 rod lengths using numpy and compute:
    • Mean.
    • Variance.
    • Standard deviation.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 5.  9
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt