0
$\begingroup$

Suppose I have a sample of 10 $t$ variates which I think has come from a non-central $t-distribution$.

I was wondering how I can estimate the non-centrality parameter $(ncp)$ of the mother non-central t-distribution from which my sample of 10 t variates has come?

Is there a formula for this?

$\endgroup$
0
$\begingroup$

There is no analytical solution to this problem, so you will need to use iterative or approximate methods. That means using either maximum likelihood or method of moments. You can use numerical methods for ML which is default in most software. R uses BFGS via the nlm function.

An example:

set.seed(123)
sim.t <- rt(n=1000, df=10, ncp = 3)
negloglik <- function(parm) -sum(dt(sim.t, parm[1], parm[2], log=T))
nlm(negloglik, c(1,1))

gives

 > nlm(negloglik, c(1,1))
$minimum
[1] 1672.896

$estimate
[1] 10.65885  3.05055

$gradient
[1] 2.026531e-06 5.694497e-05

$code
[1] 1

$iterations
[1] 14
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.