Estimating sample size in monte carlo method











up vote
0
down vote

favorite












estimate for the sample size N required to have the estimate of π within
[π − 0.01, π + 0.01] with 0.95 probability. and we are given nothing about the data except the fact that it is drawn from U ~ [-1,1]

I was thinking to apply this:

Necessary Sample Size = (Z-score)^2 * StdDev*(1-StdDev) / (margin of error)^2


but then we have to find stdDev for every N that will be too cumbersome.

can you help me out with this?

Edit:-

can we apply Central limit theorem?










share|cite|improve this question
























  • Welcome to MathStackExchange, I think you may get what you need from Buffon's Needle, it's a classical problem that can derive a number related to $pi$. But please take a moment to check the FAQ on homework problems, I would suggest you edit your question to add some clarifications and context.
    – Mefitico
    Nov 10 at 19:27










  • thank you @Mefitico for the suggestion. but I am looking for sample size, not for the estimation of π. Buffon's Needle didn't serve my purpose.
    – Devkinandan Malav
    Nov 10 at 20:26










  • Note that the standard deviation you should use is that of the actual process, and not one inferred from the sample. Either you know something from the problem that allows you to compute $pi$ (which could be a trial with a known probability of success like $2/pi$). Or when that is not possible, you can pick the wort case deviation (=0.5).
    – Mefitico
    Nov 10 at 21:00















up vote
0
down vote

favorite












estimate for the sample size N required to have the estimate of π within
[π − 0.01, π + 0.01] with 0.95 probability. and we are given nothing about the data except the fact that it is drawn from U ~ [-1,1]

I was thinking to apply this:

Necessary Sample Size = (Z-score)^2 * StdDev*(1-StdDev) / (margin of error)^2


but then we have to find stdDev for every N that will be too cumbersome.

can you help me out with this?

Edit:-

can we apply Central limit theorem?










share|cite|improve this question
























  • Welcome to MathStackExchange, I think you may get what you need from Buffon's Needle, it's a classical problem that can derive a number related to $pi$. But please take a moment to check the FAQ on homework problems, I would suggest you edit your question to add some clarifications and context.
    – Mefitico
    Nov 10 at 19:27










  • thank you @Mefitico for the suggestion. but I am looking for sample size, not for the estimation of π. Buffon's Needle didn't serve my purpose.
    – Devkinandan Malav
    Nov 10 at 20:26










  • Note that the standard deviation you should use is that of the actual process, and not one inferred from the sample. Either you know something from the problem that allows you to compute $pi$ (which could be a trial with a known probability of success like $2/pi$). Or when that is not possible, you can pick the wort case deviation (=0.5).
    – Mefitico
    Nov 10 at 21:00













up vote
0
down vote

favorite









up vote
0
down vote

favorite











estimate for the sample size N required to have the estimate of π within
[π − 0.01, π + 0.01] with 0.95 probability. and we are given nothing about the data except the fact that it is drawn from U ~ [-1,1]

I was thinking to apply this:

Necessary Sample Size = (Z-score)^2 * StdDev*(1-StdDev) / (margin of error)^2


but then we have to find stdDev for every N that will be too cumbersome.

can you help me out with this?

Edit:-

can we apply Central limit theorem?










share|cite|improve this question















estimate for the sample size N required to have the estimate of π within
[π − 0.01, π + 0.01] with 0.95 probability. and we are given nothing about the data except the fact that it is drawn from U ~ [-1,1]

I was thinking to apply this:

Necessary Sample Size = (Z-score)^2 * StdDev*(1-StdDev) / (margin of error)^2


but then we have to find stdDev for every N that will be too cumbersome.

can you help me out with this?

Edit:-

can we apply Central limit theorem?







statistics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 13 at 16:52

























asked Nov 10 at 19:14









Devkinandan Malav

11




11












  • Welcome to MathStackExchange, I think you may get what you need from Buffon's Needle, it's a classical problem that can derive a number related to $pi$. But please take a moment to check the FAQ on homework problems, I would suggest you edit your question to add some clarifications and context.
    – Mefitico
    Nov 10 at 19:27










  • thank you @Mefitico for the suggestion. but I am looking for sample size, not for the estimation of π. Buffon's Needle didn't serve my purpose.
    – Devkinandan Malav
    Nov 10 at 20:26










  • Note that the standard deviation you should use is that of the actual process, and not one inferred from the sample. Either you know something from the problem that allows you to compute $pi$ (which could be a trial with a known probability of success like $2/pi$). Or when that is not possible, you can pick the wort case deviation (=0.5).
    – Mefitico
    Nov 10 at 21:00


















  • Welcome to MathStackExchange, I think you may get what you need from Buffon's Needle, it's a classical problem that can derive a number related to $pi$. But please take a moment to check the FAQ on homework problems, I would suggest you edit your question to add some clarifications and context.
    – Mefitico
    Nov 10 at 19:27










  • thank you @Mefitico for the suggestion. but I am looking for sample size, not for the estimation of π. Buffon's Needle didn't serve my purpose.
    – Devkinandan Malav
    Nov 10 at 20:26










  • Note that the standard deviation you should use is that of the actual process, and not one inferred from the sample. Either you know something from the problem that allows you to compute $pi$ (which could be a trial with a known probability of success like $2/pi$). Or when that is not possible, you can pick the wort case deviation (=0.5).
    – Mefitico
    Nov 10 at 21:00
















Welcome to MathStackExchange, I think you may get what you need from Buffon's Needle, it's a classical problem that can derive a number related to $pi$. But please take a moment to check the FAQ on homework problems, I would suggest you edit your question to add some clarifications and context.
– Mefitico
Nov 10 at 19:27




Welcome to MathStackExchange, I think you may get what you need from Buffon's Needle, it's a classical problem that can derive a number related to $pi$. But please take a moment to check the FAQ on homework problems, I would suggest you edit your question to add some clarifications and context.
– Mefitico
Nov 10 at 19:27












thank you @Mefitico for the suggestion. but I am looking for sample size, not for the estimation of π. Buffon's Needle didn't serve my purpose.
– Devkinandan Malav
Nov 10 at 20:26




thank you @Mefitico for the suggestion. but I am looking for sample size, not for the estimation of π. Buffon's Needle didn't serve my purpose.
– Devkinandan Malav
Nov 10 at 20:26












Note that the standard deviation you should use is that of the actual process, and not one inferred from the sample. Either you know something from the problem that allows you to compute $pi$ (which could be a trial with a known probability of success like $2/pi$). Or when that is not possible, you can pick the wort case deviation (=0.5).
– Mefitico
Nov 10 at 21:00




Note that the standard deviation you should use is that of the actual process, and not one inferred from the sample. Either you know something from the problem that allows you to compute $pi$ (which could be a trial with a known probability of success like $2/pi$). Or when that is not possible, you can pick the wort case deviation (=0.5).
– Mefitico
Nov 10 at 21:00















active

oldest

votes











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',
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%2f2993023%2festimating-sample-size-in-monte-carlo-method%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2993023%2festimating-sample-size-in-monte-carlo-method%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

How do I know what Microsoft account the skydrive app is syncing to?

Grease: Live!

When does type information flow backwards in C++?