由买买提看人间百态

topics

全部话题 - 话题: logistics
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
cp
发帖数: 183
1
来自主题: SanFrancisco版 - [JOBS] Logistic manager for a bay area company
posting for a friend, please contact the e-mail addr. listed at the end of
the message directly. Thanks.
Logistics and Warehouse Manager (US)
Job Specifications
Responsible for the optimization of logistics and supply chain system for
the company (Sunvalleytek
International at Santa Clara).
Make recommendation and decision on the selection of logistics vendors,
carriers, product packaging, mail
class selection, carriers performance review and contract negotiations with
carriers.
The ma... 阅读全帖
y**i
发帖数: 1050
2
来自主题: Statistics版 - 紧急求助一个LOGISTIC REGRESSION 问题.
紧急求助一个LOGISTIC REGRESSION 问题.
请问大家一个问题,我打算做一个LOGISTIC REGRESSION MODEL, Y=1 或者0
但是我的Y=1只占 1%的比例,绝大部分是Y=0
可以用来做LOGISTIC REGRESSION吗?
我用SAS出来的结果非常差, GOODNESS OF FIT倒是可以,但是ROC 估计很差.
大家有什么办法吗, 对于这种SKEWED Y 有什么好的办法来做LOGISTIC REGRESSION不?
或者说其他的MODEL来PREDICT 0,1的吗?
在做LOGISTIC REGRESSION之前需要对数据做什么处理吗? 比如需要NORMALIZED DATA
吗,我的X, 有的X是1.0-2.0的LEVEL,有的是1000,2000,3000, 不知道是不是可以呢? 因
为我用SAS PROC LOGISTIC STEPWISE SELECTION X,不知道需要提前对数据做如何处理
呢?
谢谢
N*******3
发帖数: 96
3
来自主题: JobHunting版 - 请教:Amazon的Logistics组怎么样啊?
请教:Amazon的Logistics组怎么样啊?
亚麻提供的分组,只有4个,如下:
International Expansion
Amazon Logistics
Consumer Website
HSX (Hardlines Shopping Experience)
貌似都是些没听说过的组。。。只有Logistics看起来似乎好一些,比较想选,但是不
知道到底怎么样,希望不是坑。。。
Amazon Logistics
Amazon.com stores and sells millions of unique items worldwide through its
Fulfillment Centers (FCs). These items are shipped from tens of thousands of
vendors into the many FCs in the Amazon network. We need different
quantities of each of these items, we need to pick them up from the... 阅读全帖
N*******3
发帖数: 96
4
来自主题: JobHunting版 - 请教:Amazon的Logistics组怎么样啊?
请教:Amazon的Logistics组怎么样啊?
亚麻提供的分组,只有4个,如下:
International Expansion
Amazon Logistics
Consumer Website
HSX (Hardlines Shopping Experience)
貌似都是些没听说过的组。。。只有Logistics看起来似乎好一些,比较想选,但是不
知道到底怎么样,希望不是坑。。。
Amazon Logistics
Amazon.com stores and sells millions of unique items worldwide through its
Fulfillment Centers (FCs). These items are shipped from tens of thousands of
vendors into the many FCs in the Amazon network. We need different
quantities of each of these items, we need to pick them up from the... 阅读全帖
M*******d
发帖数: 32
5
上次谈到买好机票了,那现在就要开始准备往国内运书和家当了。
昨天晚上主要比较了一下contour logistics和七海
我的总结是:
1. contour logistics在收费相当的情况下,能够提供空运(6-14 days),而七
海只有9周的海运
2. 如果你寄送>=6个箱子,contour的空运反倒比七海便宜一些
3. 七海的免费包装箱看似很诱人,但是从contour logistics直接购买也不贵。
4. 七海的定价清晰,简单好算。contour只能一个个去quote,并且定价很有意思,运
送7个箱子($697)居然比运送六个($737)要便宜,见后面的表格。
下面是详细报告:
起点/终点:美国主要城市->中国北京
七海http://www.sevenseas-china.com
服务方式:海运,门到门
运输时间:9周
包装箱:免费提供
运费:第一个箱子$220,之后每个$110,每个箱子30KG
Contour Logistics http://www.contour-usa.com/
服务方式: 空运,门到门
运输时间: 6-14 days
包装箱:
i*o
发帖数: 702
6
除了proc reg和proc logistic的指令不同,model其他的全部相同(independent vars,
depdent var),为什么用proc logistic得出的coefficients和proc reg的全部相反以
至于无法interpret?多谢大牛指教。
reg和logistic的codes如下 ("used" is a binary variable, 0=not used; 1=used):
proc reg; model used=race v103 v2000 v2007 v2020 v2015 finstr_w1 v2612
depress1;
run;
proc logistic; model used=race v103 v2000 v2007 v2020 v2015 finstr_w1 v2612
depress1;
run;
m*n
发帖数: 695
7
来自主题: Statistics版 - 请教: exact logistic regression
看到文献除了做一般的logistic regression , 还做了exact logistic regression
。 原因之一是样本量小, 还有其他的原因吗?
因素A ,因素B 单独logistic regression 没有统计学意义, 但是”因素A X因素B
interaction” 的 exact logistic regression 就有统计学意义。文献是SAS做的,
我只有SPSS。象这种思想如何在spss 中实现呢?我的数据和文献的相似。 也想用这
种分析, 看两个因素联合起来是否能增加患病的危险。
请前辈们指点!
谢谢!!!
c*******o
发帖数: 27734
8
☆─────────────────────────────────────☆
MetroCard (捷运卡) 于 (Sat Jul 4 11:39:32 2009, 美东) 提到:
上次谈到买好机票了,那现在就要开始准备往国内运书和家当了。
昨天晚上主要比较了一下contour logistics和七海
我的总结是:
1. contour logistics在收费相当的情况下,能够提供空运(6-14 days),而七
海只有9周的海运
2. 如果你寄送>=6个箱子,contour的空运反倒比七海便宜一些
3. 七海的免费包装箱看似很诱人,但是从contour logistics直接购买也不贵。
4. 七海的定价清晰,简单好算。contour只能一个个去quote,并且定价很有意思,运
送7个箱子($697)居然比运送六个($737)要便宜,见后面的表格。
下面是详细报告:
起点/终点:美国主要城市->中国北京
七海http://www.sevenseas-china.com
服务方式:海运,门到门
运输时间:9周
包装箱:免费提供
运费:第一个箱子$220,之
w********h
发帖数: 17
9
来自主题: Science版 - Logit和Logistic Regression
关于logit和Logistic Regression:
对于binary data的regression, 最常用的就是Ronna写的logistic regression model.
那就是dependent variable Y 和independent variable X 之间的关系是:
logit{P(Y=1)}=log{p/(1-p)}=\beta_0+\beta_1 X.
人们之所以用logit link,是因为其拥有其它link无与伦比的优越性:它使modelz中\beta_1
具有odds ratio的解释.odds ratio可是个好东西,为什么呢?是因为无论在prosepective
study还是在retrospective study中,它都可以用来measure association.这也是logistic
regression model的优越性所在.
q****k
发帖数: 1023
10
I have no problem to use SAS Proc Logistic for an input data with aggregate
"count" variable.
But in SPSS, for the same input data with "count" variable, how to get the
similar "freq count" statement for SPSS Logistic Regression?
Thanks!
Please refer to
http://support.sas.com/rnd/app/da/cat/samples/chapter8.html
data coronary;
input sex ecg ca count @@;
datalines;
0 0 0 11 0 0 1 4
0 1 0 10 0 1 1 8
1 0 0 9 1 0 1 9
1 1 0 6 1 1 1 21
;
run;
proc logistic des... 阅读全帖
q****k
发帖数: 1023
11
I have no problem to use SAS Proc Logistic for an input data with aggregate
"count" variable.
But in SPSS, for the same input data with "count" variable, how to get the
similar "freq count" statement for SPSS Logistic Regression?
Thanks!
Please refer to
http://support.sas.com/rnd/app/da/cat/samples/chapter8.html
data coronary;
input sex ecg ca count @@;
datalines;
0 0 0 11 0 0 1 4
0 1 0 10 0 1 1 8
1 0 0 9 1 0 1 9
1 1 0 6 1 1 1 21
;
run;
proc logistic des... 阅读全帖
f********e
发帖数: 34
12
You fit a binary logistic regression to classify Z=1 or Z=0. You get the
best-fit regression coefficients Beta_0, Beta_1, Beta_2, and Beta_3 such
that log( P(Z=1)/P(Z=0) )= Beta_0 + Beta_1*A + Beta_2*B + Beta_3*C and the
likelihood of the training set is maximized. A, B, and C are continuous
variables.
Q1: Suppose you are training your logistic regression as described above.
You fit your logistic regression model on the training set and test it on
the same data set. Your accuracy rate is 98%. Yo
l***a
发帖数: 12410
13
来自主题: Statistics版 - R-square of logistic regression
thanks a lot.
my sas is 9.1.3 so the logistic procedure doesn't have the ROC statment
integrated yet. and since we didn't buy all the softwares, the proc iml is
also not available, which is called in the ROC macro provided by SAS.
but I do see there is "c" shown in the output of proc logistic and it's
related to condordance rate. is this the AUC provided by proc logistic your
mentioned?
I also tried to do the simple calculation of AUC based on the outroc file by
interporation, the result looks c
p*****o
发帖数: 543
14
来自主题: Statistics版 - 关于ORDINAL LOGISTIC REGRESSION
两个问题想确认一下
1.ORDINAL LOGISTIC REGRESSION中的应变量应该不需要是等间隔的吧,比如
Y= 1, 3, 9这三个值,也可以直接做ORDINAL LOGISTIC REGRESSION吧。不需要重新将
他们变成Y=1,2,3吧?
2.ORDINAL LOGISTIC REGRESSION中,Y可以是从0开始么?比如Y=01,2,3?或者Y可以从
负值开始么?比如Y=-1,0,1。这是不是跟Y=1,2,3的结果是一样的??
x***i
发帖数: 135
15
来自主题: Statistics版 - HELP--Logistic regression in R
要用R做很多个LOGISTIC REGRESSION, STATUS (Y)=rs1 (X), status=rs2....差不多
要做100多个这样的,y都是status,x不一样,从column7 到column 130,每个column
都是一个变量,都要跟status做个logistic regression,一个个写太麻烦了,请问R里
有什么比较简单的code能用吗?能用column7:column130之类的吗?
另外,每个logistic regression都会有很多output,如果我只想要pvalue,应该用什
么code呢?谢谢了
y*********s
发帖数: 24
16
来自主题: Statistics版 - help: proc logistic
how to save the result of proc logistic model in a data set?
I tried the code as below in the proc logistic and print the data set out.
output out = filename;
however, it turns out it only prints out the original data set.
Is something I did wrong?
ps: I would like the model based on the training set to be assessed using
the rest of the data set. So I need to get the coeff of the model, that is
why I want to record the output of proc logistic in a data set.
Is there a much better way to do this?
S********a
发帖数: 359
17
outcome变量Y=1,2,3,4, 想建一个unadjusted logistic regression for x, x
是一个连续型的数,用什么SAS procedure呢?
logistic reg的outcome是要在0,1间的,这个很象,但是level更多,还是用logistic
吗?什么特别的option 或者 link 吗?
谢谢
s*r
发帖数: 2757
18
那个conditional probability是我信口开河
你说的这个exact logistic regression其实是Exact Conditional Logistic
Regression,exact只是实现的方法, conditional才是统计的思想
做conditional 的原理在于认为某些parameter是Nuisance parameter,和自己要
estimate的parameter无关,conditional logistic regression的根本就是condition
out the nuisance parameters
S******y
发帖数: 1123
19
I have finally got Hadoop working on my Linux box. Next I would like to try
to see if I could to parallel model estimation for some commonly used models
such as logistic regression.
My question now is - how to paralell gradient descent for logistic model
estimation for real large data set?
Any thoughts would be greatly appreciated. Thanks in advance!
PS. See R code below. If needed, I could rewrite the following code in Java
or Python. But the question is how to decompose the following estimatio... 阅读全帖
d******e
发帖数: 7844
20
来自主题: Statistics版 - SVM和logistic regression 的比较
一般的logistic regression是不带penalty的,没法通过regularization来调节bias和
variance。所以我认为你是在说带ridge penalty的logistic regression。
如果是这两个比的花,两个方法的loss function非常像,性能上区别很小,不管是
linear的还是non-linear的,所以一般来说,你很难指望一个能明显beat另一个。
SVM能稍微robust一些,因为有sample上的sparsity。但是SVM并非对条件概率建模,所
以没法直接输出概率,也没办法做inference。Logistic Regression在这点上要强一些
,不过也只能做asymptotical inference.
p********a
发帖数: 5352
21
☆─────────────────────────────────────☆
cici (full house) 于 (Mon Nov 7 08:33:47 2011, 美东) 提到:
对于logistic regression
log(pi/1-pi)=b0+b1x1+b2x2
我现在已知independent variables和response variable{log(pi/1-pi)}
我要怎么做才能把参数b0,b1,b2 fit出来?非常感谢
☆─────────────────────────────────────☆
sleephare (I+don't+know.) 于 (Mon Nov 7 14:16:38 2011, 美东) 提到:
SAS, R?

☆─────────────────────────────────────☆
cici (full house) 于 (Mon Nov 7 16:19:05 2011, 美东) 提到:
R,thanks
☆────────────────────────────────────... 阅读全帖
q****k
发帖数: 1023
22
I have no problem to use SAS Proc Logistic for an input data with aggregate
"count" variable.
But in SPSS, for the same input data with "count" variable, how to get the
similar "freq count" statement for SPSS Logistic Regression?
Thanks!
Please refer to
http://support.sas.com/rnd/app/da/cat/samples/chapter8.html
data coronary;
input sex ecg ca count @@;
datalines;
0 0 0 11 0 0 1 4
0 1 0 10 0 1 1 8
1 0 0 9 1 0 1 9
1 1 0 6 1 1 1 21
;
run;
proc logistic des... 阅读全帖
a*z
发帖数: 294
23
来自主题: Statistics版 - Applied logistic regression by HL v2 Q1
Thank you first.
I am trying to learn logistic regression and study HL's book (v2). For the
first question of Chapter 1, I plot the STA's lived pct in each age group vs
med age of each group. The plot looks awful.
But when I fit the STA vs age, coeff of age and constant are both stat
significant.
My real question is: is there any way to explore data which will lead us to
use logistic regression, or most of the time I just blindly apply logistic
to binary response problems?
Thank you again.
x**********0
发帖数: 163
24
周末请问一个logistic regression 问题
Y 是 binary variable, 但是 unbalance, Y/N=1:8 左右 sample size=45000
我想请教大家都是如何处理unbalance data, 特别是在logistic regression里面
我想用bagging,搜了些文章,感觉有用的信息不多
bagging多数用在decision tree等unstable的model上吧,不知道在logistic 里面是否
会显著提升accuracy?
谢谢大家了
x**********0
发帖数: 163
25
周末请问一个logistic regression 问题
Y 是 binary variable, 但是 unbalance, Y/N=1:8 左右 sample size=45000
我想请教大家都是如何处理unbalance data, 特别是在logistic regression里面
我想用bagging,搜了些文章,感觉有用的信息不多
bagging多数用在decision tree等unstable的model上吧,不知道在logistic 里面是否
会显著提升accuracy?
谢谢大家了
A*******s
发帖数: 3942
26
在logistic regression在应用之前,银行的scorecard(评分表)其实就是简单地把申请
人的资料逐项打分(itemized and score),最后看看相加的总分是否超过了阈值。评分
表也不仅仅是在银行里用,social/medical/psychological research也很常见。评分
表的最重要的性质是每项分数的可加性,而我们都知道概率一般是不可加的(除非
underlying events are mutually exclusive),只有log odds有很好的可加性,也恰
好对应了logistic regression里面beta的意义。这是为什么logistic regression实际
应用非常广泛的原因,也是score应该是log odds的线性变换的原因。
具体到楼主的这个问题,要看阿三这个model的应用是否需要itemized scorecard的存
在。如果不需要的话,确实没必要转换成score,直接用probability即可。如果每个
segment的sampling weights是一样的话,当然可以直接一起用。
S****h
发帖数: 558
27
【 以下文字转载自 Engineering 讨论区 】
发信人: Shiloh (Shiloh), 信区: Engineering
标 题: Logistics forecasting 前景如何?
发信站: BBS 未名空间站 (Fri Dec 16 13:11:13 2011, 美东)
本人理论物理 Ph.D毕业,拿到一个做 Logistics forecasting 的软件公司offer,做
research (optimization, statistics) 兼一些developer (oracle pl). 我另有一
个一般金融模型的 offer, 在一个大公司(非Wall street), 两个薪水差不多 (10万
+一点奖金<20%)。个人原来选过一些金融的课,所以金融方面比较了解,前途很清楚
,算是按部就班. Supply chain forecasting不了解。听他们的介绍,似乎发展潜力很
大,公司不大(~200),现在做 comsumer goods produce的Supply chain
forecasting,雄心勃勃的准备进入其他商品门类,公司十年了... 阅读全帖
J**********D
发帖数: 160
28
来自主题: JobHunting版 - BASF Logistics Coordinator
Hi
I Am looking for candidates for the Logistics Coordinator , 3+ Year Contract
positions with BASF at Southfield, MI, United States. If you are available
& interested in this opportunity, please reply with latest copy of your
resume & the following information at the earliest convenience.
Full Name (First, middle, last):
W2 hourly Pay-rate expectations:
Work VISA Status:
Current Location:
Willing to relocate:
Open to travel:
Availability/ Notice Period:
If this opportunity or the timing is not... 阅读全帖
A*********t
发帖数: 64
29
来自主题: JobHunting版 - logistic regression命名的由来?
实际上就是要找一个无限可导的函数,定义域是R,值域是[0, 1],全程单调,一个方
向趋于1,另一个方向趋于0。
这个函数比较直接的就是所谓的logistic function。
但是为啥它叫做logistic呢?放狗搜了一下,没有明确答案。
好像是19世纪有人做人口的研究,发现这个函数是一个微分方程的解。
所以因为历史原因,命名为“后勤相关的”,和“逻辑”、“对数”没有任何关系。是
这样么?
有别的类似的简单的函数么(也是无限可导,定义域是R,值域是[0, 1],全程单调,
一个方向趋于1,另一个方向趋于0)
?(肯定是
有的)
懂的人说说。
F*******2
发帖数: 371
30
来自主题: JobHunting版 - logistic regression命名的由来?
几乎所有的cdf方程都可以满足吧
logistic是general linear regression的一种,general linear regression有一个
link function,一个family function。logistic的family是binomial (也可以是
mbinomial), link function是logit。logit(p)=ln(p/1-p)
The logit model was introduced by Joseph Berkson in 1944, who coined the
term. The term was borrowed by analogy from the very similar probit model
developed by Chester Ittner Bliss in 1934.[2] G. A. Barnard in 1949 coined
the commonly used term log-odds; the log-odds of an event is the logit of
the pr... 阅读全帖
D***s
发帖数: 168
31
来自主题: Seattle版 - 离散值怎么做logistic regression?
【 以下文字转载自 CS 讨论区 】
发信人: sci (ence), 信区: CS
标 题: 离散值怎么做logistic regression?
发信站: BBS 未名空间站 (Thu May 12 01:01:01 2011, 美东)
data像这样:
X = (store, zipcode), Y = popularity.
e.g.
(walmart, 10010), popular.
(safeway, 90100), not popular.
(walmart, 10600), popular.
....
etc
try to build a logistic regression model on this dataset.
S****h
发帖数: 558
32
来自主题: Programming版 - Logistics forecasting 前景如何? (转载)
【 以下文字转载自 Engineering 讨论区 】
发信人: Shiloh (Shiloh), 信区: Engineering
标 题: Logistics forecasting 前景如何?
发信站: BBS 未名空间站 (Fri Dec 16 13:11:13 2011, 美东)
本人理论物理 Ph.D毕业,拿到一个做 Logistics forecasting 的软件公司offer,做
research (optimization, statistics) 兼一些developer (oracle pl). 我另有一
个一般金融模型的 offer, 在一个大公司(非Wall street), 两个薪水差不多 (10万
+一点奖金<20%)。个人原来选过一些金融的课,所以金融方面比较了解,前途很清楚
,算是按部就班. Supply chain forecasting不了解。听他们的介绍,似乎发展潜力很
大,公司不大(~200),现在做 comsumer goods produce的Supply chain
forecasting,雄心勃勃的准备进入其他商品门类,公司十年了... 阅读全帖
m****e
发帖数: 282
33
There are lots of areas working on supply chain/logistics related research.
For example, OR/OM. OR/OM is more focused on the system design and
optimization problems. Stochastic model on inventory, demand and Markov Chain
related topics are just a part of them. So, it is just applying OR/OM tools on
supply chain/logistics related problems. In your case, I donot see any conflit
in pursuing your research interest and technical background required by your
department. Believe me, you can certainly gr
f********c
发帖数: 147
34
来自主题: PoliticalScience版 - 请教个logit model和logistic regression的问题。
谢谢!!
搞笑的是, 一个期刊上2002之前发表了很多用logit model的文章,结果2002年的时候,
发表了一个logistic regression的文章, 而且这个logistic regression的文章没有引
用任何logit model的文章。


p********a
发帖数: 5352
35
☆─────────────────────────────────────☆
btkiller (假如偶是真的) 于 (Mon May 7 01:35:55 2007) 提到:
自己做project需要算的:
用户舒适度1,2,3,4,5
某项性能:value在0-1间
看该性能对舒适度的影响。我一开始用的linear regression,后来因为别的问题请教统
计系的同学时都告诉我该用logistic,因为舒适度是ordinal?(大约是这么说,
有可能我记错了)
我就这么做了,显著性比以前提高,但是从我自己希望得到的结果来说,还不如Linear
的了。后来我跟以前的一位搞计量经济的老师说起,他说除非你的舒适度是边际递减的
,不然为什么用log呢?我才开始思考这个问题。。。不好意思,我没啥统计基础,觉
得既然学统计的都这么说就这么做了,没想过为什么。但是舒适度1-5之间显然不是对
数曲线的关系。
能麻烦哪位大虾解释一下这里用logistic regression的意义吗?我到底该不该用呢?
如果问得太笨了,请轻砸……
☆────────────────────────
s*****n
发帖数: 2174
36
你问的问题, 本质上是logitic regression model 的
model diagnostics. 这个问题本身就是一个困难的问题.
你要考虑的, 不是给Y分组, 而是给X分组.
分两种情况
(1) Logistic model with replication
同样的X下, 有多个Y(0/1)的观测. 这种情况比较容易.
你可以比较
Y hat = Model(X)
Y empirical = #1/(#1+#0) under X
然后算一下correlation什么的.
(2) Logistic model without replication
同样的X下, 只有一次Y的观察, 或者是0或者是1. 这种
情况下, 必须借助额外的assumption. 常用的就是model
的连续性, 即相似的X意味着相似的P(Y=1)
这时, 需要把所有的observation根据X进行clustering.
然后在每个cluster内, 看成是replication. 进行第一
种情况那样的算empirical rate和predicted rate.
可是如果X的维度较高, 高
w***y
发帖数: 114
37
ods trace on; /*which can show all the output you can get*/
proc logistics data= ;
model ;
run;
ods trace off;
/*after you decide which result you want*/
ods output trace show name=your specified name;
proc logistics data= ;
model ;
run;
Good luck
p******s
发帖数: 229
38
接上面的问题。
要求得每个医院 estimated probability and its 95% CI of event y, 在 proc
logistic regression 加一个什么样的output statement 可以得到呢?
谢谢大家帮助新手!!
by statement will do it:
proc sort data=all; by hospital; run;
proc logistic;
by hospital;
model y=x1 x2 x3;
output .........;
run;
c**********e
发帖数: 2007
39
来自主题: Statistics版 - Pseudo R Square in SAS (Proc Logistic)
For logistic regression, SPSS gives some Pseudo R Squares, such as:
1. Cox and Snell's R^2.
2. Nagelkerke's R2.
3. McFadden's R2.
Does SAS Proc Logistic do the same (or similar) thing?
Thanks a lot!
m*****e
发帖数: 13
40
Deal All,
I want to ask a stupid question about the null model fit statistics in proc
logistic. I want to get the -2LogL of the null model. I thought there are
two ways to do that.
1) Run the model without specifying any independent variable, i.e.
proc logistic data = mydata descending;model youtcome = /firth;run;
In the output, I found:
Model Convergence Status
Convergence criterion (GCONV=1E-8) satisfied.
-2 Log L = 38.858
2) Run the model by specifying independen
s*******f
发帖数: 148
41
要做几十个simple logistic regression,然后将每个模型中Wald Test得到的Wald
Chi-square, p-value, OR, CI提出来,列成表格。不太高兴对着每个output找对应的
值再填到表格里去,想偷懒让SAS自己汇报,不知道是否可行?
知道在PROC FREQ下面可以通过 OUTPUT OUT = NewSet chisq; 保存分析结果,这样后
面就可以提取p-value等等。不过PROC LOGISTIC里面找了半天,好像没有对应chisq的
option可以把p值什么都保存下来。是不是我的思路不对头?虚心求教:)
i*****r
发帖数: 318
42
关于做K fold Cross validation。
1:
在SVM 中,SVM()命令里直接有一个cross=K,也可以做K折交叉验证。
问题是做完以后,svm可以显示预测值,比如
A.svm=svm(y~.,data=XYZ,cross=10)
A.predict=predict(svm)
R问题:在logistic回归,神经网络和SVM中做交叉验证
请问这个拟合的预测值是10折交叉验证里面哪一个预测模型的预测值?
2:在做logistic 回归中,R提供一个cv.glm()指令可以做K折交叉验证,然后显示准确
率是多少。cv.glm()只可以显示预测准确率是多少,请问我在哪里可以看到这个预测模
型的拟合预测值,还有这个模型里面各个变量的参数是多少呢? 比如
A.glm=glm(y~.,data=XYZ,family=binomial)
A.cv.glm=cv.glm(XYZ, A)
这里A.cv.glm只能预测准确率是多少,但我不知道模型的拟合预测值,也不知道公式P=
exp(a1X1+a2X2+...anXn)/(1+exp(a1X1+a2X2+...anXn))里面a1..
o******6
发帖数: 538
43
☆─────────────────────────────────────☆
violetfanlin (简单就是力量) 于 (Sun Mar 1 01:42:28 2009) 提到:
想知道为什么:Logistic regression is used extensively in the medical and
social sciences as well as marketing applications such as prediction of a
customer's propensity to purchase a product or cease a subscription.
将这个模型运用于这些领域是不是合理和符合实际呢?如果是,是由怎样的process和
method来prove的呢?
谢谢大牛们!
☆─────────────────────────────────────☆
samleelyz (小蓝脸儿) 于 (Sun Mar 1 10:02:43 2009) 提到:
我不是大牛,我觉得用logistic regression是不
h******e
发帖数: 1791
44
来自主题: Statistics版 - 问个logistic regression的问题。
用stepwise的方法选择变量,得到两个A和B,都是continuous的,两者之间的
interaction被排除了,如下:
Parameter DF Estimate SE Wald Pr>ChiSq
A 1 0.1297 0.0435 8.9076 0.0028
B 1 -0.3586 0.1732 4.2843 0.0385
可见两者的作用是相反的。
但如果单独用A或B做logistic model,得到:
A的estimate是0.0565,B的estimate是0.1665,两者的作用是同向的。如果单独对二者
做linear regression的话,发现存在正相关性。
请问该如何解释logistic regression的结果。谢谢。
S******y
发帖数: 1123
45
I am using logistic regression to model rare event, i.e.,
y=0 98.5%
y=1 1.5%
N= 11 million
I am thinking of over-sampling "y=1" observations to increase their
percentage from 1.5% to 10%. Then I will perform logistic regression.
Is this method valid? Will my estimates be biased?
Thanks.
o******6
发帖数: 538
46
☆─────────────────────────────────────☆
Emilyxue (雪) 于 (Thu May 15 14:12:39 2008) 提到:
急问用SAS 分析LOGISTIC regression, 有fix variable &random variable应该用什么
MODEL?非常感谢
☆─────────────────────────────────────☆
statcompute (statcompute) 于 (Thu May 15 21:22:46 2008) 提到:
there is nothing called "fix variable & random variable" in logistic reg.
Instead, there are "fixed effect" and "random effect". This type of model is
also called "generalized linear mixed model", which can be analyzed with "
pr
S******y
发帖数: 1123
47
I am using PROC LOGISTIC to model binary outcomes.
I have observed Y (1 or 0) from original data.
I also have got predicted probability for each observation (i.e. predicted
probability of event Y=1) from PROC LOGISTIC. Let us call it - p_hat.
for example, I would have two columns -
Y p_hat
1 0.6
0 0.3
1 0.45
...
I would like to build a 2X2 classification table -
Y =1, Y =0 vs. Y_hat=1, Y_hat =0
to evaluate my classification accuracy.
The challenge is - how to derive Y_hat from p_hat? what
a********a
发帖数: 346
48
来自主题: Statistics版 - multinomial logistic regression
Normally the logistic regression is two categories for the dependent
variable, what if there are more than two categories. Can I still use proc
logistic is SAS?
Thanks
h******e
发帖数: 1791
49
来自主题: Statistics版 - multinomial logistic regression
intercept is useless in this case. what you need to pay attention is that
the assumption of mulinomial logistic regression when you use proc logistic.
c****s
发帖数: 63
50
现在完成了logistic regression的model在model-building data set,请问怎样用
validation data来validate我的结果是好的呢?因为logistic regression预测的结果
都是1或0。
还望大侠们多多指教,非常感谢。
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)