回复: 2
跳转到指定楼层
上一主题 下一主题
收起左侧

meta统计系统整理 +题目

 
🔗
匿名用户-LR8NJ  2025-4-5 05:50:12 |倒序浏览

2025(1-3月) 分析|数据科学类 硕士 全职@meta - 网上海投 - Onsite  | 😃 Positive 😐 Average | Pass | 在职跳槽

1)  Bernoulli Trial : 2 possible outcome Success = 1  failure  = 0
x is success P(X = x) = p^x (1-p)^1-x  , Mean( expected value) = E[X] = P , Variance: Var(X) = p(1-p)  ,Standard Deviation = 根号 p(1-p)  
2)binomoal distribution : Mean(expected value) = E[X] = np Variance : Var(X) = np(1-p) Standerdevaitaion = 根号 np(1-p)
3)Bionomal coefficient: { n k} means number of ways choose k success from n trials
4)complementary Probability: 1 - P1)     Law of total Probability
5) Law of total Probability: P(X) = B1 * P(X) + B2 *(PX) + B3 * P(X) = total probaibility randomly ..
6)Conditional Probability : P(A|B) = P( A and B) / P(B) 
7)Bayes’ rule : P(A|B) = P(B|A)P(A)/ P(B)
8) Central limit  / large number.
基础的掌握这些概念 应用到题目中基本就是涉及这些了 下面是一些具体的考试题目, 希望加加米!
Impression . 1point 3acres
X people, 一共有Y Impression随机分配 
1) expected impression per audience? 
For one impression, the prob one person will see = 1/X (Each ad has uniform 1/X prob to be seen). n次实验成功了m次的binomial distribution 
p=1/X, n=Y .
E = np = Y/X 
Let's check all the requirements of binomial distribution are valid: 
1. Trials are independent (because we can assign an impression to any people irrespective of whether they already saw an impression or not) 
2. Fixed number of trials (Y) 
3. P(success) is the same across trials (1/X for every impression assignment we have to do) . ----
2) probability of each person have at least one impression 
For one user 
- the prob of seeing no impression = (1-1/X)^Y 
- the prob that he/she will see at least 1 ad = 1-(1-1/X)^Y 
~= 1-(1-Y/X) = Y/X 
这里用到了tyler expansion on binomial coefficient: (1 + x)^a ~= 1 + ax 需要X很大 
3) expected number of audience have at least one impression 
the number of people who will see at least one impression = X * (1-(1-Y/X)
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限查看其他获取积分的方式
Unlock interview details and practice with AI
Curated Interview Questions from Top Companies
问trends for day 2-30 . 1point3acres.com
如果是一个trend:a fluctuating curve with larger value during weekends and smaller value during weekdays. If we are running any campaigns or suppose FB is healthily growing and increasing user engagement, there might be an increase in the values in general. 如果是其中某一天的dist:波动比较大的长尾分布 
如果是average daily dist:比较稳定的长尾分布 
d. 取出day 1 所有page share=5的population, 问同样的trend。和c比哪个方差大 ,是什么分布? 
a similar fluctuating curve with larger average # of sharing and smaller variance/smaller gap between weekends and weekdays. c has larger variance because users are not as engaged as users with 5 shares per day - they can just share two posts by chance. 
2. dist of time spent per user,一般是一个right skewed dist.google  и
a. 画出5%,median,mean,95%,以及他们分别在未来三周的dist 
* average time spent on FB is around 35min per day 
p5: 0min 
median: 30min 
mean: 35min 
p95: 100min 
未来三周的dist: a fluctuating curve with larger value during weekends and smaller value during weekdays. Fluctuation is largering in p5, smaller in p95. 
b. 取出今天分布在mean的用户,他们在未来30天的time spent dist应该是怎样 的?Will the mean still be same or larger or smaller? 
A fluctuating curve with larger value during weekends and smaller value during weekdays. The mean will remain the same. 
Distribution of time spent/DAU . .и
假设所有人同时在线,每人下线几率独立于已在线时间,则服从exponential 
Distribution of #comments/DAU .google  и
假设每人每看到一个post有独立的p的几率comment,p较小,impression较多,则服从 poisson 
帖子的总回复数、转发数之类的分布,不是确定时间内的 
社交网络的这些metric通常都是exponential 因为绝大部分帖子都没人回复 没人转发 一些名人 的回复转发非常多 长尾巴 左边0的特别多 .1point3acres





本帖子中包含更多资源

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x

评分

参与人数 13大米 +30 收起 理由
liqingfd + 2 很有用的信息!
misha55 + 1 赞一个
小桂子加油加油 + 1 给你点个赞!
ben860116 + 1 给你点个赞!
kkwai474 + 2 很有用的信息!

查看全部评分


上一篇:LinkedIn DS面经汇总 (SQL, Product, Onsite) 求加米!
下一篇:meta DSA VO 求一起准备+mock搭子
🔗
masonpaterson 2025-5-12 15:04:44 | 只看该作者
全局:
感谢楼主发帖,我正好在准备面试。
normal approximation: P(x>8) = P(z > (8-4)/3.84) = 1-pnorm(1.04) 这里应该是除以3.84开根号,不是3.84
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-3NY0K  2025-8-17 02:56:54
感谢楼主整理的题目,可是没有提行和indent看得我怀疑人生😂
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表