Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
2701 views
1
### Go inside the "preamble" section and type C-e C-e C-r (ess-roxy-preview-Rd)
2
### to get an R error message about 'col(m)' --> there's a buglet somewhere
3
4
##' Computes different parameter estimates for foo bars and variations
5
##'
6
##' @title Estimation procedures for Foo Bar
7
##' @param x data matrix
8
##' @param op object to be estimated
9
##' @param method estimation method; can be
10
##' "mle" MLE
11
##' "smle" SMLE
12
##' "dmle" MLE based on the diagonal
13
##' "mde.normal" minimum distance estimation based on the chisq distribution and CvM distance
14
##' "mde.log" minimum distance estimation based on the Erlang distribution and CvM distance
15
##' "tau.tau.mean" averaged pairwise Kendall's tau estimator
16
##' "tau.theta.mean" average of Kendall's tau estimators
17
##' "beta" multivariate Blomqvist's beta estimator
18
##' @return estimated value/vector according to the chosen method
19
##' @author Foo Bar
20
estimateFoo <- function(x, op, method=c("mle", "smle", "dmle", "mde.normal", "mde.log",
21
"tau.tau.mean", "tau.theta.mean", "beta"))
22
{
23
....
24
}
25
26