Displaying 20 results from an estimated 200 matches similar to: "mathematica -> r (gamma function + integration)"
2006 Sep 01
1
integration problem with gamma function
Dear R-list members,
I have a problem with translating a mathematica script into R. The whole
script is at the end of the email (with initial values for easy
reproduction) and can be pasted directly into R. The problematic part
(which is included below of course) is
<--- Original Mathematica --->
(* p_svbar *)
UiA = Ni (Dsi - 2Di A + A^2)/2;
UiiA = Nii (Dsii - 2Dii A + A^2)/2;
psvbar =
2004 Mar 19
3
Incomplete Gamma Functions and GammaDistribution Doc errata.
Hello all,
In the course of trying to implement the CDF of an
InverseGammaDistribution, I have run across the need for an igamma()
function. Several others have needed this function but the answers I
have found so far are not totally clear to me. I'm writing for three
reasons:
1) to present a small error in the docs
2) to clarify the approach we are expected to take
3) to request,for the
2007 Aug 30
2
Incomplete Gamma function
Hello
I am trying to evaluate an Incomplete gamma function
in R. Library Zipfr gives the Igamma function. From
Mathematica, I have:
"Gamma[a, z] is the incomplete gamma function."
In[16]: Gamma[9,11.1]
Out[16]: 9000.5
Trying the same in R, I get
> Igamma(9,11.1)
[1] 31319.5
OR
> Igamma(11.1,9)
[1] 1300998
I know I have to understand the theory and the math
behind it rather
1998 Mar 26
1
R-beta: problem with locfit
I installed the locfit package under Linux (gcc 2.7.2). Installation
was ok but
> x <- runif(200)
> y.compl <- 10*x*x*rgamma(200,3)
> med.y <- median(y.compl)
> cens <- ifelse(y.compl<=med.y,1,0)
> y <- cens * y.compl + (1-cens)*med.y
> library(locfit)
> m <- locfit(y~x,cens=cens,family="gamma")
/usr/local/src/R-0.61.1/bin/R.binary: can't
2007 Feb 27
1
Additional args to fun in integrate() not found?
Hello, fellow Rdicts,
I have the code for the program below. I need to integrate a function
of "x" and "p". I use integrate to integrate over "x" and pass "p" as
an additional argument. "p" is specified and given default value in
the argument list. Still, integrate() cannot read "p", unless I
explicitly insert a numeric value in the
2005 Jul 13
7
Panasonic PBX -to- Sirrix BRI: Numbers getting echoed/duplicated
Hi guys,
How's things going ?
Got a bit of a weird one here that I've been unable to solve.
I have a Panasonic PBX linked to a Sirrix Quad BRI card that is running in TE (ptp) mode in a Asterisk box - this then links through Internet to another Asterisk box via IAX2.
When a user on the Panasonic PBX system dials the extension of my Sirrix Asterisk box, Asterisk answers and says
2012 Feb 29
1
The joys of Nabble: Re: Cannot use negative argument in function
This is yet another problem with the Nabble interface to
the list.
On Wed, Feb 29, 2012 at 6:21 PM, Richard M. Heiberger <rmh at temple.edu> wrote:
> This line
>
> ?TT <- *Temp*+273.15
> makes it unexecutable. ?that is not the error you mentioned.
On nabble, that variable is in bold. When it's reformatted for
the plain-text email list, the formatting is converted to **
2012 Feb 29
3
Cannot use negative argument in function
Hi,
today i wrote a function in R of the type:
index.refraction <- function(Temp,Press, RH, CO2)
When i try to plug a negative number in Temp, i got this type of error:
"
n <- index.refraction(Temp= -40,100,80,CO2)
Messages d'avis :
1: In Ops.ordered(left, right) : '-' is not meaningful for ordered factors
2: In Ops.factor(left, right) : - not meaningful for factors
3:
2004 Dec 28
6
Music instead of Tunes
Hello,
more and more operators in Europe offer music instead of ring tunes.
E.g. instead of the 400 Hz or whatever tunes, the caller will hear J-Lo,
or Mozart.... Currently I will have to answer the line to do that. Is
there a way to do this with asterisk?
Regards,
Marc
--
CTO Marc Storck
MS Networks SA mstorck@luxadmin.org
Internet Service
2004 Jun 17
4
Problems with PRI with T410 messages
Hi all,
I have a box running asterisk with T410 connected to a Nortel DMS 100 switch
and another box running SER with grandstream phones on it
So if there is a call from the pstn it goes from the Nortel to the asterisk
and then to the SER box and finally to the phones.if the phone is busy or
the number is invalid the * box will first send an ALERT message to the
Nortel and say the call is going on
1998 Jun 03
0
R-beta: locfit package.
I was wondering if someone could help me with a problem getting locfit running.
I am running Digital Unix 3.2D on an alphastation, with R 0.61.1
I downloaded the CRAN distribution of locfit. I had no problems installing it
with R INSTALL (I installed it into my library rather than the default base
library; the output is attached at the end of this email message).
I then tried to test it with the
2005 Aug 20
2
Ring more than two isdn phones simultaneously
I am using a HFC-S card in nt mode with zaphfc driver to connect an
internal isdn bus. I would like to signal an incoming call on, let's
say, 4 phones. Right now I use:
Dial(Zap/g1/21&Zap/g1/22&Zap/g1/24&Zap/g1/23&Zap/g1/29,,t)
where g1 are my two isdn channels provided by HFC-S card an the
21,22,etc my internal numbers.
When the command is executed however, only the
2005 Mar 11
8
No ringback over IAX - LiveVoip
Hello All,
I saw some coverage of this in the list archive but no one seems to have
posted a resolution.
I am using Asterisk@Home 0.06 and when I get a call from LiveVoip over
IAX I dump it into my IVR.
>From there the call is routed to groups based upon input.
However, there is no ringback indicated to the IAX caller.
Does anyone know how to resolve this problem?
Thanks,
Wiley
2004 Dec 07
7
Faxing..not 100%
Here is the setup:
POTS -> PRI -> Asterisk -> ATA (Fax)
The ATA is set to only 711. Asterisk's sip.conf sets this device to only
711. Yet, faxing works less than 50% of the time.
I cannot possibly be the only person with this problem. I can't even get
app_rxfax to work. It answers but rxfax drops the call 5 seconds into it.
If anyone out there has near 100% success with
2004 Jun 10
0
Missing connect indication on pri?
[This email is reposted without the log attaced. I have added more
information to the end of this email as well]
CVS head (unmodified) current as of today.
We have asterisk connected to both the pstn and our pbx via two E1 pri
connections. We use overlap dialing to cope with different number lengths
in Sweden.
Incoming calls work perfectly.
Outgoing calls seem to not get the repsonse it
2004 Sep 23
0
Re: [Asterisk-Dev] Softphone for PocketPC or iPaq
I have tried sjphone - worked well, although I think my 3 year old IPAQ
had a bit of a hard time keeping up with the pace as there was quite a
delay in the speech. Probably says more about my ancient IPAQ than
SJPhone.
Sam
Lex Lethol <lethol@gmail.com> wrote on 23/09/2004 15:31:39:
> I tried the xten one and didn;t like at all..
>
> Havent tried to SJPhone, but my guess is
2004 Nov 25
0
How to make/recieve call using asterisk whenthereis a power failure?
-----Original Message-----
From: Peter Svensson [mailto:psvasterisk@psv.nu]
Sent: 25 November 2004 10:54
>> They work just fine if your pstn provider is at all serious. If not,
>> switch. They don't belong in the pstn business anyway.
BT so you probably have a point. To be fair to BT I'm not saying that
the ISDN does drop during power outage
I was simply speculating on the
2005 Feb 01
1
Zap channel occasionally misses dialing thefirst digit
I am have same issue with PRI and overlap dialling is not enabled.
Stuart
-----Original Message-----
From: "Peter Svensson"<psvasterisk@psv.nu>
Sent: 01/02/05 16:55:52
To: "Asterisk Users Mailing List - Non-Commercial Discussion"<asterisk-users@lists.digium.com>
Subject: Re: [Asterisk-Users] Zap channel occasionally misses dialing thefirst digit
2004 Jul 29
1
Re: Zaptel doesn't see remote hangup ?
Thanks Peter,
Yes, indeed the problem seems to be exactly what you describe. It's overhere
the same. If I dial a mobile number it disconnects immediately when I hangup
the mobile. But for analog numbers it takes around 10 seconds or so...
Well, at least now I know how to debug pri :-)
Walter.
On Thu, 29 Jul 2004, Walter Klomp wrote:
> However, if I dial-in from the SIP phone to my
2004 Sep 29
0
PRI D-channel signalling error? "Ring reques ted onchannel 0/1 a lready in use on span 1. Hanging up owner."
Now that's quite interesting - yes, this is a two way span. I thought that
the D-channel negotiation that happens before the B-channel is set up would
have implicitly avoid the glare condition through signalling the
intent-to-use to the resource to the remote end (a-la E&M wink start).
So what seems to be happening in my case is my CPE is set for a 'Descending'
b channel sequence