I use the following code but failed.
###
x=[1,2,3,4,5]
y=[2,3,4,5,6]
x=r(x)
y=r(y)
r.t_test(x,y,alternative="less")
###
It returns that error:object 48 not found
But it works if I didn't use alternative.
r.t_test(x,y) will return the result of two sid
Thank you,Peter.
I have another stupid question that does not related to this topic, I think it
difficult to write a matrix as a list of list in Sage.And it is confused that
matrix is immutable that I cannot modify the element of a matrix.
Is there some smart way to define and use a matrix in Sag
I want to use FiniteDimensionalAlgebra to check if a given table of
multiplicayion can form a associative algebra. But the function
FiniteDimensionalAlgebra do not check for association.
Code is as below.
##
FinitDimensionalAlgebra(CC,[Matrix([[1,1],[1,0]]),Matrix([[0,1],[1,1]])])
##
--
Thanks a lot.I was learning how to use R in Sage recently.
The norm function of R provides a normal distribution of two parameters mean
and sd.So I would use the R interface in Sage instead.
But I have problem ploting wuth R interface in Sage.
I use the folliwing code to plot a histogram hut faile
I am so sorry that I forget about this as the 'gaussian'distribution in sage
only take one parameter sigma. I think 'normal' distribution should have two
parameters mu and sigma.
Kannappan Sampath 提到:
>On Tue, Jun 24, 2014 at 8:28 PM, gofortu...@gmail.com
>wrote:
In fact,I like the pure math part of sage.But it would be better if I can do
some modelling on sage.
Recently I was reading the reference manual of probability, but I found that
RealDistribution does not support normal distribution.
RealDistribution supports uniform, gaussian,rayleigh,lognormal,
Thank you,Kcrisman.
I am so sorry that I did not ask my question clearly, but luckly you understand
most of my question.
The link to publication that use sage is great.
I do hope sage can have a lot of packages like R.
It seems that sage focus on pure mathematics more than application.I do not
fi
I use Sage 6.1.1 which I build from source code on my x86 Ubuntu14.04
William Stein 提到:
>
>On Jun 21, 2014 7:17 PM, "gofortu...@gmail.com" wrote:
>>
>> I didn't get such answer as you got,my Sage factor 2007193456621 correctly.
>> N.factor() returns
I didn't get such answer as you got,my Sage factor 2007193456621 correctly.
N.factor() returns 1001797*2003593.
Did you use an old version of Sage?
發自我的小米手機
John Cremona 提到:
>I noticed an announcement on the flint-dev list which led me to try
>this, and indeed we have the bug:
>
>sage: n=20071