s***i 发帖数: 49 | 1 如果一个logit regression, 没有explanatory variable (除了 constant term), 它
的deviance 是不是 0 ?
有个logit regression, 2个explanatory variables, A and B. 我现在要做一个drop-
in- deviance test,hypothesis 是 "neither A nor B" is significant。 能不能找
到full model 的 deviance, 然后reduced model 就是A 和 B 都没有,什么都没有,
就是deviance=0. 所以这个 drop in deviance 就是 full model的deviance.
对吗? |
|
g*********n 发帖数: 119 | 2 the deviance is a G^2, compared with saturated model, so a logistic
regression with only intercept will have the largest deviance(>0), instead
of 0.
the deviance of reduced model shall >= the deviance of full model, so I
believe what you think is not true. |
|
s***i 发帖数: 49 | 3 So how can I answer the question? I already know the deviance of the full
model, but I do not know the deviance of the reduced model (with only
intercept, because it asks to test the question "neither A nor B is an
important variable" using drop-in-deviance test). So what is the drop in
deviance here? |
|
s***i 发帖数: 49 | 4 Can I use the "null deviance" in R as the deviance with 0 explanatory
variable? But how do I model a logit regression with 0 explanatory variable
in the first place, using GLM? |
|
g*********n 发帖数: 119 | 5 can I use the "null deviance" in R as the deviance with 0 explanatory
variable? |
|
c****s 发帖数: 63 | 6 在SAS中得到了下面的结果,请问这个model是好还是不好呢?
这是一个logistic regression model,predictors 是由很多dummy variables组成的。
Deviance and Pearson Goodness-of-Fit Statistics
Criterion Value DF Value/DF Pr > ChiSq
Deviance 1950.8899 3133 0.6227 1.0000
Pearson 4567.9687 3133 1.4580 <.0001 |
|
L*****2 发帖数: 66 | 7 Does standardized deviance residual asymtotically follows normal
distribution with mean zero?
Is the mean of deviance residuals equal to zero?
Thanks! |
|
g*********n 发帖数: 119 | 8 you can use R with GLM to achieve respective deviance for two models, then
use the chi square test with df=2 to test the hypothesis. |
|
s***i 发帖数: 49 | 9 So "null deviance" of a full model is the same as any of the models with
some variables dropped? |
|
s******a 发帖数: 184 | 10 在一些材料中看到,在R 中用GLM 做完model fitting 后,用residual deviance 去除
dispersion parameter。 这个得出的指标是什么? |
|
l*********s 发帖数: 5409 | 11 sounds like dispersion estimate or scaled deviance. |
|
c****t 发帖数: 19049 | 12 AN ORISON OF SONMI~451
On behalf of my ministry, thank you for agreeing to this final interview.
Please remember, this
isn’t an interrogation, or a trial. Your version of the truth is the only
one that matters.
TRUTH IS SINGULAR. ITS “VERSIONS” ARE MISTRUTHS.
… Good. Ordinarily, I begin by asking prisoners to recall their earliest
memories to provide a
context for corpocratic historians of the future. Fabricants have no
earliest memories,
Archivist. One twenty-four-hour cycle in Papa Song’s is i... 阅读全帖 |
|
m******r 发帖数: 1033 | 13 说R语言之前,说说王yin同学, 这人还是很牛b的; 牛b的人总有一些与众不同的地方
,普通人无法理解。 我看我儿子,好像总爱和我反着来 让我哭笑不得 他还挺认真。
想想算了 由他去吧。
然后说R语言。先说这个glm, 按说向前,向后,逐步回归(forward/backward/stepwise
)应该是glm里面一个重要选项才对。 没有这个选项,跑出来的东西我看毫无意义,当
然,你可以说他算了一堆数出来, So ?
第二,你可以用stepAIC,接着往下算。 我觉得很awkward, 本来一步的东西分两步走
,最后结果你给我存哪呢?? 你让我怎么做automation呢?? 这种文档谁又看得懂呢
??
https://stat.ethz.ch/R-manual/R-devel/library/MASS/html/stepAIC.html
第三,老是写deviance, 我不记得统计书里说什么deviance, 都是说-2L. 当然我才疏
学浅,有懂得给说说,这个deviance是个啥意思? |
|
d*****y 发帖数: 1058 | 14 [b,dev] = glmfit(...)returns dev, the deviance of the fit at the solution ve
ctor. The deviance is a generalization of the residual sum of squares. It is
possible to perform an analysis of deviance to compare several models, each
a subset of the other, and to test whether the model with more terms is sig
nificantly better than the model with fewer terms.
for example:
y--[x1,x2,x3,x4,x5]
y--[x1,x3,x5]
我想知道哪个模型更好一点,我看网上的例子是
[b,dev1]=glmfit([x1,x2,x3,x4,x5],y,'normal');
[b,dev2]=glmfit([x1,x3,x5], ... 阅读全帖 |
|
b********n 发帖数: 38600 | 15 Human Events:19和20世纪最有害的10本书
“人事”杂志(Human Events)
美国“人事”杂志(Human Events)邀请了15位保守派学者和公共政策领袖组成一个评
委会,来评比19到20世纪世界“十本最有害的书”(Ten Most Harmful Books)。每个
评委可以推荐一定数量的候选书目,然后给全体评委推荐的所有候选书目打分:一本书
如果被一个评委列为第一名(最有害的书),得10分,第二名得9分,依此类推。实至
名归,马克思和恩格斯合著的“共产党宣言”得了最高分,成为上两个世纪“最有害的
一本书”。
1,共产党宣言(The Communist Manifesto)
作者:卡尔•马克思(Karl Marx),弗里德里希•恩格斯(Freidrich
Engels)出版时间:1848得分:74
点评:马克思和恩格斯分别于1818年和1820年出生于德国,是共产主义的精神教父。恩
格斯起初是个左派富家公子:他继承了收入丰厚的纺织厂,马克思人生的大部分靠他资
助。1848年,二人合著了“共产党宣言”,作为他们所属的“共产国际”(Com... 阅读全帖 |
|
E*E 发帖数: 52 | 16 【 以下文字转载自 Statistics 讨论区 】
发信人: EFE (EFE), 信区: Statistics
标 题: help!! about residual scale
发信站: BBS 未名空间站 (Wed Sep 17 20:01:26 2008)
when I use Splus "lmRobMM" method to do regression, it can return a output-
"scale" as for example "Residual scale estimate: 4.513 on 101 degrees of
freedom"
Can any one please tell me the definition and formula of this "Residual
scale"?
I saw something like "sqrt(deviance/df)"
what is the formula for "deviance"?
Thanks a lot! |
|
E*E 发帖数: 52 | 17 when I use Splus "lmRobMM" method to do regression, it can return a output-
"scale" as for example "Residual scale estimate: 4.513 on 101 degrees of
freedom"
Can any one please tell me the definition and formula of this "Residual
scale"?
I saw something like "sqrt(deviance/df)"
what is the formula for "deviance"?
Thanks a lot! |
|
j*****e 发帖数: 182 | 18 I forget to mention that the lowest value of AUC is 0.5. You can get AUC
directly from SAS proc logistic.
If your predictors are all discrete, you can test model goodness of fit
using the deviance. Otherwise, there is no test for it.
Also, deviance over the degree of freedom in SAS output offers sort of
measurement on how the model is. If the model fits, this ratio should be
close to one. |
|
j*****e 发帖数: 182 | 19 Turnanyway,
you are so rude and ignorant.
You can use weighting in logistic regression. But this weighting is used to
accomodate non-iid sampling(such as case-control sampling).
Grouping the data will not change the value of deviance. The purpose is to
control the degree of freedom, so that the deviance can be better
approximated by Chi-square distribution for model goodness of fit test.
I have been teaching Categorical data analysis to graduate students for a
couple of years and analysis of cas |
|
s**********y 发帖数: 38 | 20 请问:
1 如何找catigorical variables 的collinearity? such as race (white, black,
latino), sex(male,female), education(college or not college graduated),age(<20, 20-40, >40), income (below, above a level) etc.
2. 我在用logistic regression 时, test Deviance and Pearson Goodness-of-Fit
Statistics, the p-value of Deviance is 0.0037, and the p-value of Pearson is
0.0061. Do these mean that the logistic regression is not fitting the data well? What should I do next?
Thanks. |
|
C***o 发帖数: 68 | 21 是一个credit risk analyst的职位。说好3点的,结果3点10打过来。估计他也是一个
CR analsyt。
前面寒暄的tell me about your self和why you want to work for XXXX之后,就开始
问我用SAS干过什么,我说我的一个fraud model用过sgscatter来测有没有correlation
或multicolinarity,他好像第一次听说这个proc。然后我说用了proc logistic,说到
deviance的时候他好像不是很懂,问我是不是指stdev,我说不是,接着给deviance的
定义,然后他问我怎么选model,我说2个devaince减了之后是开2然后出pvale,这时候
他就说懂了,可以了。我还没来得及说其他proc。。。(完了之后想想其实这个问题我
应该更简洁的回答的,但是如果光说名字我又怕那样不好)。
一个SAS的data manipulation的题3个table。。blabalbalb。他跟我解释这道题就用了
很久,我还问他要了2次说明。悲剧啊我居然用data step然后就卡住了(后... 阅读全帖 |
|
c**********e 发帖数: 2007 | 22 I am running on the GENMOD. The data set is simple repeated measure.
The code is following.
proc genmod data=one;
class ... ...;
model ... ...;
repeated subject=id / type=exch;
output out = Residuals
pred = Pred
resraw = Resraw
reschi = Reschi
resdev = Resdev
stdreschi = Stdreschi
stdresdev = Stdresdev
reslik = Reslik;
run;
The weird thing is that the follo... 阅读全帖 |
|
i***s 发帖数: 39120 | 23 近日,有网友发帖称,自己支付宝账户中有6000余元无故失踪,经查是被捐到了某公益基金会。不少网友称,自己也有类似经历。昨天,支付宝公司回应,6000元的大额捐款为个例,是用户设置失误所致,其他用户则很有可能是密码被盗。
近日,网名为“蝌”的网友在天涯发帖称,自己突然发现支付宝账户少了6000多元钱。经查“从9月26日开始,莫名其妙地一笔一笔被捐到了‘绿化基金会’!”该网友说,他在网上搜索“支付宝用户被捐款”和“支付宝自动捐款给绿化基金会”,居然发现有大量相同经历的人。
记者在网上搜索发现,不少网友都曾反映过类似问题,支付宝账户中的钱款在不知情的情况下被捐给了一些慈善组织。早在今年8月16日,网友“deviance”便曾发布截图称,他两个月没有使用过支付宝,无意间发现“我的账号在2011年8月13号竟然鬼魅般的上线了,还煞有介事地将1毛钱捐给了某绿化基金会。”随后不少有类似经历网友跟帖响应,“被捐款”的数额在1角到几元、几十元不等。
近日,该网帖在网上引发热议,网友纷纷就此质疑称,支付宝公司公布的用户数量超过5亿人,“就算每人捐1毛钱,那也是5000万啊!”
昨天下午,支付宝公司公关部相... 阅读全帖 |
|
m**c 发帖数: 7299 | 24 【 以下文字转载自 Gay_Criminolgy 俱乐部 】
发信人: msgc (为了下一代免遭变态残害), 信区: Gay_Criminolgy
标 题: Crime will rise if gay couples are allowed to marry,
发信站: BBS 未名空间站 (Sat Jan 19 12:14:39 2013, 美东)
Lobbyist links gay marriage to crime rise in NZ
Crime will rise if gay couples are allowed to marry, says the head of the
country's victim lobby group.
Sensible Sentencing Trust leader Garth McVicar has submitted to Parliament
that changing the law to allow same-sex marriage will be yet another erosion
of basic morals ... 阅读全帖 |
|
T**********e 发帖数: 29576 | 25 'Gay' laws set stage for pedophilia 'rights'
Psychologist claims 'minor-attracted persons' normal as heterosexuals
by Jack Minor
As legislators and other government officials promote “gay” friendly laws,
they are unwittingly laying the foundation for special protections for
pedophiles, including the right to work with children, family advocates warn.
Linda Harvey of Mission America said the push for equal rights for
pedophiles will become more common as LGBT groups continue to assert
themselves.... 阅读全帖 |
|
y***u 发帖数: 7039 | 26 美国保守派憎恨10本书
美国“人事 ”杂志(Human Events)邀请了15位保守派学者和公共政策领袖组成一个
评委会,来评比19到20世纪对世界“最有害的10本书”(Ten Most Harmful Books)。
每个评委可以推荐一定数量的候选书目,然后给全体评委推荐的所有候选书目打分:一
本书如果被一个评委列为第一名(最有害的书),得10分,第二名得9分,依此类推。
马克思和恩格斯的《共产党宣言》得了最高分,成为上两个世纪“最有害的一本书”。
1,《共產黨宣言》(The Communist Manifesto)
作者:马克思、恩格斯;
出版时间:1848;
得分:74
点评:马克思和恩格斯分别于1818年和1820年出生于德国,是共产主义的精神教父
。恩格斯起初是个左派富家公子:他继承了收入丰厚的撢智t,马克思人生的大部份靠
他资助。1848年,二人合着了“共產黨宣言”,作为他们所属的“共产国际”(
Communist League)的行动纲领。共產黨宣言把人类历史看作剥削人的有产者和受剥削
的工人之间的阶级斗争,号召公认起来革命,从而... 阅读全帖 |
|
c****x 发帖数: 6601 | 27 朱伟珏:一种揭示教育不平等的社会学分析框架
http://www.ias.fudan.edu.cn/News/Detail.aspx?Cid=2594&Pid=195
——布迪厄的文化再生产理论
提要:被称为文化再生产理论的布迪厄教育理论在社会学与教育学领域内占据着独
特的地位。它既不同于以往那些以社会流动理论为依据、强调行动者主观能动性的教育
理论,亦不同于以阶级与阶层理论为基础的客观主义教育思想,而是一种揭示现代学校
教育不平等的社会学分析框架。布迪厄认为学校教育不是一种铲除社会不平等的制度。
相反,它是一个以“遗传”的方式生产和再生产社会不平等并使此类不平等正当化和永
久化的重要手段。此外,教育的不平等也并非仅仅取决于经济因素,而是各种因素共同
作用的结果。而且在诸多因素中,文化起到了至关重要的作用。布迪厄指出,如今文化
障碍和经济障碍(有时甚至比经济障碍更难逾越)已共同成为生产与再生产社会阶层以
及社会不平等的核心要素。他的这一极具冲击力的主张尽管在西方学术界和思想界引起
了激烈而广泛的争议,但以文化再生产为基础的布迪厄的教育理论却作为“一种最富启
发性的方式”(吉登斯... 阅读全帖 |
|
J*V 发帖数: 3150 | 28 【 以下文字转载自 Gay_Criminolgy 俱乐部 】
发信人: msgc (为了下一代免遭变态残害), 信区: Gay_Criminolgy
标 题: Crime will rise if gay couples are allowed to marry,
发信站: BBS 未名空间站 (Sat Jan 19 12:14:39 2013, 美东)
Lobbyist links gay marriage to crime rise in NZ
Crime will rise if gay couples are allowed to marry, says the head of the
country's victim lobby group.
Sensible Sentencing Trust leader Garth McVicar has submitted to Parliament
that changing the law to allow same-sex marriage will be yet another erosion
of basic morals a... 阅读全帖 |
|
l****z 发帖数: 29846 | 29 呵呵,早知道底线突破后, 什么乱七八糟的东东都接着要来了. 反正是born this way嘛.
Gawker’s Soft Peddling Pedophilia
September 10, 2012 Posted by Warner Todd Huston
Recently, Gawker.com, a left-leaning and sometimes profane general interest
website, posted a story that makes excuses for child rape, calling it an “
orientation” instead of a crime and stating that raping children is “a
sexual relationship,” as opposed to the violation that it truly is.
The piece entitled, “Born This Way: Sympathy and Science for Those Who Want
to... 阅读全帖 |
|
l****z 发帖数: 29846 | 30 Incest: The Next Frontier in ‘Reproductive Freedom’
January 19, 2015 - 1:03 PM
By J. Matt Barber
Like a plastic Piggly Wiggly bag fluttering about in the alley, those
untethered from God’s natural law are violently tossed to and fro by the
gusting winds of moral relativism. Jenny Kutner is one such Piggly Wiggly
bag. A 20-something assistant editor at Salon.com, she describes herself as
“focusing on sex, gender and feminism.”
By “focusing on sex, gender and feminism,” and as you will soon see, t... 阅读全帖 |
|
发帖数: 1 | 31 You must be kidding. You think Trump has any hard deviance that FBI does not
have for a president assassination happened 53 years ago?
With all my support to Trump, what he talked about Ted's father yesterday is
as dirty as Ted, shame on him. no decent man will do that. Not even his
campaign employee could defend him. "the race is over" is all the reply that
trying to shield Trump away from that.
Conspiracy stimulate adrenaline, control it with brain... |
|
m****s 发帖数: 18160 | 32 【 以下文字转载自 TrustInJesus 讨论区 】
发信人: BG (江水炖活鱼), 信区: TrustInJesus
标 题: 加州浸信会大学的Job opening
发信站: BBS 未名空间站 (Thu Oct 24 16:34:54 2013, 美东)
Faculty Positions: Full-time
Main Campus
California Baptist University, an evangelical Christian university
affiliated with the California Southern Baptist Convention, invites
applications for tenure-track positions to begin August 14, 2014 in the
areas listed below. Candidates must embrace the mission of California
Baptist University and evidence a clear unders... 阅读全帖 |
|
l****z 发帖数: 29846 | 33 High School Drama Teacher Pushes Play With Incest and Bestiality, Gets
Suspended
October 13, 2013 by Warner Todd Huston
Here is a story that shows why we don’t let children decide what they want
to do for themselves. In Arizona, a high school teacher thought it would be
a great idea for his kids to put on a play that features incest and
bestiality. He got suspended for this leftist idea, but the silly children
are rallying behind this warper of souls hoping to get his punishment
vacated.
Stirri... 阅读全帖 |
|
m**c 发帖数: 7299 | 34 【 以下文字转载自 Gay_Criminolgy 俱乐部 】
发信人: msgc (为了下一代免遭变态残害), 信区: Gay_Criminolgy
标 题: Crime will rise if gay couples are allowed to marry,
发信站: BBS 未名空间站 (Sat Jan 19 12:14:39 2013, 美东)
Lobbyist links gay marriage to crime rise in NZ
Crime will rise if gay couples are allowed to marry, says the head of the
country's victim lobby group.
Sensible Sentencing Trust leader Garth McVicar has submitted to Parliament
that changing the law to allow same-sex marriage will be yet another erosion
of basic morals ... 阅读全帖 |
|
m**c 发帖数: 7299 | 35 【 以下文字转载自 Gay_Criminolgy 俱乐部 】
发信人: msgc (为了下一代免遭变态残害), 信区: Gay_Criminolgy
标 题: Crime will rise if gay couples are allowed to marry,
发信站: BBS 未名空间站 (Sat Jan 19 12:14:39 2013, 美东)
Lobbyist links gay marriage to crime rise in NZ
Crime will rise if gay couples are allowed to marry, says the head of the
country's victim lobby group.
Sensible Sentencing Trust leader Garth McVicar has submitted to Parliament
that changing the law to allow same-sex marriage will be yet another erosion
of basic morals ... 阅读全帖 |
|
S*********g 发帖数: 24893 | 36 Sodomy
From Wikipedia, the free encyclopedia
Sodomy (/ˈsɒdəmi/) is any non-penile/vaginal copulation-like
act, such as oral or anal sex, or sex between a person and an animal.[1] The
word is derived from the story of Sodom and Gomorrah in chapters 18 and 19
of the Book of Genesis in the Bible.[1] So-called "sodomy laws" in many
countries criminalized not only these behaviors, but other disfavored sexual
activities as well, but in the Western world, many of these laws have been
ove... 阅读全帖 |
|
m**c 发帖数: 7299 | 37 【 以下文字转载自 Gay_Criminolgy 俱乐部 】
发信人: msgc (为了下一代免遭变态残害), 信区: Gay_Criminolgy
标 题: Crime will rise if gay couples are allowed to marry,
发信站: BBS 未名空间站 (Sat Jan 19 12:14:39 2013, 美东)
Lobbyist links gay marriage to crime rise in NZ
Crime will rise if gay couples are allowed to marry, says the head of the
country's victim lobby group.
Sensible Sentencing Trust leader Garth McVicar has submitted to Parliament
that changing the law to allow same-sex marriage will be yet another erosion
of basic morals ... 阅读全帖 |
|
m**c 发帖数: 7299 | 38 Shop Fluke ProductsSave on Fluke Products Today. Great Deals on Bulk Qty
. Order Now! MSCDirect.com
Child molestation and pedophilia occur far more commonly among homosexuals
than among heterosexuals on a per capita basis, according to a new study.
Ads by Google
Moore School GraduatesTalent resources to meet your business needs www.
moore.sc.edu
VA Loans for VeteransVA Loans up to $729,000. $0 Down. Veterans, Learn
More & Apply Online www.VAMortgageCenter.com
“Overwhelming evidence s... 阅读全帖 |
|
m**c 发帖数: 7299 | 39 【 以下文字转载自 Gay_Criminolgy 俱乐部 】
发信人: msgc (为了下一代免遭变态残害), 信区: Gay_Criminolgy
标 题: Crime will rise if gay couples are allowed to marry,
发信站: BBS 未名空间站 (Sat Jan 19 12:14:39 2013, 美东)
Lobbyist links gay marriage to crime rise in NZ
Crime will rise if gay couples are allowed to marry, says the head of the
country's victim lobby group.
Sensible Sentencing Trust leader Garth McVicar has submitted to Parliament
that changing the law to allow same-sex marriage will be yet another erosion
of basic morals ... 阅读全帖 |
|
p*e 发帖数: 6785 | 40 【 以下文字转载自 Military 讨论区 】
发信人: youdu (青青子衿), 信区: Military
标 题: 最“有害”的十本书, 你知道或者看过那些?
发信站: BBS 未名空间站 (Wed Jun 11 20:29:43 2014, 美东)
美国保守派憎恨10本书
美国“人事 ”杂志(Human Events)邀请了15位保守派学者和公共政策领袖组成一个
评委会,来评比19到20世纪对世界“最有害的10本书”(Ten Most Harmful Books)。
每个评委可以推荐一定数量的候选书目,然后给全体评委推荐的所有候选书目打分:一
本书如果被一个评委列为第一名(最有害的书),得10分,第二名得9分,依此类推。
马克思和恩格斯的《共产党宣言》得了最高分,成为上两个世纪“最有害的一本书”。
1,《共產黨宣言》(The Communist Manifesto)
作者:马克思、恩格斯;
出版时间:1848;
得分:74
点评:马克思和恩格斯分别于1818年和1820年出生于德国,是共产主义的精神教父
。恩格斯起初是个左派富家公子:... 阅读全帖 |
|
k********k 发帖数: 5617 | 41 deviant and perverted, adj.
deviance and perversion, noun, behaviour
deviant and pervert, noun, person
deviate and pervert, verb |
|
BG 发帖数: 515 | 42 Faculty Positions: Full-time
Main Campus
California Baptist University, an evangelical Christian university
affiliated with the California Southern Baptist Convention, invites
applications for tenure-track positions to begin August 14, 2014 in the
areas listed below. Candidates must embrace the mission of California
Baptist University and evidence a clear understanding of, and commitment to,
excellence in teaching through the integration of the Christian faith and
learning. A terminal degree i... 阅读全帖 |
|
b********h 发帖数: 2451 | 43 一项新的研究表明,同性恋恋童癖的比例远超异性恋。你既然爱看统计数据,那就好好
看看吧。
Child molestation and pedophilia occur far more commonly among homosexuals
than among heterosexuals on a per capita basis, according to a new study.
"Overwhelming evidence supports the belief that homosexuality is a sexual
deviancy often accompanied by disorders that have dire consequences for our
culture," wrote Steve Baldwin in, "Child Molestation and the Homosexual
Movement," soon to be published by the Regent University Law Review.
Baldwin is the e... 阅读全帖 |
|
m******r 发帖数: 1033 | 44 是这篇文章吗 ? http://www.utstat.toronto.edu/~brunner/oldclass/appliedf11/handouts/2101f11StepwiseLogisticR.pdf
它的输出是如下:
> # Here was the chosen model from earlier
> redmod1 = glm(low ~ lwt+racefac+smoke+ptl+ht,family=binomial)
>
> backwards = step(fullmod) # Backwards selection is the default
Start: AIC= 221.28
low ~ age + lwt + racefac + smoke + ptl + ht + ui + ftv
Df Deviance AIC
- ftv 1 201.43 219.43
- age 1 201.93 219.93
201.28 221.28
- ptl 1 203.83 221.83
- ui 1 204.03 222.03
- racefac 2 ... 阅读全帖 |
|
B*********h 发帖数: 800 | 45 ☆─────────────────────────────────────☆
maglion (da木头) 于 (Mon Jan 22 12:21:47 2007) 提到:
A traveler starts from somewhere on the earth surface. She walks 1 mile east
, then 1 mile south, then 1 mile west, then 1 mile north. To her surprise,
she finds herself not EXACTLY at where she starts (she is so picky that any
deviance larger than 10^-30 cm is intorlerable). Is that really a surprise,
for this picky lady? Where can she starts instead to be albe to return to
exactly the same place?
Assum |
|
t******h 发帖数: 519 | 46 Is there any English word for "变态"? I think should be. But I don't know.
I prefer the word "deviance", but it is not "变态".
这
道 |
|
f*******n 发帖数: 588 | 47 An illuminating point, but need to be clarified.
Deviance from what? Hope others on this board to supplement and disambiguate
this argument. |
|
q*********i 发帖数: 696 | 48 有一组数据,k是trial的次数,y是success的次数,pred是唯一的predictor
每个observation的trial次数都不一样。
R代码写成下面这样可以吗?
glm (y/k~pred,binomial(link = "logit"), weights =k)
或
glm (y/k~pred,binomial(link = "logit"))
看了半天help也没看明白weights参数在这里的意思,试着fit了一下两个命令得到的参
数差不多。deviance和AIC都是有weight的那个小一些。 |
|