My Math Forum Random sample with zero sample mean

 Algebra Pre-Algebra and Basic Algebra Math Forum

 October 20th, 2011, 08:52 AM #1 Newbie   Joined: Oct 2011 Posts: 1 Thanks: 0 Random sample with zero sample mean I want to draw a random sample, x_1,...,x_N from a NORMAL(0,sigma^2)-distribution. The problem is that I need the generated sample mean to be zero (i.e. mean(x_j)=(1/N)*sum(x_j)=0). To do this I guess that the independence assumption of the sample must be relaxed. For even N:s my suggestion is to draw x_1 to x_{N/2} by a random number generator and then set x_{N/2+j}=-x_j (j=1,...,N/2). Then each x_j (j=1,...,N) is NORMAL(0,sigma^2) and mean(x_j)=0. Is this idea proper? Are there any standard ways of dealing with my problem? How should I do for odd N?

 Tags random, sample

 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post shivadiva Advanced Statistics 0 April 30th, 2013 07:46 PM sb1 Advanced Statistics 1 February 6th, 2012 03:01 PM Zerox Algebra 3 June 4th, 2011 06:28 PM varunnayudu Advanced Statistics 0 December 5th, 2010 08:48 AM oahz Advanced Statistics 1 July 29th, 2010 04:00 PM

 Contact - Home - Forums - Cryptocurrency Forum - Top