由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 请教R和 usenet的问题
相关主题
请教一个面试问题如何用SAS求解方程
用EM求的MLE,但是observed likelihood 怎么算呢genetic algorithm算是一种numerical optimization 吗?
Problem with Maximum Likelihood Estimation关于Generalized Linear Mixed Models(GLMMs)的问题
likelihood ratio asymptotic approximationssas error message
请高手给解释一下Bayesian Dynamic Linear Model?Where to get free C++ library for matrix computation?
any one did EM to find MLE of mixed effects model in R请教大家:用SAS 做SEM出现的问题
regression的residual sum of sq除以sigma^2如何拆成几个chi sSPSS 和 R 的问题
[合集] question about MLE请问proc genmod, sas问题
相关话题的讨论汇总
话题: theta话题: usenet话题: raphson话题: maxnr话题: newton
进入Statistics版参与讨论
1 (共1页)
D******6
发帖数: 6211
1
我现在想学习用R编程,主要是newton raphson MLE方面的,在网上搜到内容如下,
1.
http://www.pdfgeni.com/book/newton-raphson-MLE-in-matlab-pdf.html
有免费trial,但是过期以后会收费,现在要求用信用卡注册。有人用过么?这个网站
可靠么?
2.
另外一个问题是:R本身提供一个newton raphson的MLE http://rss.acs.unt.edu/Rdoc/library/micEcon/html/maxNR.html
我怎么才能看到源代码?
谢谢指教。
r****y
发帖数: 26819
2
这个?
http://rss.acs.unt.edu/Rdoc/library/micEcon/R-ex/maxNR.R
### Name: maxNR
### Title: Newton-Raphson maximisation
### Aliases: maxNR
### Keywords: optimize
### ** Examples
## ML estimation of exponential duration model:
t <- rexp(100, 2)
loglik <- function(theta) sum(log(theta) - theta*t)
## Note the log-likelihood and gradient are summed over observations
gradlik <- function(theta) sum(1/theta - t)
hesslik <- function(theta) -100/theta^2
## Estimate with numeric gradient and Hessian
a <- maxN

【在 D******6 的大作中提到】
: 我现在想学习用R编程,主要是newton raphson MLE方面的,在网上搜到内容如下,
: 1.
: http://www.pdfgeni.com/book/newton-raphson-MLE-in-matlab-pdf.html
: 有免费trial,但是过期以后会收费,现在要求用信用卡注册。有人用过么?这个网站
: 可靠么?
: 2.
: 另外一个问题是:R本身提供一个newton raphson的MLE http://rss.acs.unt.edu/Rdoc/library/micEcon/html/maxNR.html
: 我怎么才能看到源代码?
: 谢谢指教。

D******6
发帖数: 6211
3
谢谢解答!
不过这个不是我要找的。这个是应用代码,不是源代码。我刚知道了怎么找源代码。
这么找:按maxNR网页底端提到的package number,去找那个package下载,下载以后直
接去folder里面看同名源代码文件就是了。

【在 r****y 的大作中提到】
: 这个?
: http://rss.acs.unt.edu/Rdoc/library/micEcon/R-ex/maxNR.R
: ### Name: maxNR
: ### Title: Newton-Raphson maximisation
: ### Aliases: maxNR
: ### Keywords: optimize
: ### ** Examples
: ## ML estimation of exponential duration model:
: t <- rexp(100, 2)
: loglik <- function(theta) sum(log(theta) - theta*t)

1 (共1页)
进入Statistics版参与讨论
相关主题
请问proc genmod, sas问题请高手给解释一下Bayesian Dynamic Linear Model?
用R的optim Hessian=T option得到负的varaince正常吗any one did EM to find MLE of mixed effects model in R
自学统计硕士可能吗?regression的residual sum of sq除以sigma^2如何拆成几个chi s
Python list 's copy[合集] question about MLE
请教一个面试问题如何用SAS求解方程
用EM求的MLE,但是observed likelihood 怎么算呢genetic algorithm算是一种numerical optimization 吗?
Problem with Maximum Likelihood Estimation关于Generalized Linear Mixed Models(GLMMs)的问题
likelihood ratio asymptotic approximationssas error message
相关话题的讨论汇总
话题: theta话题: usenet话题: raphson话题: maxnr话题: newton