摘要: R: mvtnorm packageused to simlulate data from a bivariate or more generally, a multivariate normal distribution# 10 observations from a bivariate standard normal distrtibutionset.seed(123) rmvnorm(10, mean = c(0, 0), sigma = diag(2))mu_x = 0.05mu_y = 0.025sig_x = 0.10sig_y = 0.05rho_xy = 0.9sig_xy = 阅读全文
posted @ 2014-03-10 23:33 Defightender 阅读(1038) 评论(0) 推荐(0) 编辑
摘要: 这些天感觉很困很累,远离了主,也没有能够坚持这100天的计划,但我想不能因为这十几天而荒废掉这个计划,我无时无刻不需要主的指引。 No. 1 每天读圣经 Revelations 15 今天学习了一些函数式编程的知识和ML语言的特性,熟悉了Emacs的另外一些快捷键。 (1)Option; ML 语言有一种特殊的类型 option,它可以取两种值,一种是 SOME 类型,一种是 NONE 类型。这种变量可以在返回空值的时候用上,程序会更有意义。 (2)Let 语句;还没有得到确定的表述,但我觉得函数式编程应该是不能定义 local variable 的,所以需要用到 let...in... 阅读全文
posted @ 2013-10-25 00:29 Defightender 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一夜的火车软座回到杭州,再颠簸回到学校,累得不成样子了,下午听着《残酷月光》,听得有点想哭。我总是这样,如果真的有什么事,我不一定不行,但是静下来想想自己,总觉得很可怜。 No. 1 每天读圣经 Revelation 13-14 北京之行,愿天父以你的意念来成全,我知道你已经安排好我的道路,我只需听从你的旨意,将自己完完全全地交给你,从此一无挂虑,无论是杭州、北京、上海或是其他的地方,都是你的美意。 阅读全文
posted @ 2013-10-15 01:29 Defightender 阅读(136) 评论(0) 推荐(0) 编辑
摘要: No. 1 每天读圣经 Revelation 7-8 “Therefore they are before the throne of God, and serve him day and night in his temple; and he who sits on the throne will shelter them with his presence. They shall hunger no more, neither thirst anymore; the sun shall not strike them, nor any scorching heat. For the... 阅读全文
posted @ 2013-10-12 01:43 Defightender 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 今天仍然在痛苦的调整中,不过比昨天好多了,给自己留下了一些reset messsages. 另外也彻底放弃了某些人,某些事情,不会再因为他们/它们而纠结了(or at least I hope)。 No. 1 每天读圣经 今天又偷懒了,Revelation 6 Our father in heaven, I understand this is a tough test for my faith. I need to go through this to move forward. And I will walk in the light of God. I shall never ... 阅读全文
posted @ 2013-10-11 00:41 Defightender 阅读(114) 评论(0) 推荐(0) 编辑
摘要: No 1. 每天读圣经 Revelation 4-5 Today I think I sort of reneged on my promises. I don't feel well. 阅读全文
posted @ 2013-10-09 23:25 Defightender 阅读(101) 评论(0) 推荐(0) 编辑
摘要: No. 1 每天读圣经 Revelations 1-3 "Wake up, and strengthen what remains and is about to die, for I have not found your works complete in the sight of my God. Remember, then, what you received and heard. Keep it, and repent. If you will not wake up, I will come like a tief, and you will not know at wh 阅读全文
posted @ 2013-10-09 00:58 Defightender 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 初识函数式编程,暂时还没有能够察觉它的优势,不过递归确实有一种精妙的感觉。用的是ML语言在Emacs里面很方便。 Courtesy of Dan Grossman 今天学习的Emacs快捷键: C-a 回到一行头部;C-e 到行尾 Alt-a 到句首;Alt-e 到句尾 C-s 查找;继续C-s到查找到的下一个位置,回车结束 复制: C-@ 设置起始点, C-n等移动光标到所需要的位置; Alt-W 复制; C-y 粘贴(由于Alt-W是QQ的一个热键,因此要修改QQ的设置) commit到github出现了一个小问题: 执行下面的语句解决问题: git rem... 阅读全文
posted @ 2013-10-08 22:08 Defightender 阅读(174) 评论(0) 推荐(0) 编辑
摘要: No. 1 每天读圣经 今天读了2 John 1, 3 John 1 和 Jude 明天就开始读Revelation了 人心筹算自己的道路,惟耶和华指引他的脚步。 —— 箴言16:9 No. 2 CPA 审计第十四章 采购与付款循环的审计(1)-(4),第十五章 生产与存货循环的审计(1)-(3),第十六章 货币资金的审计(1)-(3),第十七章 对舞弊和法律法规的考虑(1) 阅读全文
posted @ 2013-10-08 01:38 Defightender 阅读(91) 评论(0) 推荐(0) 编辑
摘要: I keep forgetting how to push to github... Here is a reminder: git init git remote add origin git@github.com:***/***.git git add week8.R git commit -m "an old file" git push -u origin master But when I changed a directory and performed the same directives as above, something is wr... 阅读全文
posted @ 2013-10-07 20:56 Defightender 阅读(218) 评论(0) 推荐(0) 编辑