当前位置: 首页 > news >正文

Homework 1 - Random Distribution Related

1.3【 CDF & 各种期望值 】

To solve this problem, we need to calculate several statistical properties for the given discrete probability distribution:

  1. The expected value ⟨ x ⟩ \langle x \rangle x (mean)
  2. The expected value of x 2 x^2 x2, ⟨ x 2 ⟩ \langle x^2 \rangle x2
  3. The standard deviation σ \sigma σ
  4. The variance σ 2 \sigma^2 σ2
  5. The cumulative distribution function (CDF)

Step-by-Step Solution:

  1. Define the probability distribution:

    • P ( x = 0 ) = 1 2 P(x = 0) = \frac{1}{2} P(x=0)=21
    • P ( x = 1 ) = 1 3 P(x = 1) = \frac{1}{3} P(x=1)=31
    • P ( x = 2 ) = 1 6 P(x = 2) = \frac{1}{6} P(x=2)=61
  2. Calculate ⟨ x ⟩ \langle x \rangle x:
    ⟨ x ⟩ = ∑ i x i P ( x i ) \langle x \rangle = \sum_{i} x_i P(x_i) x=ixiP(xi)

  3. Calculate ⟨ x 2 ⟩ \langle x^2 \rangle x2:
    ⟨ x 2 ⟩ = ∑ i x i 2 P ( x i ) \langle x^2 \rangle = \sum_{i} x_i^2 P(x_i) x2=ixi2P(xi)

  4. Calculate the variance σ 2 \sigma^2 σ2:
    σ 2 = ⟨ x 2 ⟩ − ⟨ x ⟩ 2 \sigma^2 = \langle x^2 \rangle - \langle x \rangle^2 σ2=x2x2

  5. Calculate the standard deviation σ \sigma σ:
    σ = σ 2 \sigma = \sqrt{\sigma^2} σ=σ2

  6. Calculate the CDF:
    The CDF F ( x ) F(x) F(x) is the sum of the probabilities up to and including x x x.


The calculations for the given discrete probability distribution are as follows:

  1. Expected value ⟨ x ⟩ \langle x \rangle x:
    ⟨ x ⟩ = 0 ⋅ 1 2 + 1 ⋅ 1 3 + 2 ⋅ 1 6 = 0 + 1 3 + 1 3 = 2 3 \langle x \rangle = 0 \cdot \frac{1}{2} + 1 \cdot \frac{1}{3} + 2 \cdot \frac{1}{6} = 0 + \frac{1}{3} + \frac{1}{3} = \frac{2}{3} x=021+131+261=0+31+31=32

  2. Expected value of x 2 x^2 x2, ⟨ x 2 ⟩ \langle x^2 \rangle x2:
    ⟨ x 2 ⟩ = 0 2 ⋅ 1 2 + 1 2 ⋅ 1 3 + 2 2 ⋅ 1 6 = 0 + 1 3 + 4 6 = 1 3 + 2 3 = 1 \langle x^2 \rangle = 0^2 \cdot \frac{1}{2} + 1^2 \cdot \frac{1}{3} + 2^2 \cdot \frac{1}{6} = 0 + \frac{1}{3} + \frac{4}{6} = \frac{1}{3} + \frac{2}{3} = 1 x2=0221+1231+2261=0+31+64=31+32=1</


http://www.mrgr.cn/news/61363.html

相关文章:

  • Web开发(一)HTML5
  • C++ ——— 内部类
  • 【无标题】四类sql语句通用
  • 【MySQL学习笔记】MySQL视图View
  • 追溯 RFC817:网络性能优化的先驱智慧与启示
  • component-动态控制 div width 的值 根据传入的变量决定width的值 vue
  • 手写ioc容器(简易版)
  • 【jvm】如何设置堆内存大小
  • 事务学习一
  • 年薪百万打工人自爆:我的大厂生存指南!
  • 使用DeepLabV3实现植叶病害检测
  • File类踩坑记录
  • 细胞核荧光探针(一):一种红色发光、NADPH响应的的喹啉基
  • 【点云异常点检测数据集】Real3D-AD数据集介绍
  • 基于SSM大学生互动交流网站设计与实现
  • 四元数各个旋转API的使用
  • 【JSON相关漏洞(Hijacking+Injection)挖掘技巧及实战案例全汇总】
  • mongo实操笔记
  • 美团外卖霸王餐系统如何对接?有哪些具体步骤?
  • Java Lock LockSupport 源码
  • 代码学习:如何阅读开源代码
  • 网络搜索引擎Shodan(6)
  • 今日总结10.29
  • 重学SpringBoot3-怎样优雅停机
  • 基于ssm+jsp639实验室排课系统设计与实现
  • 力扣每日一题 3211. 生成不含相邻零的二进制字符串