由买买提看人间百态

topics

全部话题 - 话题: multinomial
1 2 3 4 下页 末页 (共4页)
d**********l
发帖数: 183
1
尝试过用glimmix,但是因为glimmix没有repeated measure这个选项,multinomial
response必须至少在random statement中加上intercept,这样model的g matrix is
negative,因为有很多id都没有repeated measure,但是有些id有10次左右的repeated
,所以random intercept takes a lot of df.
各位高手能给点提示吗?我想model一个multinomial response,with repeated
measure,link function是genlogit,能得出baseline odds ratio的?
谢谢!!!!
F****n
发帖数: 3271
2
来自主题: Statistics版 - Multinomial Regression
I have a dependent variable with 2+ categories and I know how to run
multinomial regression with it. However, in multinomial regression you need
to pick a reference category and let other categories compare to it. You don
't get a pairwise comparison. An intuitive solution is to alter the
reference category and run the regression multiple times. However, I am not
quite sure about the validity of this approach. For example, should I worry
about family-wise error? How can I address that? And is th... 阅读全帖
n*****n
发帖数: 3123
3
WLOG assume j=n.
X1,X2,...|Xn follows multinomial(n-Xj, p1/(p1+p2+...+p(n-1)),p2/(p1+p2+...+p
(n-1)), ...)
This can be easily proved by conditional probability (multinomial divided by binomial).
so E(Xi|Xn) = (n-Xn)pi/(p1+p2+...+p(n-1)) = (n-Xn)pi/(1-pn).

given Xj is known, subject i 每次出现的概率变了
p********2
发帖数: 9939
4
来自主题: Statistics版 - 再问multinomial logit
有点头晕了。
今天问了个问题,发现问得有问题。
例子:
比如10个学校招faculty,市场上20个candidate,每个学校从20个人中选1-20个来发
offer。
看是multinomial logit. 但是multinomial logit只有一个选项,也就是只发一个
offer。现在我allow for multiple offers。有没有SAS model 可以做这样的adaption
呢?
p********2
发帖数: 9939
5
来自主题: Statistics版 - 再问multinomial logit
我现在是model学校会给谁发offer,选折pool是job candidate。multinomial logit只
有一个选折,也就是一个学校只发一个offer,现在情况是1个学校可以发大于1 个
offer,可以选折多个candidate,所以传统的multinomial logit不管用

10
e******e
发帖数: 274
6
I am using a Bayesian method to estimate a multinomial probit model through
data augmentation. All the priors are conjugate priors. Covariance matrix
follows wishart. Normalize the first element of covariance matrix to be 1. I
find that other elements of the covariance matrix are very easy to explode.
They are very sensitive to the starting value and the parameter of the priors.
Can any Da Xia tell me why those elements explode and how to deal with them?
Thank you very much.
x*********0
发帖数: 651
7
我用了genmod(descending)建了一个multinomial模型,distribution 是multimonial
,link是cumulative logit。我的response 有5个levels(nominal variable)。
然后我的输出是这样的:
intercept1 9.722
intercept2 10.564
intercept3 10.987
intercept4 12.098
x1 0.987
x2 0.345
....
然后我想把这个模型写出来:
p1=exp(9.722+0.987x1+0.345x2+...)/(1+exp(9.722+0.987x1+0.345x2+...))
p2=exp(10.564+0.987x1+0.345x2+...)/(1+exp(10.564+0.987x1+0.345x2+...))-p1
...
p5=1-p1-p2-p3-p4
这样算出这个record在5个levels几率,然后找到最大的那个,那个就是这个record所
应该属于的category。这样
F****n
发帖数: 3271
8
来自主题: Statistics版 - Multinomial Regression
I hope I could, that would definitely make things much easier. But I don't
think I can do that in this case, as it would be completely meaningless.
Moreover, even you can do so, you get a proportional odds model, which
assume the increase of cumulative probability are uniform across different
ranks.
In multinomial regression, on the contrary, you have one set of
coefficients for each category compared to the reference. And that's what I
want.

?
A*******s
发帖数: 3942
9
来自主题: Statistics版 - 再问multinomial logit
糊涂了... candidate最后只会选一个学校啊,那不就是multinomial logit么?
你要只搞一组estimate,可以把学校当成random effect来加个random intercept么,
这样你只有一组slope,但是有20 intercepts for schools。

coefficient
t**c
发帖数: 539
10
来自主题: Statistics版 - 再问multinomial logit
可不可以这么来看这个问题:
每个candidate可以拿到0-10个offer,所以用multinomial logistic regression.但是
因为是ordinal的data,这样子predictor的coefficient只有一个,而不是10个。会有10
个intercept。

coefficient
l*g
发帖数: 46
11
谢谢ls!您的link是cross-sectional multinomial logistic regression,怎么做
longitudinal的情况呢?就是有多次measurement的情况
k**o
发帖数: 3006
12
☆─────────────────────────────────────☆
xtmelogit (Multinomial Logit) 于 (Tue Nov 20 02:04:44 2012, 美东) 提到:
1. projective
他还有几个马甲
不管是器材的了解,价格,还是拍摄。我觉得都是本版最好的。
2. nbnb
他也有马甲
元老。裤子大校友。器材坑属他第一。照拍的好,人和气,不计较。就是不经常发包子
这点不好。
3. nikonshooter
尼康射手,也称工人,老工。
器材,摄影,为人真诚,各方面都没的说。我有一点concern的就是尼康射手的正义感
太强。
4. kitkat
器材版的镇版之神。对器材的知识丰富程度让人难以想象。
这四个任意一个当版主我都是双手双脚赞成。
强烈反对Boston 当版主。器材啥都不懂的人,很难想象能当器材版的版主。这有点像
没驾照的当车版的版主,纸交的当股版版主一样。
请大家支持。以上三位任何一位当版主的话,我个人账户发100个包子。不够的话现金
买。
☆───────────────────────────────────... 阅读全帖
n*******m
发帖数: 101
13
来自主题: PhotoGear版 - 万佛,问个统计问题
multinomial regression的dv也是1,2,3,只不过link function是normal
distribution的cdf,multinomial logistic regression的link是logit。stata里应该
可以选用哪一个。我记得在解释coefficient时,normal比logit方便。
http://www.ats.ucla.edu/stat/dae/
这里有multinomial logistic regression和manova的例子,我没找到multinomial
regression的例子。要不你就用logit吧。
一般来说log transform的作用是扩大iv的值域,这样你的估计的置信区间会比较窄,
更精确。你看看每个参数估计的方差有变化吗?
其实multinomial regression和manova用哪一个还是取决于你关心的问题,就好比
linear regression和anova是一回事,但是侧重点不同。这个几句话解释不清,我也很
久没用manova了,得翻翻书先,呵呵。
有个问题:你的数据是随机抽样的吗?这里... 阅读全帖
d*********u
发帖数: 8521
14
来自主题: PhotoGear版 - 万佛,问个统计问题
我还是有点不太明白的是:用multinomial regression的话,dependent variable是什
么呢?multinomial logistical regression的dependent variable好理解,就是组别1
,2,3; multinomial regression 用啥?
变量skew也还好,不是很变态,我做二元logit regression的时候比较过log前后结果
,基本没有什么区别。
MANOVA和ANOVA原来就没学好,不太想用……哎
k**o
发帖数: 3006
15
来自主题: PhotoGear版 - [合集] [申请] Photogear版主 (转载)
☆─────────────────────────────────────☆
ifdef (ifdef) 于 (Sun Nov 18 13:59:19 2012, 美东) 提到:
。。。这么赌气有意思吗?

☆─────────────────────────────────────☆
kitkat (标头党) 于 (Sun Nov 18 14:05:35 2012, 美东) 提到:
为建设更美好的万佛? 恶少你明明是看了别人不顺眼要拆了万佛.
版的根本是人. 你个法西斯版规人都散了万佛连个屁都不是.
☆─────────────────────────────────────☆
daye520 (大业) 于 (Sun Nov 18 14:09:35 2012, 美东) 提到:
既然波姐要申请器材版版主,就问波姐一个器材方面的问题,D600和600D有啥区别,希
望波姐不google能够回答出来。
☆─────────────────────────────────────☆
shifting (反思己过) 于 (Sun Nov 18 14:13... 阅读全帖
h**l
发帖数: 4883
16
来自主题: Statistics版 - Poisson and Binomial
no...
Multinomial has k outcomes. When k=2, multinomial=binomial.
So binomial is like flipping a coin
and multinomial is like throwing a die.
t*******8
发帖数: 67
17
Hi, all,
Happy New Year!
A financial institute is looking for a SAS statistics modeler, 5+ years with
Statistics Modeling and Advanced SAS Programming, mortgage related exp is
plus, but not required. Candidates can come from other industries, such as
insurance, credit cards or pharmaceuticals.
If you are interested, please send me your resume in word format to tgan at
optionsgroup dot com.
If you need compensation information, you can email me to ask.
Tom Gan
Recruiter
Position Description
The p... 阅读全帖
l*******s
发帖数: 1258
18
来自主题: JobHunting版 - 讨论几个面试题
提供一些思路
1.用Bag of Words一般就可以,因为毕竟书评和小说里面不少词的分布还是很不一样,
比如某些表示喜欢不喜欢的词。另外可以加上其他的feature,比如文本长短,有无作
者,有无题目,里面的特殊标点符号等。在做文本预处理时,不要用stemmer和全部小
写化,因为这样会丢失很多morphological feature,你想想写评论时肯定跟小说文本
在这些方面有区别。
还有就是Naive Bayes。这里可以用Multinomial NB,应该比Bernoulli NB效果好,因
为文本相对比较多,且用词占vocabulary比重大,因此Multinomial模型好些。
在做feature时,比较一下binary,count,TFIDF,看看那个效果好。一般来说,文本
少的话,binary好些,TFIDF会比较偏向高variation,而降低bias。
另外还可以考虑加紧regularization,L1 L2那套,防止bias和variation问题。
基本上这个问题这么回答,照顾到了各方面。
2.没做过真实project 不清楚。
3.考虑Ordinal reg... 阅读全帖
a********8
发帖数: 73
19
来自主题: WashingtonDC版 - 准备趁泡泡吹破之前睡觉。
The series of lottery can be modeled as a multinomial process, similar to a
Bernoulli process (but instead of binary variables the outcome at each time
step is a combination of numbers). It has the Markov property.
In other words the lottery over time (a multinomial process) is still a
Markov process.

.
k**o
发帖数: 3006
20
☆─────────────────────────────────────☆
skydive (跳跳~~修竹凝妆,垂杨驻马) 于 (Tue Nov 20 12:40:21 2012, 美东) 提到:
闹腾了这么久,我觉得应该表明立场。
这次的悲剧,首先要谴责的是mitbbs站方和钻风。本来俱乐部关起门说什么
是保密的。就是因为外边捕风捉影的质疑,钻风就去俱乐部垃圾箱找证据,
以此为依据,要求x5的版务组下台。本来就事论事,x5版务执行公平不公平,
应该在版上找证据,如果说x5封人不当,被弹劾罢免,也是一句话。至于他
背后和谁商量,是他的自由。这样搞捕风捉影,互相揭发,是赤裸裸的文革
遗风。如果ifun的帖子可以调查,那我可不可以要求调查第一次当选的id的
私信,看看他们拉没拉票。
第二要谴责的是boston/december。本来弹劾x5及版务,我没话说。执政就要
接受群众的监督,包括弹劾在内。不过这次要求公开ifun名单,这个要求非
常无理。按照boston的说法,不能接受ifun的成员作为新版务,这个是她个人
的想法,不予置评。但是因为她不能接受ifun成员,就要求公开... 阅读全帖
w********e
发帖数: 944
21
A topic is defined as a multinomial distribution over all words in the
vocabulary. In order to generate a word for the nth location in a document,
first select a topic (latent variable),then generate word according to the
multinomial distribution associated with the topic.
a*********3
发帖数: 660
22
定义 definition变量 variable面积 area直径 diameter半径 radius公式 formula
单价 unit price范围 range/scope/extent集合 set法则 principle本金 principal利
率 interest rate利息 interest单利 simple interest复利 compound interest正数
positive number负数 negative number解析式 analytic expression分类讨论
classified discussion性质 nature (不是很确定)奇函数 odd function偶函数
even function对称 symmetric坐标原点 origin单调性 monotonicity(不是很确定)
任意 random周期性 periodic 有界性 boundedness 数学 mathematics, maths(BrE)
, math(AmE) 公理 axiom 定理 theorem 计算 calculation 运算 operat... 阅读全帖
k***g
发帖数: 7244
23
呵呵,是啊,突然想起来原来上计量经济学的时候这类问题都是用 Multinomial Logit
Model或是Multinomial Probit Model来做的,不能用OLS, 对于罢工还是游行的选择都是
categorical response, 不一定存在任何order或是rank的,如果你给他们数值表示,那
你假定了不同的选择之间存在着顺序,这种假定的顺序显然是不合理的,其实就算这里存
在着rank,也应该用odered probit 或是 ordered logit, 因为归根结底,你的dependent
variable 是qualititve的而不是quantative,呵呵,好像是酱紫,学久了用不到都忘了:


intention





如果这么算的话,许多independent
但是,如果我把愿意游行作为1,愿意罢工作为2,相加之后,我发现原来显著的好多inde
s***e
发帖数: 267
24
来自主题: Quant版 - 问一到markov chain的题目
If the state is a n-dimension vector (this means there are a lot of states)
then two states are connected with positive probability if and only if they
only differ by 1 at two entries of the vector (one +1 and another -1).
The stationary distribution is a multinomial dist with parameters 1/m for
all the proportions, i.e. Multinomial(n; 1/m, ..., 1/m). To show this is
stationary dist and it is time reversible you need to show the detailed
balance condition holds. This is not hard to verify...
h**t
发帖数: 1678
25
来自主题: Statistics版 - R 可以处理最大的数据是多大?
现在有一个1MM rows x 13 columns/variabls的数据, 作multinomial, 按说也不大,可是很慢啊。这个是因为作multinomial 的原因吗?作linear 好像就会快很多。。。
R 可以处理最大的数据是多大?有package 推荐吗? 谢谢!
p********a
发帖数: 5352
26
☆─────────────────────────────────────☆
killniu (killniu) 于 (Mon Nov 21 14:05:46 2011, 美东) 提到:
多变量 单变量不都是一个proc么?
☆─────────────────────────────────────☆
pepper1982 (pepper1982) 于 (Mon Nov 21 14:11:03 2011, 美东) 提到:
it's not simple multivariate regression.
There are more than one probit regression and the disturbances are
correlated.

☆─────────────────────────────────────☆
killniu (killniu) 于 (Mon Nov 21 14:23:18 2011, 美东) 提到:
repeated measure啊
proc genmod 带 repeated 选项
这个是你要的么?
☆... 阅读全帖
s*********e
发帖数: 1051
27
来自主题: Statistics版 - statsmodels真的越来越好
when it comes to a multinomial model, statsmodels is more comprehensive than
r.
http://statcompute.wordpress.com/2013/08/23/multinomial-logit-w
t*******8
发帖数: 67
28
Hi, all,
Happy New Year!
A financial institute is looking for a SAS statistics modeler, 5+
years with Statistics Modeling and Advanced SAS Programming, mortgage
related exp is plus, but not required. Candidates can come from other
industries, such as insurance, credit cards or pharmaceuticals.
If you are interested, please send me your resume in word format to tgan@
optionsgroup.com
if you need compensation and other information about this role, please email
me also.
Thanks,
Tom Gan
Position Des... 阅读全帖
Q*****T
发帖数: 558
29
这不是在学习嘛,面试怎么会问面试官这种问题。请问,这种说法为啥不对呢?
我想问的其实是,residual的分布和y的分布,generally来说,是什麽关系。譬如Y是
continuous,那residual就是正态分布(如果y的分布未知的话,可以用boostrapping
等resampling method去估计y的分布,估计出来的y的分布也就是residual的分布---
对吗对吗对吗?不对的话为啥不对??);Y=binary,residual=binomial;Y=
multinomial, residual=multinomial。
归根结底我的问题是,residual的分布是不是跟Y有一等一的关系(唯一映射)??

multivariate
d********m
发帖数: 3662
30
就是说能级分布测量就简化到一个weighted multinomial sampling问题了?
b****l
发帖数: 23606
31
我不是跟你说我不知道什么是decision tree了么?
至于什么是logistic reg
自己看维基去。
关于logit model 和probit model的区别,恐怕你从来没学过吧?
Logistic regression
From Wikipedia, the free encyclopedia
Jump to navigation
Jump to search
"Logit model" redirects here. It is not to be confused with Logit function.
In statistics, the logistic model (or logit model) is a statistical model that is usually taken to apply to a binary dependent variable. In regression analysis, logistic regression or logit regression is estimating the parameters of a... 阅读全帖
x*******t
发帖数: 790
32
【 以下文字转载自 Stock 讨论区 】
发信人: xtmelogit (Multinomial Logit), 信区: Stock
标 题: 用google insights 预测 Wii U 和 大菠萝的未来市场
发信站: BBS 未名空间站 (Sun Nov 18 12:23:11 2012, 美东)
差不多原理
二手市场应该卖一个可以比原价多赚100刀了把。大家去all in把。
y*****y
发帖数: 98
33
来自主题: Faculty版 - 请教一个简单的概率题
答案是对的。就是个multinomial(n=6, .25,.25,.25,.25)
Compute P[X_1>=1,X_2>=1,X_3>=1,X_4>=1].
l*******s
发帖数: 1258
34
来自主题: JobHunting版 - 想做题的进来挑战一下自己吧。。
这些都是码工类型题目,兄弟我发一个research scientist\developer 类的题目吧,
ML和NLP方向的:
幼儿园:给一堆字符串,比如 {apple, bananab, beard, piep, pear},然后给一个
Regex,找出开头结尾相同字母的单词,比如output是piep,bananab。请问能不能?为
什么?。
小学:用一堆正则表达式实现一个简单的tokenizer。
初中:请实现Shortest Edit Distance算法
高中:说说Beam Search+MaxEntropy 和 CRF在做POS tagging时的区别,各自在什么情
况下适用,为什么。
大学:请实现Naive Bayes的training和decoding,包括 multinomial and
multivariate Bernoulli.
研究生:请实现IIS和GIS,并指出复杂度和区别。
博士:实现l-BFGS,注意,一定是limited哦,不能光是BFGS。说说哪些地方可以改进
c********h
发帖数: 330
35
来自主题: JobHunting版 - youtube data scientist 面经
Multinomial的方差吧?
h****y
发帖数: 33
36
来自主题: JobHunting版 - youtube data scientist 面经
第一个用不到multinomial,直接binomial就可以吧。是红色或者不是红色。需要用到
bootstrap吗?直接binomial分布的方差不就可以了吗。假设p hat是正态分布,然后得
到95%的置信区间。
第二题跟第一题其实是一个意思吧。都是讲proportion estimate的。
n**a
发帖数: 52
37
来自主题: JobHunting版 - 一道google DS面试问题,求思路。
我一开始也考虑过maximum likelihood,你会发现每一个category的概率是(1-r)*p_i+
1/4*r,这里r是random clicker的比例。用Lagrange乘数,如果你把(1-r)*p_i+1/4*r看
成一个整体,估计值就是x_i/n,标准的multinomial的mle。但是你有4个未知数(p_1,
p_2,p_3以及r)和三个方程,解不唯一。
i******t
发帖数: 22541
38
来自主题: JobHunting版 - 这道google面经体咋做
Dirichlet-multinomial distribution?
f****o
发帖数: 114
39
来自主题: Parenting版 - 概率题
可以用multinomial distribution
G****n
发帖数: 145
40
长江各领域教授论文引用次数
Between trust and control: Developing confidence in partner cooperation in
alliances
[PDF] from cuny.edu…, BS Teng - Academy of management Review, 1998 - JSTOR
Strategic alliances have been recognized as arenas with potential for
opportunistic behavior
by partners. Hence, a firm needs to have an adequate level of confidence in
its partner's
cooperative behavior. In this article we examine the notion of confidence in
partner ...
Cited by 1749 - Related articles - BL Direct - All 9 v... 阅读全帖
x*******t
发帖数: 790
41
来自主题: shopping版 - Retina MBP 13' 降价@ Amazon (转载)
【 以下文字转载自 Apple 讨论区 】
发信人: xtmelogit (Multinomial Logit), 信区: Apple
标 题: Retina MBP 13' 降价@ Amazon
发信站: BBS 未名空间站 (Sat Jan 5 16:48:58 2013, 美东)
http://www.amazon.com/gp/offer-listing/B007472CIK/?ie=UTF8&keyw
x*******t
发帖数: 790
42
【 以下文字转载自 Apple 讨论区 】
发信人: xtmelogit (Multinomial Logit), 信区: Apple
标 题: Retina MBP 13' @ Amazon Warehouse $1441
发信站: BBS 未名空间站 (Sat Jan 5 16:48:58 2013, 美东)
updated!!!
I think the price is ok
http://www.amazon.com/gp/offer-listing/B007472CIK/sr=8-4/qid=13
g*******e
发帖数: 3013
43
来自主题: Stock版 - 今天割肉原油的
要割也要api eia 附近割
胆大的赌eia报告利多彪升后割
uso uco uwti顺序的 低了就接着捞 也没啥可怕
[在 xtmelogit (Multinomial Logit) 的大作中提到:]
:正式宣布:

:...........
g*******e
发帖数: 3013
44
这话说得有道理
我 就是割了的
[在 xtmelogit (Multinomial Logit) 的大作中提到:]
:喊捞的都是已经捞了的
:喊不要捞的都是已经割了的
:...........
x*******t
发帖数: 790
45
来自主题: Stock版 - uwti 下周要爆
大盘熊
油牛
大盘崩盘时,原油暴起日
[在 MrAnderson (悠悠云影) 的大作中提到:]
:油牛还是油托?
:【 在 xtmelogit (Multinomial Logit) 的大作中提到: 】
:...........
x*******t
发帖数: 790
46
来自主题: Stock版 - uwti 下周要爆
急啥 慢慢来
现在捞不贵
[在 kgoldenchild (kgoldenchild) 的大作中提到:]
:原来你还没all in啊
:【 在 xtmelogit (Multinomial Logit) 的大作中提到: 】
:...........
r*****e
发帖数: 7853
47
来自主题: Stock版 - 明天油要巨跌。。。
已跌到uwti一块的水平了
[在 xtmelogit (Multinomial Logit) 的大作中提到:]
:好消息 要暴涨了

:...........
x*******t
发帖数: 790
48
来自主题: Stock版 - 大盘新高了 要扑吗
希望砍半吧
[在 laughingsir7 (laughingsir7) 的大作中提到:]

:【 在 xtmelogit (Multinomial Logit) 的大作中提到: 】
:...........
x*******t
发帖数: 790
49
来自主题: Stock版 - 股版这么多put 大盘,spy的
Fuck the shit out of MM
[在 xtmelogit (Multinomial Logit) 的大作中提到:]
:This time is for real

:...........
x*******t
发帖数: 790
50
来自主题: Stock版 - 129进的苹果, 亏废了
之前跌倒过380啊 折算起来才60?
[在 emoryustc (至尊宝) 的大作中提到:]

:【 在 xtmelogit (Multinomial Logit) 的大作中提到: 】
:...........
1 2 3 4 下页 末页 (共4页)