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

[统计生统] Statistics Geek {各类link收集贴}

   
🔗
 楼主| duanmupeiyi 2010-1-30 11:42:05 | 只看该作者
全局:
端木MM还没结果? 我早上查完邮箱想起这里还有一个刷邮箱的过来看好消息~
right_here2008 发表于 2010-1-29 16:53
.

谢谢关心 <3
没有刷出结果。。。
安慰自己,还没有消息证明还有希望 :P
回复

使用道具 举报

🔗
 楼主| duanmupeiyi 2010-1-31 10:52:52 | 只看该作者

在LaTeX中插入代码

全局:
本帖最后由 duanmupeiyi 于 2010-1-30 18:53 编辑

在买买提的统计版上看到一则帖子: ..
http://www.mitbbs.com/article_t/Statistics/31209913.html. Waral dи,
发信人: zerk (阿呆), 信区: Statistics
标  题: 问一个Latex的问题
发信站: BBS 未名空间站 (Wed Jan 27 15:02:57 2010, 美东)

我想在Latex里插入一小段Rcode/SAS code,用什么environment呢?我一直用
listings,可-baidu 1point3acres
是效果跟别人paper差好远?大家是用什么啊,给以给个demo么,我送包子

--
我英文名叫做“K"

请在Ebay中搜索:“sanguosha”

※ 修改:·zerk 於 Jan 27 15:57:34 2010 修改本文·[FROM: 128.119.] ..
※ 来源:·WWW 未名空间站 海外: mitbbs.com 中国: mitbbs.cn·[FROM: 128.119.]
发信人: Warrick (采蘑菇的大白兔), 信区: Statistics. 1point 3 acres
标  题: Re: 问一个Latex的问题
发信站: BBS 未名空间站 (Wed Jan 27 15:59:33 2010, 美东)

\begin{verbatim}. Waral dи,

codes

\end{verbatim}


发信人: zerk (阿呆), 信区: Statistics
标  题: Re: 问一个Latex的问题
发信站: BBS 未名空间站 (Wed Jan 27 16:15:51 2010, 美东)
.
我找到了

\usepackage{listings}.--
\usepackage{courier}
\lstset{
         basicstyle=\footnotesize\ttfamily,
         %numbers=left,
         numberstyle=\tiny,
         %stepnumber=2,
         numbersep=5pt,
         tabsize=2,
         extendedchars=true,
         breaklines=true,.1point3acres
         keywordstyle=\color{red},
                frame=b,
. .и%        keywordstyle=[1]\textbf,
%        keywordstyle=[2]\textbf,
%        keywordstyle=[3]\textbf,
%        keywordstyle=[4]\textbf,   \sqrt{\sqrt{}}
         stringstyle=\color{white}\ttfamily,
         showspaces=false,
         showtabs=false,
         xleftmargin=17pt,
         framexleftmargin=17pt,
         framexrightmargin=5pt,
         framexbottommargin=4pt,
         %backgroundcolor=\color{lightgray},
         showstringspaces=false
}

\usepackage{caption}
\DeclareCaptionFont{white}{\color{white}}
\DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35,.
0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
\captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white,
singlelinecheck=false, margin=0pt, font={bf,footnotesize}}

\begin{document}

\begin{lstlisting}[label=xxx, caption=xxx]{language=R}
x <- rnorm(10)
dim(x) <- c(5,2)
\end{lstlisting}. .и

\end{document}

【 在 Warrick (采蘑菇的大白兔) 的大作中提到: 】
: \begin{verbatim}
: codes ..
: \end{verbatim}



--
我英文名叫做“K"

请在Ebay中搜索:“sanguosha”

※ 来源:·WWW 未名空间站 海外: mitbbs.com 中国: mitbbs.cn·[FROM: 128.119.]



发信人: biomedbox (smoke tears away), 信区: Statistics
标  题: Re: 问一个Latex的问题
发信站: BBS 未名空间站 (Wed Jan 27 18:28:22 2010, 美东)

没有,我试了下,楼主这个listings pakcage非常强大,看这里链接
http://en.wikibooks.org/wiki/LaTeX/Packages/Listings ..
可以根据编程语言进行语法高亮,直接指定含有程序的文件显示等等

谢谢楼主让我发现了一个好东东,忍不住回个贴. 1point3acres
以前总是用verbatim引用程序code
【 在 sesameavenue (pi) 的大作中提到: 】
: 用\tt{}效果是一样的。



--

※ 来源:·WWW 未名空间站 海外: mitbbs.com 中国: mitbbs.cn·[FROM: 129.186.]
回复

使用道具 举报

🔗
lichenga2404 2010-2-3 22:40:16 | 只看该作者
全局:
CSer   飘过~~~     current interests   machine learning ,pattern recognition , 所以跟 statistics 关系很密切的说~~~       拜读 duanmu 同学的大作~~~~
回复

使用道具 举报

🔗
 楼主| duanmupeiyi 2010-2-12 05:37:01 | 只看该作者
全局:
8gua:
tomorrow is the Biostatistics visiting day. They will go to the Statistical Inference class, which is required. The classroom is very small. I don't think we could handle 13 more people.

I need to get up early and go to the classroom early...
回复

使用道具 举报

🔗
modifiedname 2010-2-12 06:56:02 | 只看该作者
全局:
8gua:
tomorrow is the Biostatistics visiting day. They will go to the Statistical Inference class, which is required. The classroom is very small. I don't think we could handle 13 more people.. From 1point 3acres bbs
. 1point 3acres
I n ....--
duanmupeiyi 发表于 2010-2-12 05:37
bless能占到座位~~
回复

使用道具 举报

🔗
 楼主| duanmupeiyi 2010-2-16 04:34:06 | 只看该作者
全局:
推荐两本书:
The Visual Display of Quantitative Information, 2nd edition 2001. Waral dи,
Edward R. Tufte
http://www.amazon.com/Visual-Dis ... -2nd/dp/0961392142/

. 1point3acres.com Statistical Rules of Thumb (Wiley Series in Probability and Statistics) (Paperback) 2008
Gerald van Belle. check 1point3acres for more.
http://www.amazon.com/Statistica ... tics/dp/0470144483/
回复

使用道具 举报

🔗
marshall.yang 2010-2-17 01:15:48 | 只看该作者
全局:
端木MM辛苦,这么多好东西,谢谢谢谢!
回复

使用道具 举报

🔗
 楼主| duanmupeiyi 2010-2-18 13:22:15 | 只看该作者
全局:
不想学习,在看Berkeley的Statistics Graduate Student Association (SGSA) 网站上的手册 Degree of Freedom
其中介绍了Berkeley-Stanford Colloquium:
The Berkeley-Stanford Colloquium occurs once every semester, alternating between the campuses. A talk by a member of the visiting campus is followed by socialising. It's a perfect occasion for landing a smart, rich boyfriend.


回复

使用道具 举报

🔗
joyce1322 2010-2-18 13:28:16 | 只看该作者
全局:
78# duanmupeiyi ,smart rich boyfriend, (星星眼,流口水中),端木mm 多物色几个,别忘了坛子里的姐妹。
回复

使用道具 举报

🔗
 楼主| duanmupeiyi 2010-2-18 13:56:48 | 只看该作者
全局:
78# duanmupeiyi ,smart rich boyfriend, (星星眼,流口水中),端木mm 多物色几个,别忘了坛子里的姐妹。
joyce1322 发表于 2010-2-17 21:28


哈哈,我去研究一下怎么当红娘~

看的另一句很搞的:. 1point3acres
Nightlife
We really don't know about this. Ask some art history students or something.
回复

使用道具 举报

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

本版积分规则

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