Consider a random variable $X$ with the log-normal pdf $f(x) ={1over sqrt{2π}}x^{−1}exp^{{−0.5...












0












$begingroup$


Consider a random variable $X$ with the log-normal pdf $f(x) ={1over sqrt{2π}}x^{−1}exp^{{−0.5 (logx)^2}}$, $x>0$.



a) Find the mean and the variance of $X$.



I know that $int_0^infty f(x) dx=1$, but this says "consider the random variable $X$ with the log-normal pdf" so would I actually be integrating $int_0^infty x f(x) dx$ for the mean? The reason I ask (and I'm skeptical) is because the solution to that integral is disgusting and has $i$ in the solution and that doesn't seem to be applicable for what I'm doing. Any help is greatly appreciated.










share|cite|improve this question









$endgroup$












  • $begingroup$
    See here for some approaches for the mean: math.stackexchange.com/questions/2409702/…
    $endgroup$
    – jjjjjj
    Jan 26 at 2:28








  • 1




    $begingroup$
    Disgusting?!? :)
    $endgroup$
    – Aditya Dua
    Jan 26 at 5:57
















0












$begingroup$


Consider a random variable $X$ with the log-normal pdf $f(x) ={1over sqrt{2π}}x^{−1}exp^{{−0.5 (logx)^2}}$, $x>0$.



a) Find the mean and the variance of $X$.



I know that $int_0^infty f(x) dx=1$, but this says "consider the random variable $X$ with the log-normal pdf" so would I actually be integrating $int_0^infty x f(x) dx$ for the mean? The reason I ask (and I'm skeptical) is because the solution to that integral is disgusting and has $i$ in the solution and that doesn't seem to be applicable for what I'm doing. Any help is greatly appreciated.










share|cite|improve this question









$endgroup$












  • $begingroup$
    See here for some approaches for the mean: math.stackexchange.com/questions/2409702/…
    $endgroup$
    – jjjjjj
    Jan 26 at 2:28








  • 1




    $begingroup$
    Disgusting?!? :)
    $endgroup$
    – Aditya Dua
    Jan 26 at 5:57














0












0








0





$begingroup$


Consider a random variable $X$ with the log-normal pdf $f(x) ={1over sqrt{2π}}x^{−1}exp^{{−0.5 (logx)^2}}$, $x>0$.



a) Find the mean and the variance of $X$.



I know that $int_0^infty f(x) dx=1$, but this says "consider the random variable $X$ with the log-normal pdf" so would I actually be integrating $int_0^infty x f(x) dx$ for the mean? The reason I ask (and I'm skeptical) is because the solution to that integral is disgusting and has $i$ in the solution and that doesn't seem to be applicable for what I'm doing. Any help is greatly appreciated.










share|cite|improve this question









$endgroup$




Consider a random variable $X$ with the log-normal pdf $f(x) ={1over sqrt{2π}}x^{−1}exp^{{−0.5 (logx)^2}}$, $x>0$.



a) Find the mean and the variance of $X$.



I know that $int_0^infty f(x) dx=1$, but this says "consider the random variable $X$ with the log-normal pdf" so would I actually be integrating $int_0^infty x f(x) dx$ for the mean? The reason I ask (and I'm skeptical) is because the solution to that integral is disgusting and has $i$ in the solution and that doesn't seem to be applicable for what I'm doing. Any help is greatly appreciated.







integration statistics random-variables statistical-inference means






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 26 at 2:24









ddswsdddswsd

37929




37929












  • $begingroup$
    See here for some approaches for the mean: math.stackexchange.com/questions/2409702/…
    $endgroup$
    – jjjjjj
    Jan 26 at 2:28








  • 1




    $begingroup$
    Disgusting?!? :)
    $endgroup$
    – Aditya Dua
    Jan 26 at 5:57


















  • $begingroup$
    See here for some approaches for the mean: math.stackexchange.com/questions/2409702/…
    $endgroup$
    – jjjjjj
    Jan 26 at 2:28








  • 1




    $begingroup$
    Disgusting?!? :)
    $endgroup$
    – Aditya Dua
    Jan 26 at 5:57
















$begingroup$
See here for some approaches for the mean: math.stackexchange.com/questions/2409702/…
$endgroup$
– jjjjjj
Jan 26 at 2:28






$begingroup$
See here for some approaches for the mean: math.stackexchange.com/questions/2409702/…
$endgroup$
– jjjjjj
Jan 26 at 2:28






1




1




$begingroup$
Disgusting?!? :)
$endgroup$
– Aditya Dua
Jan 26 at 5:57




$begingroup$
Disgusting?!? :)
$endgroup$
– Aditya Dua
Jan 26 at 5:57










1 Answer
1






active

oldest

votes


















0












$begingroup$

hint: it is $int_0^{infty} xf(x), dx$. To evaluate this make the substitution $y=log, x$. And then use the following: $-frac 12 y^{2}+y=-frac 1 2 (y-1)^{2} +frac 1 2$. You should get the answer as $sqrt e$. [ You have to use the fact $frac 1 {sqrt {2pi}} int_{-infty}^{infty} e^{-frac 1 2 y^{2}}, dy =1$]






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Should the substitution be $y=log x$?
    $endgroup$
    – ddswsd
    Jan 26 at 5:19












  • $begingroup$
    @ddswsd Yes, sorry for the typo.
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 5:24










  • $begingroup$
    If I let $y= log x$, then the integral becomes ${1over sqrt{2pi}}int_{- infty} ^{infty} e^{-0.5y^{2}+y} dy$. I don't think that equals $sqrt{e}$.
    $endgroup$
    – ddswsd
    Jan 26 at 14:16












  • $begingroup$
    @ddswsd The integral you have written is $sqrt e$ as far as I can see. Can you show me how you evaluated it?
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 23:26












  • $begingroup$
    Interesting...I put that integral into wolfram alpha and used -0.5 and 0.5 instead of writing them as fractions and the answer they gave wasn't $sqrt{e}$. Then I changed the decimals to fractions and the answer is $sqrt{e}$. I see why you chose to complete the square. Really clever! Thank you!
    $endgroup$
    – ddswsd
    Jan 27 at 0:13











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3087844%2fconsider-a-random-variable-x-with-the-log-normal-pdf-fx-1-over-sqrt2%25cf%2580%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









0












$begingroup$

hint: it is $int_0^{infty} xf(x), dx$. To evaluate this make the substitution $y=log, x$. And then use the following: $-frac 12 y^{2}+y=-frac 1 2 (y-1)^{2} +frac 1 2$. You should get the answer as $sqrt e$. [ You have to use the fact $frac 1 {sqrt {2pi}} int_{-infty}^{infty} e^{-frac 1 2 y^{2}}, dy =1$]






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Should the substitution be $y=log x$?
    $endgroup$
    – ddswsd
    Jan 26 at 5:19












  • $begingroup$
    @ddswsd Yes, sorry for the typo.
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 5:24










  • $begingroup$
    If I let $y= log x$, then the integral becomes ${1over sqrt{2pi}}int_{- infty} ^{infty} e^{-0.5y^{2}+y} dy$. I don't think that equals $sqrt{e}$.
    $endgroup$
    – ddswsd
    Jan 26 at 14:16












  • $begingroup$
    @ddswsd The integral you have written is $sqrt e$ as far as I can see. Can you show me how you evaluated it?
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 23:26












  • $begingroup$
    Interesting...I put that integral into wolfram alpha and used -0.5 and 0.5 instead of writing them as fractions and the answer they gave wasn't $sqrt{e}$. Then I changed the decimals to fractions and the answer is $sqrt{e}$. I see why you chose to complete the square. Really clever! Thank you!
    $endgroup$
    – ddswsd
    Jan 27 at 0:13
















0












$begingroup$

hint: it is $int_0^{infty} xf(x), dx$. To evaluate this make the substitution $y=log, x$. And then use the following: $-frac 12 y^{2}+y=-frac 1 2 (y-1)^{2} +frac 1 2$. You should get the answer as $sqrt e$. [ You have to use the fact $frac 1 {sqrt {2pi}} int_{-infty}^{infty} e^{-frac 1 2 y^{2}}, dy =1$]






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Should the substitution be $y=log x$?
    $endgroup$
    – ddswsd
    Jan 26 at 5:19












  • $begingroup$
    @ddswsd Yes, sorry for the typo.
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 5:24










  • $begingroup$
    If I let $y= log x$, then the integral becomes ${1over sqrt{2pi}}int_{- infty} ^{infty} e^{-0.5y^{2}+y} dy$. I don't think that equals $sqrt{e}$.
    $endgroup$
    – ddswsd
    Jan 26 at 14:16












  • $begingroup$
    @ddswsd The integral you have written is $sqrt e$ as far as I can see. Can you show me how you evaluated it?
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 23:26












  • $begingroup$
    Interesting...I put that integral into wolfram alpha and used -0.5 and 0.5 instead of writing them as fractions and the answer they gave wasn't $sqrt{e}$. Then I changed the decimals to fractions and the answer is $sqrt{e}$. I see why you chose to complete the square. Really clever! Thank you!
    $endgroup$
    – ddswsd
    Jan 27 at 0:13














0












0








0





$begingroup$

hint: it is $int_0^{infty} xf(x), dx$. To evaluate this make the substitution $y=log, x$. And then use the following: $-frac 12 y^{2}+y=-frac 1 2 (y-1)^{2} +frac 1 2$. You should get the answer as $sqrt e$. [ You have to use the fact $frac 1 {sqrt {2pi}} int_{-infty}^{infty} e^{-frac 1 2 y^{2}}, dy =1$]






share|cite|improve this answer











$endgroup$



hint: it is $int_0^{infty} xf(x), dx$. To evaluate this make the substitution $y=log, x$. And then use the following: $-frac 12 y^{2}+y=-frac 1 2 (y-1)^{2} +frac 1 2$. You should get the answer as $sqrt e$. [ You have to use the fact $frac 1 {sqrt {2pi}} int_{-infty}^{infty} e^{-frac 1 2 y^{2}}, dy =1$]







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Jan 26 at 5:23

























answered Jan 26 at 5:13









Kavi Rama MurthyKavi Rama Murthy

68.8k53169




68.8k53169












  • $begingroup$
    Should the substitution be $y=log x$?
    $endgroup$
    – ddswsd
    Jan 26 at 5:19












  • $begingroup$
    @ddswsd Yes, sorry for the typo.
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 5:24










  • $begingroup$
    If I let $y= log x$, then the integral becomes ${1over sqrt{2pi}}int_{- infty} ^{infty} e^{-0.5y^{2}+y} dy$. I don't think that equals $sqrt{e}$.
    $endgroup$
    – ddswsd
    Jan 26 at 14:16












  • $begingroup$
    @ddswsd The integral you have written is $sqrt e$ as far as I can see. Can you show me how you evaluated it?
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 23:26












  • $begingroup$
    Interesting...I put that integral into wolfram alpha and used -0.5 and 0.5 instead of writing them as fractions and the answer they gave wasn't $sqrt{e}$. Then I changed the decimals to fractions and the answer is $sqrt{e}$. I see why you chose to complete the square. Really clever! Thank you!
    $endgroup$
    – ddswsd
    Jan 27 at 0:13


















  • $begingroup$
    Should the substitution be $y=log x$?
    $endgroup$
    – ddswsd
    Jan 26 at 5:19












  • $begingroup$
    @ddswsd Yes, sorry for the typo.
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 5:24










  • $begingroup$
    If I let $y= log x$, then the integral becomes ${1over sqrt{2pi}}int_{- infty} ^{infty} e^{-0.5y^{2}+y} dy$. I don't think that equals $sqrt{e}$.
    $endgroup$
    – ddswsd
    Jan 26 at 14:16












  • $begingroup$
    @ddswsd The integral you have written is $sqrt e$ as far as I can see. Can you show me how you evaluated it?
    $endgroup$
    – Kavi Rama Murthy
    Jan 26 at 23:26












  • $begingroup$
    Interesting...I put that integral into wolfram alpha and used -0.5 and 0.5 instead of writing them as fractions and the answer they gave wasn't $sqrt{e}$. Then I changed the decimals to fractions and the answer is $sqrt{e}$. I see why you chose to complete the square. Really clever! Thank you!
    $endgroup$
    – ddswsd
    Jan 27 at 0:13
















$begingroup$
Should the substitution be $y=log x$?
$endgroup$
– ddswsd
Jan 26 at 5:19






$begingroup$
Should the substitution be $y=log x$?
$endgroup$
– ddswsd
Jan 26 at 5:19














$begingroup$
@ddswsd Yes, sorry for the typo.
$endgroup$
– Kavi Rama Murthy
Jan 26 at 5:24




$begingroup$
@ddswsd Yes, sorry for the typo.
$endgroup$
– Kavi Rama Murthy
Jan 26 at 5:24












$begingroup$
If I let $y= log x$, then the integral becomes ${1over sqrt{2pi}}int_{- infty} ^{infty} e^{-0.5y^{2}+y} dy$. I don't think that equals $sqrt{e}$.
$endgroup$
– ddswsd
Jan 26 at 14:16






$begingroup$
If I let $y= log x$, then the integral becomes ${1over sqrt{2pi}}int_{- infty} ^{infty} e^{-0.5y^{2}+y} dy$. I don't think that equals $sqrt{e}$.
$endgroup$
– ddswsd
Jan 26 at 14:16














$begingroup$
@ddswsd The integral you have written is $sqrt e$ as far as I can see. Can you show me how you evaluated it?
$endgroup$
– Kavi Rama Murthy
Jan 26 at 23:26






$begingroup$
@ddswsd The integral you have written is $sqrt e$ as far as I can see. Can you show me how you evaluated it?
$endgroup$
– Kavi Rama Murthy
Jan 26 at 23:26














$begingroup$
Interesting...I put that integral into wolfram alpha and used -0.5 and 0.5 instead of writing them as fractions and the answer they gave wasn't $sqrt{e}$. Then I changed the decimals to fractions and the answer is $sqrt{e}$. I see why you chose to complete the square. Really clever! Thank you!
$endgroup$
– ddswsd
Jan 27 at 0:13




$begingroup$
Interesting...I put that integral into wolfram alpha and used -0.5 and 0.5 instead of writing them as fractions and the answer they gave wasn't $sqrt{e}$. Then I changed the decimals to fractions and the answer is $sqrt{e}$. I see why you chose to complete the square. Really clever! Thank you!
$endgroup$
– ddswsd
Jan 27 at 0:13


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3087844%2fconsider-a-random-variable-x-with-the-log-normal-pdf-fx-1-over-sqrt2%25cf%2580%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith