It's in the section note.
Kosuke
On Sun, 23 Feb 2003, Stanislav Markus wrote:
How should we proceed with simulating draws from the t
distribution?
Should we draw samples and calculate the standard error, and the
t-statistic? ..and whence from there?
confused,
Stan
****************************
Stanislav Markus
Ph.D. Candidate
Harvard University
Department of Government
e: smarkus(a)fas.harvard.edu
t: 617.513.5407
-----Original Message-----
From: gov2001-l-admin(a)fas.harvard.edu
[mailto:gov2001-l-admin@fas.harvard.edu] On Behalf Of John Bright
Sent: Sunday, February 23, 2003 4:23 PM
To: 'gov2001'
Subject: [gov2001-l] Sampling from the B to the E to the T to the A.
Here's an R efficiency question.
The manner in which I am sampling from my beta distribution is via the
sample() function, where I define x to be a vector (.01,.02,.03, ...
1.0)
(the possible values of pi), and p the vector that contains the
probability
values for each ordinate in the vector x. So, my sample function looks
something like:
pi <- sample(x=all.pi, n=N, replace=T, p=beta.prob)
Is there a different way to accomplish this that does not require
constructing the vectors of possible pi's and their corresponding
probabilities explicitly?
Thanks,
John.
_______________________________________________
gov2001-l mailing list
gov2001-l(a)fas.harvard.edu
http://www.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l(a)fas.harvard.edu
http://www.fas.harvard.edu/mailman/listinfo/gov2001-l