全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2487 0
2008-05-23

214402.rar
大小:(68 KB)

 马上下载

本附件包括:

  • TRAVEL.dta
  • exercise1.pdf


课上的作业。没有基础,于是一片茫然。

附件里面是.dta文件和作业要求

我对这个没想法了。

d) Predict conditional probability for single outcome within group accord-
ing to the third speci¯cation. Within group the choice variable which
has the largest predicted probability is the predicted outcome. Tabulate
predicted choice outcomes and report percentage of correct predictions
for each outcome.

还有,请仗义的XDJM帮我看看,我前面想的对不对

use D:\TRAVEL


a)Descriptive statistics. 3 P
² Report the proportion of choices.
² Report the descriptive statistics of individual specific variables.
² Report the descriptive statistics of the alternative-specific variables
by the choice outcome.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

proportion air train bus car
summarize choice mode costs transt hinc pers air train bus car
sort choice
by choice:summarize mode costs transt hinc pers

b)Estimate three di®erent conditional logit specifications.
² Use for the first specification only attribute specific information.
² Let the second specification additionally contain attribute specific
intercept terms.
² The third specification should contain attribute specific and indi-
vidual specific variables.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

logit choice mode costs transt hinc pers, group(id)
[这里非常非常茫然T___T]


c) Display odds ratio using relevant command in STATA. Interpret the
coe±cients of the most general specification. What do the estimated
coe±cients tell us about the e®ect of the corresponding X variable on
the choice probabilities?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

logistic air transt

[在网上查的关于odds ratio的意义和做法,http://www.ats.ucla.edu/stat/Stata/library/odds_ratio_logistic.htm
更复杂的就不清楚了]


帮帮我吧……

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群