Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Variance freezes for certain sample sizes' topicStudent Support Forum > General > Archives > "Variance freezes for certain sample sizes"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Peter Pein
04/19/13 11:34am

In Response To 'Re: Re: Re: Re: Variance freezes for certain sa...'
---------
This is very strange and I can not reproduce this failure.

A possibility which comes to mind is: do you use a Linux version with self-compiled libgmp.so or other math-related libraries? Mathematica brings its own libraries with it but maybe something went terribly wrong during/after installation. If so, did you do a 'make check' after compilation of your self made libs?

If that is not the case it might be worth the effort to uninstall Mathematica and to do a complete reinstallation.

Peter

P.S.: this is what I get in version 8:

In[1]:= SeedRandom[0]; (* to get a reproducable result *)
data=RandomVariate[NormalDistribution[],10];
Variance[data]
Out[2]= 0.390715
In[3]:= SeedRandom[0];
data=RandomVariate[NormalDistribution[],9];
Variance[data]
Out[5]= 0.316325
In[6]:= $Version
Out[6]= 8.0 for Microsoft Windows (64-bit) (October 7, 2011)

URL: ,

Subject (listing for 'Variance freezes for certain sample sizes')
Author Date Posted
Variance freezes for certain sample sizes vegskipx 04/14/13 2:17pm
Re: Variance freezes for certain sample sizes Bill Simpson 04/15/13 9:34pm
Re: Re: Variance freezes for certain sample sizes vegskipx 04/16/13 1:06pm
Re: Re: Re: Variance freezes for certain sample... jf 04/16/13 4:16pm
Re: Re: Re: Variance freezes for certain sample... Bill Simpson 04/16/13 6:33pm
Re: Re: Re: Re: Variance freezes for certain sa... vegskipx 04/17/13 2:09pm
Re: Re: Re: Re: Re: Variance freezes for certai... Bill Simpson 04/18/13 12:29pm
Re: Re: Re: Re: Re: Variance freezes for certai... Peter Pein 04/19/13 11:34am
Re: Re: Re: Re: Re: Re: Variance freezes for ce... Bill Simpson 04/19/13 1:19pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic