MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: pdf[d,x] vs. function(x)


Hi,

In[4]:=
p = PDF [ NormalDistribution, x ]
Out[4]=
PDF[NormalDistribution, x]
In[5]:=
f[z_] = p /. x -> z
Out[5]=
PDF[NormalDistribution, z]
In[6]:=
f[q]
Out[6]=
PDF[NormalDistribution, q]

Regards

  Jens

"Scout" <user at domain.com> schrieb im Newsbeitrag 
news:cpmio2$ohc$1 at smc.vnet.net...
> Given the symbol  p = PDF [ NormalDistribution, x ]
> (where PDF is the Probability Density Function)
> which declares an expression in x,
> I want to build a new function, i.e. f(z)=p
> with the parameter z instead, but I obtain an error.
> How can I do? Thanks, Scout?
> 



  • Prev by Date: SymbolShape
  • Next by Date: Re: pdf[d,x] vs. function(x)
  • Previous by thread: pdf[d,x] vs. function(x)
  • Next by thread: Re: pdf[d,x] vs. function(x)