Is there standard normal cumulative distribution function in GAMS?

Archive of Gamsworld Google Group
Post Reply
User avatar
linkho
User
User
Posts: 9
Joined: 8 months ago

Is there standard normal cumulative distribution function in GAMS?

Post by linkho » 2 weeks ago

Hi all,

I want to code the following formula in GAMS,

Code: Select all

 R(i)= Phi.[beta*Log10(M(i)/W*D)]
 

Where 'Phi' is a standard normal cumulative distribution function.

Code: Select all


  Scalar beta=0.34, W=70, D=41;
  Parameter M(i)/1 375, 2 450, 3 876,4 212,5 125/;
  
  
I didn't find standard normal cumulative distribution function in GAMS, is it available? How can I code this formulation in GAMS?

Thanks&Best,
Linkho

User avatar
dirkse
Moderator
Moderator
Posts: 56
Joined: 2 years ago
Location: Fairfax, VA

Re: Is there standard normal cumulative distribution function in GAMS?

Post by dirkse » 2 weeks ago

Linkho,

A search for "standard normal" in the GAMS User's Guide at

https://www.gams.com/latest/docs/search.html

gives this page, which mentions the errorf function:

https://www.gams.com/latest/docs/UG_Parameters.html

-Steve

User avatar
linkho
User
User
Posts: 9
Joined: 8 months ago

Re: Is there standard normal cumulative distribution function in GAMS?

Post by linkho » 2 weeks ago

Hi Steve thanks a lot!

Post Reply