Displaying 3 results from an estimated 3 matches for "wildsc0p".
Did you mean:
wildc01
2008 Jan 27
2
Likelihood optimization numerically
...*digamma(alpha) -n*(log(sum(x)/(n*alpha))+1) + (sum(log(x)))
It feels like i should use
nls(... , trace=T, start=c(alpha=...),nls.control(maxiter=100,tol=.1))
but not sure "how".
Can anyone provide me hint?
Thank you for your time.
Ehsan
http://www.youtube.com/profile_play_list?user=wildsc0p
> R.Version()
$platform
[1] "i386-pc-mingw32"
$arch
[1] "i386"
$os
[1] "mingw32"
$system
[1] "i386, mingw32"
$status
[1] ""
$major
[1] "2"
$minor
[1] "6.1"
$year
[1] "2007"
$month
[1] "11"
$day
[1] "...
2009 Apr 04
1
Extracting a function from a R package
Dear List,
I typed
> page(survival:::print.coxph, "print" )
and I got the respective codes.
> page(MASS::lda, "print")
gives me
###############################
function (x, ...)
UseMethod("lda")
<environment: namespace:MASS>
###############################
Is there any way I can get/extract the lda function from MASS?
Thanks for your attention.
>
2009 Apr 25
1
Overlapping parameters "k" in different functions in "ipred"
Dear List,
I have a question regarding "ipred" package. Under 10-fold cv, for different knn ( = 1,3,...25), I am getting same misclassification errors:
#############################################
library(ipred)
data(iris)
cv.k = 10 ## 10-fold cross-validation
bwpredict.knn <- function(object, newdata) predict.ipredknn(object, newdata, type="class")
for (i in