MLE of $theta$ in $U[0,theta]$ distribution where the parameter $theta$ is discrete
$begingroup$
Consider i.i.d random variables $X_1,X_2,ldots,X_n$ having the $U[0,theta]$ distribution: $$f_{theta}(x)=frac{mathbf1_{[0,theta]}(x)}{theta}$$
, where the unknown parameter $thetain{1,2,ldots}$.
What can I say about the maximum likelihood estimator (MLE) of $theta$?
Usually the parameter space is $mathbb R^{+}$ in which case the MLE is known to be $$X_{(n)}=max{X_1,X_2,ldots,X_n}$$
, but here the parameter space is restricted to the natural numbers.
In any case, the likelihood function given the sample $x_1,ldots,x_n$ is
$$L(theta)=frac{mathbf1_{[0,theta]}(x_1,ldots,x_n)}{theta^n}=frac{mathbf1_{[x_{(n)},infty)}(theta)}{theta^n}qquad,,thetainmathbb N$$
So I should check the values of $L(theta)$ for each $thetain{1,2,ldots}$ and the MLE is that value of $theta$ for which $L(theta)$ is maximized. Is this the correct strategy or can I say that MLE of $theta$ is $hattheta=lfloor X_{(n)}rfloor$? Or does the MLE exist at all? I am not sure.
Any hint would be helpful.
statistics probability-distributions uniform-distribution maximum-likelihood
$endgroup$
add a comment |
$begingroup$
Consider i.i.d random variables $X_1,X_2,ldots,X_n$ having the $U[0,theta]$ distribution: $$f_{theta}(x)=frac{mathbf1_{[0,theta]}(x)}{theta}$$
, where the unknown parameter $thetain{1,2,ldots}$.
What can I say about the maximum likelihood estimator (MLE) of $theta$?
Usually the parameter space is $mathbb R^{+}$ in which case the MLE is known to be $$X_{(n)}=max{X_1,X_2,ldots,X_n}$$
, but here the parameter space is restricted to the natural numbers.
In any case, the likelihood function given the sample $x_1,ldots,x_n$ is
$$L(theta)=frac{mathbf1_{[0,theta]}(x_1,ldots,x_n)}{theta^n}=frac{mathbf1_{[x_{(n)},infty)}(theta)}{theta^n}qquad,,thetainmathbb N$$
So I should check the values of $L(theta)$ for each $thetain{1,2,ldots}$ and the MLE is that value of $theta$ for which $L(theta)$ is maximized. Is this the correct strategy or can I say that MLE of $theta$ is $hattheta=lfloor X_{(n)}rfloor$? Or does the MLE exist at all? I am not sure.
Any hint would be helpful.
statistics probability-distributions uniform-distribution maximum-likelihood
$endgroup$
$begingroup$
$theta$ must be at least as big as the largest $X_i$ so surely it should equal the next largest integer.
$endgroup$
– user121049
Dec 14 '18 at 17:45
$begingroup$
@user121049 Yes, I should have used 'ceiling' instead of 'floor'.
$endgroup$
– StubbornAtom
Dec 14 '18 at 17:49
add a comment |
$begingroup$
Consider i.i.d random variables $X_1,X_2,ldots,X_n$ having the $U[0,theta]$ distribution: $$f_{theta}(x)=frac{mathbf1_{[0,theta]}(x)}{theta}$$
, where the unknown parameter $thetain{1,2,ldots}$.
What can I say about the maximum likelihood estimator (MLE) of $theta$?
Usually the parameter space is $mathbb R^{+}$ in which case the MLE is known to be $$X_{(n)}=max{X_1,X_2,ldots,X_n}$$
, but here the parameter space is restricted to the natural numbers.
In any case, the likelihood function given the sample $x_1,ldots,x_n$ is
$$L(theta)=frac{mathbf1_{[0,theta]}(x_1,ldots,x_n)}{theta^n}=frac{mathbf1_{[x_{(n)},infty)}(theta)}{theta^n}qquad,,thetainmathbb N$$
So I should check the values of $L(theta)$ for each $thetain{1,2,ldots}$ and the MLE is that value of $theta$ for which $L(theta)$ is maximized. Is this the correct strategy or can I say that MLE of $theta$ is $hattheta=lfloor X_{(n)}rfloor$? Or does the MLE exist at all? I am not sure.
Any hint would be helpful.
statistics probability-distributions uniform-distribution maximum-likelihood
$endgroup$
Consider i.i.d random variables $X_1,X_2,ldots,X_n$ having the $U[0,theta]$ distribution: $$f_{theta}(x)=frac{mathbf1_{[0,theta]}(x)}{theta}$$
, where the unknown parameter $thetain{1,2,ldots}$.
What can I say about the maximum likelihood estimator (MLE) of $theta$?
Usually the parameter space is $mathbb R^{+}$ in which case the MLE is known to be $$X_{(n)}=max{X_1,X_2,ldots,X_n}$$
, but here the parameter space is restricted to the natural numbers.
In any case, the likelihood function given the sample $x_1,ldots,x_n$ is
$$L(theta)=frac{mathbf1_{[0,theta]}(x_1,ldots,x_n)}{theta^n}=frac{mathbf1_{[x_{(n)},infty)}(theta)}{theta^n}qquad,,thetainmathbb N$$
So I should check the values of $L(theta)$ for each $thetain{1,2,ldots}$ and the MLE is that value of $theta$ for which $L(theta)$ is maximized. Is this the correct strategy or can I say that MLE of $theta$ is $hattheta=lfloor X_{(n)}rfloor$? Or does the MLE exist at all? I am not sure.
Any hint would be helpful.
statistics probability-distributions uniform-distribution maximum-likelihood
statistics probability-distributions uniform-distribution maximum-likelihood
asked Dec 14 '18 at 17:00
StubbornAtomStubbornAtom
6,00811239
6,00811239
$begingroup$
$theta$ must be at least as big as the largest $X_i$ so surely it should equal the next largest integer.
$endgroup$
– user121049
Dec 14 '18 at 17:45
$begingroup$
@user121049 Yes, I should have used 'ceiling' instead of 'floor'.
$endgroup$
– StubbornAtom
Dec 14 '18 at 17:49
add a comment |
$begingroup$
$theta$ must be at least as big as the largest $X_i$ so surely it should equal the next largest integer.
$endgroup$
– user121049
Dec 14 '18 at 17:45
$begingroup$
@user121049 Yes, I should have used 'ceiling' instead of 'floor'.
$endgroup$
– StubbornAtom
Dec 14 '18 at 17:49
$begingroup$
$theta$ must be at least as big as the largest $X_i$ so surely it should equal the next largest integer.
$endgroup$
– user121049
Dec 14 '18 at 17:45
$begingroup$
$theta$ must be at least as big as the largest $X_i$ so surely it should equal the next largest integer.
$endgroup$
– user121049
Dec 14 '18 at 17:45
$begingroup$
@user121049 Yes, I should have used 'ceiling' instead of 'floor'.
$endgroup$
– StubbornAtom
Dec 14 '18 at 17:49
$begingroup$
@user121049 Yes, I should have used 'ceiling' instead of 'floor'.
$endgroup$
– StubbornAtom
Dec 14 '18 at 17:49
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Given a sample $xequiv {x_i}_{i=1}^n$, the likelihood is
$$
L(thetamid x)=theta^{-n}1{thetage M(x)},quad text{where}quad M(x):=lceilmax_{1le ile n}x_irceil.
$$
The indicator suggests that $hat{theta}_n(x)ge M(x)$ ($because$ $L=0$ otherwise). However, taking values larger than $M(x)$ decreases $L$ because of the first term. Thus, $hat{theta}_n(x)= M(x)$.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3039632%2fmle-of-theta-in-u0-theta-distribution-where-the-parameter-theta-is-di%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Given a sample $xequiv {x_i}_{i=1}^n$, the likelihood is
$$
L(thetamid x)=theta^{-n}1{thetage M(x)},quad text{where}quad M(x):=lceilmax_{1le ile n}x_irceil.
$$
The indicator suggests that $hat{theta}_n(x)ge M(x)$ ($because$ $L=0$ otherwise). However, taking values larger than $M(x)$ decreases $L$ because of the first term. Thus, $hat{theta}_n(x)= M(x)$.
$endgroup$
add a comment |
$begingroup$
Given a sample $xequiv {x_i}_{i=1}^n$, the likelihood is
$$
L(thetamid x)=theta^{-n}1{thetage M(x)},quad text{where}quad M(x):=lceilmax_{1le ile n}x_irceil.
$$
The indicator suggests that $hat{theta}_n(x)ge M(x)$ ($because$ $L=0$ otherwise). However, taking values larger than $M(x)$ decreases $L$ because of the first term. Thus, $hat{theta}_n(x)= M(x)$.
$endgroup$
add a comment |
$begingroup$
Given a sample $xequiv {x_i}_{i=1}^n$, the likelihood is
$$
L(thetamid x)=theta^{-n}1{thetage M(x)},quad text{where}quad M(x):=lceilmax_{1le ile n}x_irceil.
$$
The indicator suggests that $hat{theta}_n(x)ge M(x)$ ($because$ $L=0$ otherwise). However, taking values larger than $M(x)$ decreases $L$ because of the first term. Thus, $hat{theta}_n(x)= M(x)$.
$endgroup$
Given a sample $xequiv {x_i}_{i=1}^n$, the likelihood is
$$
L(thetamid x)=theta^{-n}1{thetage M(x)},quad text{where}quad M(x):=lceilmax_{1le ile n}x_irceil.
$$
The indicator suggests that $hat{theta}_n(x)ge M(x)$ ($because$ $L=0$ otherwise). However, taking values larger than $M(x)$ decreases $L$ because of the first term. Thus, $hat{theta}_n(x)= M(x)$.
answered Dec 14 '18 at 18:21
d.k.o.d.k.o.
9,553628
9,553628
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3039632%2fmle-of-theta-in-u0-theta-distribution-where-the-parameter-theta-is-di%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
$theta$ must be at least as big as the largest $X_i$ so surely it should equal the next largest integer.
$endgroup$
– user121049
Dec 14 '18 at 17:45
$begingroup$
@user121049 Yes, I should have used 'ceiling' instead of 'floor'.
$endgroup$
– StubbornAtom
Dec 14 '18 at 17:49