| [ QuizWit ] in KIDS 글 쓴 이(By): sisyphe () 날 짜 (Date): 2001년 4월 28일 토요일 오전 11시 47분 48초 제 목(Title): Re: [질문]min,max,mean값을 이용한 분포생 흠... 오랫만에 보는 저의 흥미를 끄는 문제군요. :) 일단 이문제의 핵심은 convergence에 있습니다. 가장 무작위적이면서 converge하게 하려면 어떻게 하는가 하는... 답: Let a_n be the n-th random number. Let M_n be the mean of n random numbers. Then M_{n+1} = (nM_n + a_{n+1})/(n+1). (1) Assume | M_n - mean | < K/n, (2) where K is a bounding number you have to set experimentally. If K is large, your random sequences will have large variation. If K is small, your random sequence will have smller varation. Now solve (1) and (2) .then you generate a_n accoring to the rule (1) and (2). as well as min, max condition. My 1min. solution. ^^ Let me know your result. Moo K. Chung http://www.math.mcgill.ca/chung 8월 이전 8월 이후 PhD Candidate in Statistics Assistant Professor of Statistics McGill University, Montreal University of Wisconsin, Madison |