MathGroup Archive 2004

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52856] Re: pdf[d,x] vs. function(x)
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 15 Dec 2004 04:26:15 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <cpmio2$ohc$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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)