Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: trouble with calculations Pin
Gary R. Wheeler14-May-06 1:27
Gary R. Wheeler14-May-06 1:27 
GeneralRe: trouble with calculations Pin
lindag178314-May-06 4:44
lindag178314-May-06 4:44 
GeneralRe: trouble with calculations Pin
Gary R. Wheeler14-May-06 6:13
Gary R. Wheeler14-May-06 6:13 
GeneralRe: trouble with calculations Pin
lindag178314-May-06 15:33
lindag178314-May-06 15:33 
GeneralRe: trouble with calculations Pin
lindag178314-May-06 15:46
lindag178314-May-06 15:46 
GeneralRe: trouble with calculations Pin
Gary R. Wheeler15-May-06 13:00
Gary R. Wheeler15-May-06 13:00 
AnswerRe: trouble with calculations Pin
Stephen Hewitt13-May-06 5:47
Stephen Hewitt13-May-06 5:47 
AnswerRe: trouble with calculations Pin
Saurabh.Garg13-May-06 16:20
Saurabh.Garg13-May-06 16:20 
Can you provide with a sample input data and expected mean and variance. I can't see anything wrong in the code. Only thing I can think of is you are computing biased variance in the code but true answer with which you are comparing with might be un-biased variance. See here[^] for more information about variance.

-Saurabh
GeneralRe: trouble with calculations Pin
lindag178313-May-06 21:29
lindag178313-May-06 21:29 
GeneralRe: trouble with calculations Pin
Justin Tay13-May-06 23:59
Justin Tay13-May-06 23:59 
GeneralRe: trouble with calculations Pin
lindag178314-May-06 0:46
lindag178314-May-06 0:46 
GeneralRe: trouble with calculations Pin
Saurabh.Garg14-May-06 15:04
Saurabh.Garg14-May-06 15:04 
Questionmysql database Pin
J512198213-May-06 2:13
J512198213-May-06 2:13 
AnswerRe: mysql database Pin
Hamid_RT13-May-06 3:58
Hamid_RT13-May-06 3:58 
AnswerRe: mysql database Pin
Kleser13-May-06 4:56
Kleser13-May-06 4:56 
Questiongetstdhandle returns INVALID_HANDLE_VALUE Pin
e_prabhu13-May-06 2:02
e_prabhu13-May-06 2:02 
AnswerRe: getstdhandle returns INVALID_HANDLE_VALUE Pin
Hamid_RT13-May-06 5:01
Hamid_RT13-May-06 5:01 
AnswerRe: getstdhandle returns INVALID_HANDLE_VALUE Pin
Ryan Binns13-May-06 22:21
Ryan Binns13-May-06 22:21 
QuestionError in List Box Pin
Anu_Bala13-May-06 1:57
Anu_Bala13-May-06 1:57 
AnswerRe: Error in List Box Pin
Hamid_RT13-May-06 3:32
Hamid_RT13-May-06 3:32 
QuestionCustom media player Pin
anupam113-May-06 0:54
anupam113-May-06 0:54 
AnswerRe: Custom media player Pin
Justin Tay13-May-06 3:02
Justin Tay13-May-06 3:02 
AnswerRe: Custom media player Pin
Hamid_RT13-May-06 3:17
Hamid_RT13-May-06 3:17 
GeneralRe: Custom media player Pin
ThatsAlok13-May-06 4:16
ThatsAlok13-May-06 4:16 
GeneralRe: Custom media player Pin
Hamid_RT13-May-06 4:30
Hamid_RT13-May-06 4:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.