由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - calculate an integral in python (转载)
相关主题
请教:Use R to do integration求教:有人知道如何从R调用SAS命令吗?
请教一个正态分布的积分问题问关于C中调用R函数
请教:R或Matlab里怎么求inverse continuous Fourier transform请教两个关于SAS的问题
solve equations of integrals in python请帮忙看3道SAS题。
offer and negotiationMatlab求教 (转载)
请教个问题关于 default rate in profit calculation怎样用R找出unique的record
How to use Proc formatSAS Macro question about %scan(&covariates,&h)
effect size calculation in repeated measurements ?再看SAS in stock market 这本书 有啥数据库可以拿来联系的吗
相关话题的讨论汇总
话题: integral话题: python话题: calculate话题: oo话题: invalid
进入Statistics版参与讨论
1 (共1页)
m******t
发帖数: 273
1
【 以下文字转载自 Quant 讨论区 】
发信人: myregmit (myregmit), 信区: Quant
标 题: calculate an integral in python
发信站: BBS 未名空间站 (Fri Mar 21 09:39:52 2014, 美东)
I need to calculate an integral in python.
I have imported sympy.
g(a,z) = integral_from_z_to_inf of ( t^(a-1) * e^(-1))
in python:
x,a,z = symbols('x a z')
g = integrate(x**(a-1) * exp(-x), z, oo)
I got error:
ValueError: Invalid limits given: (z, oo)
Any help would be appreciated !
Thanks !
1 (共1页)
进入Statistics版参与讨论
相关主题
再看SAS in stock market 这本书 有啥数据库可以拿来联系的吗offer and negotiation
ticker symbols in time trend line请教个问题关于 default rate in profit calculation
一道ADV 130 题目How to use Proc format
面试问题-how to draw flow-charteffect size calculation in repeated measurements ?
请教:Use R to do integration求教:有人知道如何从R调用SAS命令吗?
请教一个正态分布的积分问题问关于C中调用R函数
请教:R或Matlab里怎么求inverse continuous Fourier transform请教两个关于SAS的问题
solve equations of integrals in python请帮忙看3道SAS题。
相关话题的讨论汇总
话题: integral话题: python话题: calculate话题: oo话题: invalid