Re: How to define a statistical distribution?
- To: mathgroup at smc.vnet.net
- Subject: [mg108474] Re: How to define a statistical distribution?
- From: ValeX <rjovale at gmail.com>
- Date: Fri, 19 Mar 2010 02:48:28 -0500 (EST)
- References: <hnl7kb$at3$1@smc.vnet.net> <hnnk26$cg1$1@smc.vnet.net>
Hello, I have a numerical PDF of this form: pdfconv[dem, z, s] where dem is the variable of the PDF and z and s are parameters. Doing what was suggested above i get: distconv /: PDF[distconv[z_, s_], dem_] := pdfconv[dem, z, s]; but when i try to generate a random number like: RandomReal[distconv[1, .1]] i get an error. Were i get it wrong? many thanks