[R] Simulating the p-value of a test statistic
markleeds at verizon.net
markleeds at verizon.net
Sun May 25 03:48:49 CEST 2008
hi: you simulate the distribution of the test statistic by simulating
the hypothesis test over and over and calculating the test statistic
each time.
the details of how you simulate the hypothesis test depends on the
particular problem you are dealing with but you didn't describe that.
if you describe it in more detail, maybe someone can give a more
detailed response.
On Sat, May 24, 2008 at 7:04 PM, ampad1cb at cmich.edu wrote:
> Dear Friends,
>
>
> I want to know if any one could give me help on this. Suppose you want
> to simulate the p-value of a test statistic but you do not know how
> the distribution of the test statistic, how can one simulate the
> p-value.
>
> It will be helpful to get an example code in R on this
>
> Respectfully Submitted,
> Clement
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list