How do we build a confidence interval for the parameter of the exponential distribution? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to compute confidence interval from a confidence distributionparameter and prediction confidence intervalsConfidence interval for known non-normal estimation?Confidence interval for exponential distributionA confidence area for an Archimedean's copula familyIs the canonical parameter (and therefore the canonical link function) for a Gamma not unique?UMAU confidence interval for $theta$ in a shifted exponential distributionCalculate the constants and the MSE from two estimators related to a uniform distributionBinomial distributed random sample: find the least variance from the set of all unbiased estimators of $theta$Build an approximated confidence interval for $sigma$ based on its maximum likelihood estimator

Sorting inherited template fields

Stars Make Stars

Slither Like a Snake

Typsetting diagram chases (with TikZ?)

Antler Helmet: Can it work?

New Order #5: where Fibonacci and Beatty meet at Wythoff

Windows 10: How to Lock (not sleep) laptop on lid close?

Stopping real property loss from eroding embankment

Unexpected result with right shift after bitwise negation

What loss function to use when labels are probabilities?

Unable to start mainnet node docker container

How to say that you spent the night with someone, you were only sleeping and nothing else?

Can a zero nonce be safely used with AES-GCM if the key is random and never used again?

What would be Julian Assange's expected punishment, on the current English criminal law?

Replacing HDD with SSD; what about non-APFS/APFS?

Why is "Captain Marvel" translated as male in Portugal?

Classification of bundles, Postnikov towers, obstruction theory, local coefficients

How can you insert a "times/divide" symbol similar to the "plus/minus" (±) one?

3 doors, three guards, one stone

Jazz greats knew nothing of modes. Why are they used to improvise on standards?

How is simplicity better than precision and clarity in prose?

What do you call a plan that's an alternative plan in case your initial plan fails?

If A makes B more likely then B makes A more likely"

Writing Thesis: Copying from published papers



How do we build a confidence interval for the parameter of the exponential distribution?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to compute confidence interval from a confidence distributionparameter and prediction confidence intervalsConfidence interval for known non-normal estimation?Confidence interval for exponential distributionA confidence area for an Archimedean's copula familyIs the canonical parameter (and therefore the canonical link function) for a Gamma not unique?UMAU confidence interval for $theta$ in a shifted exponential distributionCalculate the constants and the MSE from two estimators related to a uniform distributionBinomial distributed random sample: find the least variance from the set of all unbiased estimators of $theta$Build an approximated confidence interval for $sigma$ based on its maximum likelihood estimator



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1












$begingroup$


EDIT



Let $X_1,X_2,ldots,X_n$ be a random sample whose distribution is given by $textExp(theta)$, where $theta$ is not known. Precisely, $f(x|theta) = (1/thetaexp)(-x/theta)$ Describe a method to build a confidence interval with confidence coefficient $1 - alpha$ for $theta$.



MY ATTEMPT



Since the distribution in discussion is not normal and I do not know the size of the sample, I think we cannot apply the central limit theorem. One possible approach is to consider the maximum likelihood estimator of $theta$, whose distribution is approximately $mathcalN(theta,(nI_F(theta)^-1)$. Another possible approach consists in using the score function, whose distribution is approximately $mathcalN(0,nI_F(theta))$. However, in both cases, it is assumed the CLT is applicable.



The exercise also provides the following hint: find $c_1$ and $c_2$ such that
beginalign*
textbfPleft(c_1 < frac1thetasum_i=1^n X_i < c_2right) = 1 -alpha
endalign*



Can someone help me out? Thanks in advance!










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    You should clarify which parameterization of the exponential distribution you're using. From the later parts of your post it looks like you're using the scale parameterization rather than the rate parameterization but you should be explicit, not leave it to people to guess.
    $endgroup$
    – Glen_b
    4 hours ago










  • $begingroup$
    Thanks for the comment and sorry for the inconvenience. I edited the question.
    $endgroup$
    – user1337
    4 hours ago






  • 1




    $begingroup$
    Okay, you've defined it as the rate parameterization, which is fine, but then the hint at the end is wrong.
    $endgroup$
    – Glen_b
    4 hours ago











  • $begingroup$
    For rather large $n$ an approach using the CLT might provide a useful approximation. My answer gives an exact CI that works even for small $n.$
    $endgroup$
    – BruceET
    3 hours ago










  • $begingroup$
    There are so many options here because there are different choices of pivots. A C.I. could also be found using $min X_i$ which also has an exp distribution, but this won't be as 'good' as the one based on $sum X_i$.
    $endgroup$
    – StubbornAtom
    27 mins ago

















1












$begingroup$


EDIT



Let $X_1,X_2,ldots,X_n$ be a random sample whose distribution is given by $textExp(theta)$, where $theta$ is not known. Precisely, $f(x|theta) = (1/thetaexp)(-x/theta)$ Describe a method to build a confidence interval with confidence coefficient $1 - alpha$ for $theta$.



MY ATTEMPT



Since the distribution in discussion is not normal and I do not know the size of the sample, I think we cannot apply the central limit theorem. One possible approach is to consider the maximum likelihood estimator of $theta$, whose distribution is approximately $mathcalN(theta,(nI_F(theta)^-1)$. Another possible approach consists in using the score function, whose distribution is approximately $mathcalN(0,nI_F(theta))$. However, in both cases, it is assumed the CLT is applicable.



The exercise also provides the following hint: find $c_1$ and $c_2$ such that
beginalign*
textbfPleft(c_1 < frac1thetasum_i=1^n X_i < c_2right) = 1 -alpha
endalign*



Can someone help me out? Thanks in advance!










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    You should clarify which parameterization of the exponential distribution you're using. From the later parts of your post it looks like you're using the scale parameterization rather than the rate parameterization but you should be explicit, not leave it to people to guess.
    $endgroup$
    – Glen_b
    4 hours ago










  • $begingroup$
    Thanks for the comment and sorry for the inconvenience. I edited the question.
    $endgroup$
    – user1337
    4 hours ago






  • 1




    $begingroup$
    Okay, you've defined it as the rate parameterization, which is fine, but then the hint at the end is wrong.
    $endgroup$
    – Glen_b
    4 hours ago











  • $begingroup$
    For rather large $n$ an approach using the CLT might provide a useful approximation. My answer gives an exact CI that works even for small $n.$
    $endgroup$
    – BruceET
    3 hours ago










  • $begingroup$
    There are so many options here because there are different choices of pivots. A C.I. could also be found using $min X_i$ which also has an exp distribution, but this won't be as 'good' as the one based on $sum X_i$.
    $endgroup$
    – StubbornAtom
    27 mins ago













1












1








1


0



$begingroup$


EDIT



Let $X_1,X_2,ldots,X_n$ be a random sample whose distribution is given by $textExp(theta)$, where $theta$ is not known. Precisely, $f(x|theta) = (1/thetaexp)(-x/theta)$ Describe a method to build a confidence interval with confidence coefficient $1 - alpha$ for $theta$.



MY ATTEMPT



Since the distribution in discussion is not normal and I do not know the size of the sample, I think we cannot apply the central limit theorem. One possible approach is to consider the maximum likelihood estimator of $theta$, whose distribution is approximately $mathcalN(theta,(nI_F(theta)^-1)$. Another possible approach consists in using the score function, whose distribution is approximately $mathcalN(0,nI_F(theta))$. However, in both cases, it is assumed the CLT is applicable.



The exercise also provides the following hint: find $c_1$ and $c_2$ such that
beginalign*
textbfPleft(c_1 < frac1thetasum_i=1^n X_i < c_2right) = 1 -alpha
endalign*



Can someone help me out? Thanks in advance!










share|cite|improve this question











$endgroup$




EDIT



Let $X_1,X_2,ldots,X_n$ be a random sample whose distribution is given by $textExp(theta)$, where $theta$ is not known. Precisely, $f(x|theta) = (1/thetaexp)(-x/theta)$ Describe a method to build a confidence interval with confidence coefficient $1 - alpha$ for $theta$.



MY ATTEMPT



Since the distribution in discussion is not normal and I do not know the size of the sample, I think we cannot apply the central limit theorem. One possible approach is to consider the maximum likelihood estimator of $theta$, whose distribution is approximately $mathcalN(theta,(nI_F(theta)^-1)$. Another possible approach consists in using the score function, whose distribution is approximately $mathcalN(0,nI_F(theta))$. However, in both cases, it is assumed the CLT is applicable.



The exercise also provides the following hint: find $c_1$ and $c_2$ such that
beginalign*
textbfPleft(c_1 < frac1thetasum_i=1^n X_i < c_2right) = 1 -alpha
endalign*



Can someone help me out? Thanks in advance!







self-study confidence-interval exponential-distribution






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 1 hour ago







user1337

















asked 7 hours ago









user1337user1337

1795




1795







  • 1




    $begingroup$
    You should clarify which parameterization of the exponential distribution you're using. From the later parts of your post it looks like you're using the scale parameterization rather than the rate parameterization but you should be explicit, not leave it to people to guess.
    $endgroup$
    – Glen_b
    4 hours ago










  • $begingroup$
    Thanks for the comment and sorry for the inconvenience. I edited the question.
    $endgroup$
    – user1337
    4 hours ago






  • 1




    $begingroup$
    Okay, you've defined it as the rate parameterization, which is fine, but then the hint at the end is wrong.
    $endgroup$
    – Glen_b
    4 hours ago











  • $begingroup$
    For rather large $n$ an approach using the CLT might provide a useful approximation. My answer gives an exact CI that works even for small $n.$
    $endgroup$
    – BruceET
    3 hours ago










  • $begingroup$
    There are so many options here because there are different choices of pivots. A C.I. could also be found using $min X_i$ which also has an exp distribution, but this won't be as 'good' as the one based on $sum X_i$.
    $endgroup$
    – StubbornAtom
    27 mins ago












  • 1




    $begingroup$
    You should clarify which parameterization of the exponential distribution you're using. From the later parts of your post it looks like you're using the scale parameterization rather than the rate parameterization but you should be explicit, not leave it to people to guess.
    $endgroup$
    – Glen_b
    4 hours ago










  • $begingroup$
    Thanks for the comment and sorry for the inconvenience. I edited the question.
    $endgroup$
    – user1337
    4 hours ago






  • 1




    $begingroup$
    Okay, you've defined it as the rate parameterization, which is fine, but then the hint at the end is wrong.
    $endgroup$
    – Glen_b
    4 hours ago











  • $begingroup$
    For rather large $n$ an approach using the CLT might provide a useful approximation. My answer gives an exact CI that works even for small $n.$
    $endgroup$
    – BruceET
    3 hours ago










  • $begingroup$
    There are so many options here because there are different choices of pivots. A C.I. could also be found using $min X_i$ which also has an exp distribution, but this won't be as 'good' as the one based on $sum X_i$.
    $endgroup$
    – StubbornAtom
    27 mins ago







1




1




$begingroup$
You should clarify which parameterization of the exponential distribution you're using. From the later parts of your post it looks like you're using the scale parameterization rather than the rate parameterization but you should be explicit, not leave it to people to guess.
$endgroup$
– Glen_b
4 hours ago




$begingroup$
You should clarify which parameterization of the exponential distribution you're using. From the later parts of your post it looks like you're using the scale parameterization rather than the rate parameterization but you should be explicit, not leave it to people to guess.
$endgroup$
– Glen_b
4 hours ago












$begingroup$
Thanks for the comment and sorry for the inconvenience. I edited the question.
$endgroup$
– user1337
4 hours ago




$begingroup$
Thanks for the comment and sorry for the inconvenience. I edited the question.
$endgroup$
– user1337
4 hours ago




1




1




$begingroup$
Okay, you've defined it as the rate parameterization, which is fine, but then the hint at the end is wrong.
$endgroup$
– Glen_b
4 hours ago





$begingroup$
Okay, you've defined it as the rate parameterization, which is fine, but then the hint at the end is wrong.
$endgroup$
– Glen_b
4 hours ago













$begingroup$
For rather large $n$ an approach using the CLT might provide a useful approximation. My answer gives an exact CI that works even for small $n.$
$endgroup$
– BruceET
3 hours ago




$begingroup$
For rather large $n$ an approach using the CLT might provide a useful approximation. My answer gives an exact CI that works even for small $n.$
$endgroup$
– BruceET
3 hours ago












$begingroup$
There are so many options here because there are different choices of pivots. A C.I. could also be found using $min X_i$ which also has an exp distribution, but this won't be as 'good' as the one based on $sum X_i$.
$endgroup$
– StubbornAtom
27 mins ago




$begingroup$
There are so many options here because there are different choices of pivots. A C.I. could also be found using $min X_i$ which also has an exp distribution, but this won't be as 'good' as the one based on $sum X_i$.
$endgroup$
– StubbornAtom
27 mins ago










2 Answers
2






active

oldest

votes


















2












$begingroup$

You don't say how the exponential distribution is
parameterized. Two parameterizations are in common use--mean and rate.



Let $E(X_i) = mu.$ Then one
can show that $$frac 1 mu sum_i=1^n X_i sim
mathsfGamma(textshape = n, textrate=scale = 1).$$



In R statistical software the exponential distribution is parameterized according rate $lambda = 1/mu.$ Let $n = 10$ and $lambda = 1/5,$ so that $mu = 5.$ The following program simulates $m = 10^6$ samples of size $n = 10$ from $mathsfExp(textrate = lambda = 1/5),$ finds $$Q = frac 1 mu sum_i=1^n X_i =
lambda sum_i=1^n X_i$$
for each sample, and plots the histogram of the one million $Q$'s, The figure
illustrates that $Q sim mathsfGamma(10, 1).$
(Use MGFs for a formal proof.)



set.seed(414) # for reproducibility
q = replicate(10^5, sum(rexp(10, 1/5))/5)
lbl = "Simulated Dist'n of Q with Density of GAMMA(10, 1)"
hist(q, prob=T, br=30, col="skyblue2", main=lbl)
curve(dgamma(x,10,1), col="red", add=T)


enter image description here



Thus, for $n = 10$ the constants $c_1 = 4.975$ and
$c_2 = 17.084$ for
a 95% confidence interval are quantiles 0.025 and 0.975, respectively, of $Q sim mathsfGamma(10, 1).$



qgamma(c(.025, .975), 10, 1)
[1] 4.795389 17.084803


In particular, for the exponential sample shown below (second row),
a 95% confidence interval is $(2.224, 7.922).$ Notice the reversal of the quantiles in 'pivoting' $Q,$ which
has $mu$ in the denominator.



set.seed(1234); x = sort(round(rexp(10, 1/5), 2)); x
[1] 0.03 0.45 1.01 1.23 1.94 3.80 4.12 4.19 8.71 12.51
t = sum(x); t
[1] 37.99
t/qgamma(c(.975, .025), 10, 1)
[1] 2.223614 7.922194


Note: Because the chi-squared distribution is a member of the gamma family, it is possible to find endpoints for such a confidence interval in terms of a chi-squared distribution.



See Wikipedia on exponential distributions under 'confidence intervals'. (That discussion uses rate parameter $lambda$ for the exponential distribution, instead of $mu.)$






share|cite|improve this answer











$endgroup$




















    1












    $begingroup$

    Taking $theta$ as the scale parameter, it can be shown that:



    $$fracn barXtheta sim textGa(n,1).$$



    To form a confidence interval we choose any critical points $c_1 < c_2$ from the $textGa(n,1)$ distribution such that these points contain probability $1-alpha$ of the distribution. Using the above pivotal quantity we then have:



    $$mathbbP Bigg( c_1 leqslant fracn barXtheta leqslant c_2 Bigg) = 1-alpha
    quad quad quad quad quad
    int limits_c_1^c_2 textGa(r|n,1) dr = 1 - alpha.$$



    Re-arranging the inequality in this probability statement and substituting the observed sample mean gives the confidence interval:



    $$textCI_theta(1-alpha) = Bigg[ fracn barxc_2 , fracn barxc_1 Bigg].$$



    This confidence interval is valid for any choice of $c_1<c_2$ so long as it obeys the required integral condition. For simplicity, many analysts use the symmetric critical points. However, it is possible to optimise the confidence interval by minimising its length, which we show below.




    Optimising the confidence interval: The length of this confidence interval is proportional to $1/c_1-1/c_2$, and so we minimise the length of the interval by choosing the critical points to minimise this distance. This can be done using the nlm function in R. In the following code we give a function for the minimum-length confidence interval for this problem, which we apply to some simulated data.



    #Set the objective function for minimisation
    OBJECTIVE <- function(c1, n, alpha)
    pp <- pgamma(c1, n, 1, lower.tail = TRUE);
    c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
    1/c1 - 1/c2;

    #Find the minimum-length confidence interval
    CONF_INT <- function(n, alpha, xbar)
    START_c1 <- qgamma(alpha/2, n, 1, lower.tail = TRUE);
    MINIMISE <- nlm(f = OBJECTIVE, p = START_c1, n = n, alpha = alpha);
    c1 <- MINIMISE$estimate;
    pp <- pgamma(c1, n, 1, lower.tail = TRUE);
    c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
    c(n*xbar/c2, n*xbar/c1);

    #Generate simulation data
    set.seed(921730198);
    n <- 300;
    scale <- 25.4;
    DATA <- rexp(n, rate = 1/scale);

    #Application of confidence interval to simulated data
    n <- length(DATA);
    xbar <- mean(DATA);
    alpha <- 0.05;

    CONF_INT(n, alpha, xbar);

    [1] 23.32040 29.24858





    share|cite|improve this answer











    $endgroup$













      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "65"
      ;
      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: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      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
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f403059%2fhow-do-we-build-a-confidence-interval-for-the-parameter-of-the-exponential-distr%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2












      $begingroup$

      You don't say how the exponential distribution is
      parameterized. Two parameterizations are in common use--mean and rate.



      Let $E(X_i) = mu.$ Then one
      can show that $$frac 1 mu sum_i=1^n X_i sim
      mathsfGamma(textshape = n, textrate=scale = 1).$$



      In R statistical software the exponential distribution is parameterized according rate $lambda = 1/mu.$ Let $n = 10$ and $lambda = 1/5,$ so that $mu = 5.$ The following program simulates $m = 10^6$ samples of size $n = 10$ from $mathsfExp(textrate = lambda = 1/5),$ finds $$Q = frac 1 mu sum_i=1^n X_i =
      lambda sum_i=1^n X_i$$
      for each sample, and plots the histogram of the one million $Q$'s, The figure
      illustrates that $Q sim mathsfGamma(10, 1).$
      (Use MGFs for a formal proof.)



      set.seed(414) # for reproducibility
      q = replicate(10^5, sum(rexp(10, 1/5))/5)
      lbl = "Simulated Dist'n of Q with Density of GAMMA(10, 1)"
      hist(q, prob=T, br=30, col="skyblue2", main=lbl)
      curve(dgamma(x,10,1), col="red", add=T)


      enter image description here



      Thus, for $n = 10$ the constants $c_1 = 4.975$ and
      $c_2 = 17.084$ for
      a 95% confidence interval are quantiles 0.025 and 0.975, respectively, of $Q sim mathsfGamma(10, 1).$



      qgamma(c(.025, .975), 10, 1)
      [1] 4.795389 17.084803


      In particular, for the exponential sample shown below (second row),
      a 95% confidence interval is $(2.224, 7.922).$ Notice the reversal of the quantiles in 'pivoting' $Q,$ which
      has $mu$ in the denominator.



      set.seed(1234); x = sort(round(rexp(10, 1/5), 2)); x
      [1] 0.03 0.45 1.01 1.23 1.94 3.80 4.12 4.19 8.71 12.51
      t = sum(x); t
      [1] 37.99
      t/qgamma(c(.975, .025), 10, 1)
      [1] 2.223614 7.922194


      Note: Because the chi-squared distribution is a member of the gamma family, it is possible to find endpoints for such a confidence interval in terms of a chi-squared distribution.



      See Wikipedia on exponential distributions under 'confidence intervals'. (That discussion uses rate parameter $lambda$ for the exponential distribution, instead of $mu.)$






      share|cite|improve this answer











      $endgroup$

















        2












        $begingroup$

        You don't say how the exponential distribution is
        parameterized. Two parameterizations are in common use--mean and rate.



        Let $E(X_i) = mu.$ Then one
        can show that $$frac 1 mu sum_i=1^n X_i sim
        mathsfGamma(textshape = n, textrate=scale = 1).$$



        In R statistical software the exponential distribution is parameterized according rate $lambda = 1/mu.$ Let $n = 10$ and $lambda = 1/5,$ so that $mu = 5.$ The following program simulates $m = 10^6$ samples of size $n = 10$ from $mathsfExp(textrate = lambda = 1/5),$ finds $$Q = frac 1 mu sum_i=1^n X_i =
        lambda sum_i=1^n X_i$$
        for each sample, and plots the histogram of the one million $Q$'s, The figure
        illustrates that $Q sim mathsfGamma(10, 1).$
        (Use MGFs for a formal proof.)



        set.seed(414) # for reproducibility
        q = replicate(10^5, sum(rexp(10, 1/5))/5)
        lbl = "Simulated Dist'n of Q with Density of GAMMA(10, 1)"
        hist(q, prob=T, br=30, col="skyblue2", main=lbl)
        curve(dgamma(x,10,1), col="red", add=T)


        enter image description here



        Thus, for $n = 10$ the constants $c_1 = 4.975$ and
        $c_2 = 17.084$ for
        a 95% confidence interval are quantiles 0.025 and 0.975, respectively, of $Q sim mathsfGamma(10, 1).$



        qgamma(c(.025, .975), 10, 1)
        [1] 4.795389 17.084803


        In particular, for the exponential sample shown below (second row),
        a 95% confidence interval is $(2.224, 7.922).$ Notice the reversal of the quantiles in 'pivoting' $Q,$ which
        has $mu$ in the denominator.



        set.seed(1234); x = sort(round(rexp(10, 1/5), 2)); x
        [1] 0.03 0.45 1.01 1.23 1.94 3.80 4.12 4.19 8.71 12.51
        t = sum(x); t
        [1] 37.99
        t/qgamma(c(.975, .025), 10, 1)
        [1] 2.223614 7.922194


        Note: Because the chi-squared distribution is a member of the gamma family, it is possible to find endpoints for such a confidence interval in terms of a chi-squared distribution.



        See Wikipedia on exponential distributions under 'confidence intervals'. (That discussion uses rate parameter $lambda$ for the exponential distribution, instead of $mu.)$






        share|cite|improve this answer











        $endgroup$















          2












          2








          2





          $begingroup$

          You don't say how the exponential distribution is
          parameterized. Two parameterizations are in common use--mean and rate.



          Let $E(X_i) = mu.$ Then one
          can show that $$frac 1 mu sum_i=1^n X_i sim
          mathsfGamma(textshape = n, textrate=scale = 1).$$



          In R statistical software the exponential distribution is parameterized according rate $lambda = 1/mu.$ Let $n = 10$ and $lambda = 1/5,$ so that $mu = 5.$ The following program simulates $m = 10^6$ samples of size $n = 10$ from $mathsfExp(textrate = lambda = 1/5),$ finds $$Q = frac 1 mu sum_i=1^n X_i =
          lambda sum_i=1^n X_i$$
          for each sample, and plots the histogram of the one million $Q$'s, The figure
          illustrates that $Q sim mathsfGamma(10, 1).$
          (Use MGFs for a formal proof.)



          set.seed(414) # for reproducibility
          q = replicate(10^5, sum(rexp(10, 1/5))/5)
          lbl = "Simulated Dist'n of Q with Density of GAMMA(10, 1)"
          hist(q, prob=T, br=30, col="skyblue2", main=lbl)
          curve(dgamma(x,10,1), col="red", add=T)


          enter image description here



          Thus, for $n = 10$ the constants $c_1 = 4.975$ and
          $c_2 = 17.084$ for
          a 95% confidence interval are quantiles 0.025 and 0.975, respectively, of $Q sim mathsfGamma(10, 1).$



          qgamma(c(.025, .975), 10, 1)
          [1] 4.795389 17.084803


          In particular, for the exponential sample shown below (second row),
          a 95% confidence interval is $(2.224, 7.922).$ Notice the reversal of the quantiles in 'pivoting' $Q,$ which
          has $mu$ in the denominator.



          set.seed(1234); x = sort(round(rexp(10, 1/5), 2)); x
          [1] 0.03 0.45 1.01 1.23 1.94 3.80 4.12 4.19 8.71 12.51
          t = sum(x); t
          [1] 37.99
          t/qgamma(c(.975, .025), 10, 1)
          [1] 2.223614 7.922194


          Note: Because the chi-squared distribution is a member of the gamma family, it is possible to find endpoints for such a confidence interval in terms of a chi-squared distribution.



          See Wikipedia on exponential distributions under 'confidence intervals'. (That discussion uses rate parameter $lambda$ for the exponential distribution, instead of $mu.)$






          share|cite|improve this answer











          $endgroup$



          You don't say how the exponential distribution is
          parameterized. Two parameterizations are in common use--mean and rate.



          Let $E(X_i) = mu.$ Then one
          can show that $$frac 1 mu sum_i=1^n X_i sim
          mathsfGamma(textshape = n, textrate=scale = 1).$$



          In R statistical software the exponential distribution is parameterized according rate $lambda = 1/mu.$ Let $n = 10$ and $lambda = 1/5,$ so that $mu = 5.$ The following program simulates $m = 10^6$ samples of size $n = 10$ from $mathsfExp(textrate = lambda = 1/5),$ finds $$Q = frac 1 mu sum_i=1^n X_i =
          lambda sum_i=1^n X_i$$
          for each sample, and plots the histogram of the one million $Q$'s, The figure
          illustrates that $Q sim mathsfGamma(10, 1).$
          (Use MGFs for a formal proof.)



          set.seed(414) # for reproducibility
          q = replicate(10^5, sum(rexp(10, 1/5))/5)
          lbl = "Simulated Dist'n of Q with Density of GAMMA(10, 1)"
          hist(q, prob=T, br=30, col="skyblue2", main=lbl)
          curve(dgamma(x,10,1), col="red", add=T)


          enter image description here



          Thus, for $n = 10$ the constants $c_1 = 4.975$ and
          $c_2 = 17.084$ for
          a 95% confidence interval are quantiles 0.025 and 0.975, respectively, of $Q sim mathsfGamma(10, 1).$



          qgamma(c(.025, .975), 10, 1)
          [1] 4.795389 17.084803


          In particular, for the exponential sample shown below (second row),
          a 95% confidence interval is $(2.224, 7.922).$ Notice the reversal of the quantiles in 'pivoting' $Q,$ which
          has $mu$ in the denominator.



          set.seed(1234); x = sort(round(rexp(10, 1/5), 2)); x
          [1] 0.03 0.45 1.01 1.23 1.94 3.80 4.12 4.19 8.71 12.51
          t = sum(x); t
          [1] 37.99
          t/qgamma(c(.975, .025), 10, 1)
          [1] 2.223614 7.922194


          Note: Because the chi-squared distribution is a member of the gamma family, it is possible to find endpoints for such a confidence interval in terms of a chi-squared distribution.



          See Wikipedia on exponential distributions under 'confidence intervals'. (That discussion uses rate parameter $lambda$ for the exponential distribution, instead of $mu.)$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited 4 hours ago

























          answered 4 hours ago









          BruceETBruceET

          6,6331721




          6,6331721























              1












              $begingroup$

              Taking $theta$ as the scale parameter, it can be shown that:



              $$fracn barXtheta sim textGa(n,1).$$



              To form a confidence interval we choose any critical points $c_1 < c_2$ from the $textGa(n,1)$ distribution such that these points contain probability $1-alpha$ of the distribution. Using the above pivotal quantity we then have:



              $$mathbbP Bigg( c_1 leqslant fracn barXtheta leqslant c_2 Bigg) = 1-alpha
              quad quad quad quad quad
              int limits_c_1^c_2 textGa(r|n,1) dr = 1 - alpha.$$



              Re-arranging the inequality in this probability statement and substituting the observed sample mean gives the confidence interval:



              $$textCI_theta(1-alpha) = Bigg[ fracn barxc_2 , fracn barxc_1 Bigg].$$



              This confidence interval is valid for any choice of $c_1<c_2$ so long as it obeys the required integral condition. For simplicity, many analysts use the symmetric critical points. However, it is possible to optimise the confidence interval by minimising its length, which we show below.




              Optimising the confidence interval: The length of this confidence interval is proportional to $1/c_1-1/c_2$, and so we minimise the length of the interval by choosing the critical points to minimise this distance. This can be done using the nlm function in R. In the following code we give a function for the minimum-length confidence interval for this problem, which we apply to some simulated data.



              #Set the objective function for minimisation
              OBJECTIVE <- function(c1, n, alpha)
              pp <- pgamma(c1, n, 1, lower.tail = TRUE);
              c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
              1/c1 - 1/c2;

              #Find the minimum-length confidence interval
              CONF_INT <- function(n, alpha, xbar)
              START_c1 <- qgamma(alpha/2, n, 1, lower.tail = TRUE);
              MINIMISE <- nlm(f = OBJECTIVE, p = START_c1, n = n, alpha = alpha);
              c1 <- MINIMISE$estimate;
              pp <- pgamma(c1, n, 1, lower.tail = TRUE);
              c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
              c(n*xbar/c2, n*xbar/c1);

              #Generate simulation data
              set.seed(921730198);
              n <- 300;
              scale <- 25.4;
              DATA <- rexp(n, rate = 1/scale);

              #Application of confidence interval to simulated data
              n <- length(DATA);
              xbar <- mean(DATA);
              alpha <- 0.05;

              CONF_INT(n, alpha, xbar);

              [1] 23.32040 29.24858





              share|cite|improve this answer











              $endgroup$

















                1












                $begingroup$

                Taking $theta$ as the scale parameter, it can be shown that:



                $$fracn barXtheta sim textGa(n,1).$$



                To form a confidence interval we choose any critical points $c_1 < c_2$ from the $textGa(n,1)$ distribution such that these points contain probability $1-alpha$ of the distribution. Using the above pivotal quantity we then have:



                $$mathbbP Bigg( c_1 leqslant fracn barXtheta leqslant c_2 Bigg) = 1-alpha
                quad quad quad quad quad
                int limits_c_1^c_2 textGa(r|n,1) dr = 1 - alpha.$$



                Re-arranging the inequality in this probability statement and substituting the observed sample mean gives the confidence interval:



                $$textCI_theta(1-alpha) = Bigg[ fracn barxc_2 , fracn barxc_1 Bigg].$$



                This confidence interval is valid for any choice of $c_1<c_2$ so long as it obeys the required integral condition. For simplicity, many analysts use the symmetric critical points. However, it is possible to optimise the confidence interval by minimising its length, which we show below.




                Optimising the confidence interval: The length of this confidence interval is proportional to $1/c_1-1/c_2$, and so we minimise the length of the interval by choosing the critical points to minimise this distance. This can be done using the nlm function in R. In the following code we give a function for the minimum-length confidence interval for this problem, which we apply to some simulated data.



                #Set the objective function for minimisation
                OBJECTIVE <- function(c1, n, alpha)
                pp <- pgamma(c1, n, 1, lower.tail = TRUE);
                c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
                1/c1 - 1/c2;

                #Find the minimum-length confidence interval
                CONF_INT <- function(n, alpha, xbar)
                START_c1 <- qgamma(alpha/2, n, 1, lower.tail = TRUE);
                MINIMISE <- nlm(f = OBJECTIVE, p = START_c1, n = n, alpha = alpha);
                c1 <- MINIMISE$estimate;
                pp <- pgamma(c1, n, 1, lower.tail = TRUE);
                c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
                c(n*xbar/c2, n*xbar/c1);

                #Generate simulation data
                set.seed(921730198);
                n <- 300;
                scale <- 25.4;
                DATA <- rexp(n, rate = 1/scale);

                #Application of confidence interval to simulated data
                n <- length(DATA);
                xbar <- mean(DATA);
                alpha <- 0.05;

                CONF_INT(n, alpha, xbar);

                [1] 23.32040 29.24858





                share|cite|improve this answer











                $endgroup$















                  1












                  1








                  1





                  $begingroup$

                  Taking $theta$ as the scale parameter, it can be shown that:



                  $$fracn barXtheta sim textGa(n,1).$$



                  To form a confidence interval we choose any critical points $c_1 < c_2$ from the $textGa(n,1)$ distribution such that these points contain probability $1-alpha$ of the distribution. Using the above pivotal quantity we then have:



                  $$mathbbP Bigg( c_1 leqslant fracn barXtheta leqslant c_2 Bigg) = 1-alpha
                  quad quad quad quad quad
                  int limits_c_1^c_2 textGa(r|n,1) dr = 1 - alpha.$$



                  Re-arranging the inequality in this probability statement and substituting the observed sample mean gives the confidence interval:



                  $$textCI_theta(1-alpha) = Bigg[ fracn barxc_2 , fracn barxc_1 Bigg].$$



                  This confidence interval is valid for any choice of $c_1<c_2$ so long as it obeys the required integral condition. For simplicity, many analysts use the symmetric critical points. However, it is possible to optimise the confidence interval by minimising its length, which we show below.




                  Optimising the confidence interval: The length of this confidence interval is proportional to $1/c_1-1/c_2$, and so we minimise the length of the interval by choosing the critical points to minimise this distance. This can be done using the nlm function in R. In the following code we give a function for the minimum-length confidence interval for this problem, which we apply to some simulated data.



                  #Set the objective function for minimisation
                  OBJECTIVE <- function(c1, n, alpha)
                  pp <- pgamma(c1, n, 1, lower.tail = TRUE);
                  c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
                  1/c1 - 1/c2;

                  #Find the minimum-length confidence interval
                  CONF_INT <- function(n, alpha, xbar)
                  START_c1 <- qgamma(alpha/2, n, 1, lower.tail = TRUE);
                  MINIMISE <- nlm(f = OBJECTIVE, p = START_c1, n = n, alpha = alpha);
                  c1 <- MINIMISE$estimate;
                  pp <- pgamma(c1, n, 1, lower.tail = TRUE);
                  c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
                  c(n*xbar/c2, n*xbar/c1);

                  #Generate simulation data
                  set.seed(921730198);
                  n <- 300;
                  scale <- 25.4;
                  DATA <- rexp(n, rate = 1/scale);

                  #Application of confidence interval to simulated data
                  n <- length(DATA);
                  xbar <- mean(DATA);
                  alpha <- 0.05;

                  CONF_INT(n, alpha, xbar);

                  [1] 23.32040 29.24858





                  share|cite|improve this answer











                  $endgroup$



                  Taking $theta$ as the scale parameter, it can be shown that:



                  $$fracn barXtheta sim textGa(n,1).$$



                  To form a confidence interval we choose any critical points $c_1 < c_2$ from the $textGa(n,1)$ distribution such that these points contain probability $1-alpha$ of the distribution. Using the above pivotal quantity we then have:



                  $$mathbbP Bigg( c_1 leqslant fracn barXtheta leqslant c_2 Bigg) = 1-alpha
                  quad quad quad quad quad
                  int limits_c_1^c_2 textGa(r|n,1) dr = 1 - alpha.$$



                  Re-arranging the inequality in this probability statement and substituting the observed sample mean gives the confidence interval:



                  $$textCI_theta(1-alpha) = Bigg[ fracn barxc_2 , fracn barxc_1 Bigg].$$



                  This confidence interval is valid for any choice of $c_1<c_2$ so long as it obeys the required integral condition. For simplicity, many analysts use the symmetric critical points. However, it is possible to optimise the confidence interval by minimising its length, which we show below.




                  Optimising the confidence interval: The length of this confidence interval is proportional to $1/c_1-1/c_2$, and so we minimise the length of the interval by choosing the critical points to minimise this distance. This can be done using the nlm function in R. In the following code we give a function for the minimum-length confidence interval for this problem, which we apply to some simulated data.



                  #Set the objective function for minimisation
                  OBJECTIVE <- function(c1, n, alpha)
                  pp <- pgamma(c1, n, 1, lower.tail = TRUE);
                  c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
                  1/c1 - 1/c2;

                  #Find the minimum-length confidence interval
                  CONF_INT <- function(n, alpha, xbar)
                  START_c1 <- qgamma(alpha/2, n, 1, lower.tail = TRUE);
                  MINIMISE <- nlm(f = OBJECTIVE, p = START_c1, n = n, alpha = alpha);
                  c1 <- MINIMISE$estimate;
                  pp <- pgamma(c1, n, 1, lower.tail = TRUE);
                  c2 <- qgamma(1 - alpha + pp, n, 1, lower.tail = TRUE);
                  c(n*xbar/c2, n*xbar/c1);

                  #Generate simulation data
                  set.seed(921730198);
                  n <- 300;
                  scale <- 25.4;
                  DATA <- rexp(n, rate = 1/scale);

                  #Application of confidence interval to simulated data
                  n <- length(DATA);
                  xbar <- mean(DATA);
                  alpha <- 0.05;

                  CONF_INT(n, alpha, xbar);

                  [1] 23.32040 29.24858






                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited 1 hour ago

























                  answered 2 hours ago









                  BenBen

                  28.3k233128




                  28.3k233128



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Cross Validated!


                      • 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%2fstats.stackexchange.com%2fquestions%2f403059%2fhow-do-we-build-a-confidence-interval-for-the-parameter-of-the-exponential-distr%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

                      Францішак Багушэвіч Змест Сям'я | Біяграфія | Творчасць | Мова Багушэвіча | Ацэнкі дзейнасці | Цікавыя факты | Спадчына | Выбраная бібліяграфія | Ушанаванне памяці | У філатэліі | Зноскі | Літаратура | Спасылкі | НавігацыяЛяхоўскі У. Рупіўся дзеля Бога і людзей: Жыццёвы шлях Лявона Вітан-Дубейкаўскага // Вольскі і Памідораў з песняй пра немца Адвакат, паэт, народны заступнік Ашмянскі веснікВ Минске появится площадь Богушевича и улица Сырокомли, Белорусская деловая газета, 19 июля 2001 г.Айцец беларускай нацыянальнай ідэі паўстаў у бронзе Сяргей Аляксандравіч Адашкевіч (1918, Мінск). 80-я гады. Бюст «Францішак Багушэвіч».Яўген Мікалаевіч Ціхановіч. «Партрэт Францішка Багушэвіча»Мікола Мікалаевіч Купава. «Партрэт зачынальніка новай беларускай літаратуры Францішка Багушэвіча»Уладзімір Іванавіч Мелехаў. На помніку «Змагарам за родную мову» Барэльеф «Францішак Багушэвіч»Памяць пра Багушэвіча на Віленшчыне Страчаная сталіца. Беларускія шыльды на вуліцах Вільні«Krynica». Ideologia i przywódcy białoruskiego katolicyzmuФранцішак БагушэвічТворы на knihi.comТворы Францішка Багушэвіча на bellib.byСодаль Уладзімір. Францішак Багушэвіч на Лідчыне;Луцкевіч Антон. Жыцьцё і творчасьць Фр. Багушэвіча ў успамінах ягоных сучасьнікаў // Запісы Беларускага Навуковага таварыства. Вільня, 1938. Сшытак 1. С. 16-34.Большая российская1188761710000 0000 5537 633Xn9209310021619551927869394п

                      Беларусь Змест Назва Гісторыя Геаграфія Сімволіка Дзяржаўны лад Палітычныя партыі Міжнароднае становішча і знешняя палітыка Адміністрацыйны падзел Насельніцтва Эканоміка Культура і грамадства Сацыяльная сфера Узброеныя сілы Заўвагі Літаратура Спасылкі НавігацыяHGЯOiТоп-2011 г. (па версіі ej.by)Топ-2013 г. (па версіі ej.by)Топ-2016 г. (па версіі ej.by)Топ-2017 г. (па версіі ej.by)Нацыянальны статыстычны камітэт Рэспублікі БеларусьШчыльнасць насельніцтва па краінахhttp://naviny.by/rubrics/society/2011/09/16/ic_articles_116_175144/А. Калечыц, У. Ксяндзоў. Спробы засялення краю неандэртальскім чалавекам.І ў Менску былі мамантыА. Калечыц, У. Ксяндзоў. Старажытны каменны век (палеаліт). Першапачатковае засяленне тэрыторыіГ. Штыхаў. Балты і славяне ў VI—VIII стст.М. Клімаў. Полацкае княства ў IX—XI стст.Г. Штыхаў, В. Ляўко. Палітычная гісторыя Полацкай зямліГ. Штыхаў. Дзяржаўны лад у землях-княствахГ. Штыхаў. Дзяржаўны лад у землях-княствахБеларускія землі ў складзе Вялікага Княства ЛітоўскагаЛюблінская унія 1569 г."The Early Stages of Independence"Zapomniane prawdy25 гадоў таму было аб'яўлена, што Язэп Пілсудскі — беларус (фота)Наша вадаДакументы ЧАЭС: Забруджванне тэрыторыі Беларусі « ЧАЭС Зона адчужэнняСведения о политических партиях, зарегистрированных в Республике Беларусь // Министерство юстиции Республики БеларусьСтатыстычны бюлетэнь „Полаўзроставая структура насельніцтва Рэспублікі Беларусь на 1 студзеня 2012 года і сярэднегадовая колькасць насельніцтва за 2011 год“Индекс человеческого развития Беларуси — не было бы нижеБеларусь занимает первое место в СНГ по индексу развития с учетом гендерного факцёраНацыянальны статыстычны камітэт Рэспублікі БеларусьКанстытуцыя РБ. Артыкул 17Трансфармацыйныя задачы БеларусіВыйсце з крызісу — далейшае рэфармаванне Беларускі рубель — сусветны лідар па дэвальвацыяхПра змену коштаў у кастрычніку 2011 г.Бядней за беларусаў у СНД толькі таджыкіСярэдні заробак у верасні дасягнуў 2,26 мільёна рублёўЭканомікаГаласуем за ТОП-100 беларускай прозыСучасныя беларускія мастакіАрхитектура Беларуси BELARUS.BYА. Каханоўскі. Культура Беларусі ўсярэдзіне XVII—XVIII ст.Анталогія беларускай народнай песні, гуказапісы спеваўБеларускія Музычныя IнструментыБеларускі рок, які мы страцілі. Топ-10 гуртоў«Мясцовы час» — нязгаслая легенда беларускай рок-музыкіСЯРГЕЙ БУДКІН. МЫ НЯ ЗНАЕМ СВАЁЙ МУЗЫКІМ. А. Каладзінскі. НАРОДНЫ ТЭАТРМагнацкія культурныя цэнтрыПублічная дыскусія «Беларуская новая пьеса: без беларускай мовы ці беларуская?»Беларускія драматургі па-ранейшаму лепш ставяцца за мяжой, чым на радзіме«Працэс незалежнага кіно пайшоў, і дзяржаву турбуе яго непадкантрольнасць»Беларускія філосафы ў пошуках прасторыВсе идём в библиотекуАрхіваванаАб Нацыянальнай праграме даследавання і выкарыстання касмічнай прасторы ў мірных мэтах на 2008—2012 гадыУ космас — разам.У суседнім з Барысаўскім раёне пабудуюць Камандна-вымяральны пунктСвяты і абрады беларусаў«Мірныя бульбашы з малой краіны» — 5 непраўдзівых стэрэатыпаў пра БеларусьМ. Раманюк. Беларускае народнае адзеннеУ Беларусі скарачаецца колькасць злачынстваўЛукашэнка незадаволены мінскімі ўладамі Крадзяжы складаюць у Мінску каля 70% злачынстваў Узровень злачыннасці ў Мінскай вобласці — адзін з самых высокіх у краіне Генпракуратура аналізуе стан са злачыннасцю ў Беларусі па каэфіцыенце злачыннасці У Беларусі стабілізавалася крымінагеннае становішча, лічыць генпракурорЗамежнікі сталі здзяйсняць у Беларусі больш злачынстваўМУС Беларусі турбуе рост рэцыдыўнай злачыннасціЯ з ЖЭСа. Дазволіце вас абкрасці! Рэйтынг усіх службаў і падраздзяленняў ГУУС Мінгарвыканкама вырасАб КДБ РБГісторыя Аператыўна-аналітычнага цэнтра РБГісторыя ДКФРТаможняagentura.ruБеларусьBelarus.by — Афіцыйны сайт Рэспублікі БеларусьСайт урада БеларусіRadzima.org — Збор архітэктурных помнікаў, гісторыя Беларусі«Глобус Беларуси»Гербы и флаги БеларусиАсаблівасці каменнага веку на БеларусіА. Калечыц, У. Ксяндзоў. Старажытны каменны век (палеаліт). Першапачатковае засяленне тэрыторыіУ. Ксяндзоў. Сярэдні каменны век (мезаліт). Засяленне краю плямёнамі паляўнічых, рыбакоў і збіральнікаўА. Калечыц, М. Чарняўскі. Плямёны на тэрыторыі Беларусі ў новым каменным веку (неаліце)А. Калечыц, У. Ксяндзоў, М. Чарняўскі. Гаспадарчыя заняткі ў каменным векуЭ. Зайкоўскі. Духоўная культура ў каменным векуАсаблівасці бронзавага веку на БеларусіФарміраванне супольнасцей ранняга перыяду бронзавага векуФотографии БеларусиРоля беларускіх зямель ва ўтварэнні і ўмацаванні ВКЛВ. Фадзеева. З гісторыі развіцця беларускай народнай вышыўкіDMOZGran catalanaБольшая российскаяBritannica (анлайн)Швейцарскі гістарычны15325917611952699xDA123282154079143-90000 0001 2171 2080n9112870100577502ge128882171858027501086026362074122714179пппппп

                      ValueError: Expected n_neighbors <= n_samples, but n_samples = 1, n_neighbors = 6 (SMOTE) The 2019 Stack Overflow Developer Survey Results Are InCan SMOTE be applied over sequence of words (sentences)?ValueError when doing validation with random forestsSMOTE and multi class oversamplingLogic behind SMOTE-NC?ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)SmoteBoost: Should SMOTE be ran individually for each iteration/tree in the boosting?solving multi-class imbalance classification using smote and OSSUsing SMOTE for Synthetic Data generation to improve performance on unbalanced dataproblem of entry format for a simple model in KerasSVM SMOTE fit_resample() function runs forever with no result