🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.misc
Article #35395

Re: Distribucion exponencial en C

#35395
From: Francisca Medina H.
Date: Mon, 06 Apr 1998 00:00
49 lines
2290 bytes
Yobui! <vvrsalov@antonia.webhost.cl> wrote:
: Eduardo Kaftanski <ekaftan@antonia.webhost.cl> el 6 Apr 1998 00:41:04 -0400 escribio:
: } In article <6g9m7r$j4a$1@antonia.webhost.cl>,
: } Yobui!  <vvrsalov@antonia.webhost.cl> wrote:
: } >Francisca Medina H. <fmedina@antonia.webhost.cl> el 6 Apr 1998 04:19:58 GMT escribio:
: } >} Necesito implementar una distribucion exponencial (y una normal) en C
: } >} y ni siquiera se que significa...
: } >
: } >} Alguien me ilumina plis?
: } >
: } >
: } >El experto de estadistica al habla... :) (la ilumino cuando quiera 
: } >mademoiselle... :) )
: } >
: } >Distribucion Exponencial....
: } [ASCII art estadistico borrado]

: } Ya... y eso en C? o al menos en espa~ol?

: } Como hace mademoiselle para implementar una funcion en C que
: } retorne un numero aleatorio en alguna de dichas distribuciones?

: depende de los parametros....

: } Ah?????

: ahi esta la aleatoreidad.... 
: segun el lambda o el mu (esto era la esperanza) o el sigmacuadrado (varianza)

: tons deberia ser algo como
: lambda=rand();
: mu=rand();
: sigma^2=rand();
: y ahi seria un numero aleatorio demtro de esas distribuciones...

Entonces me falta la varianza, osea, en mi lindo informe, pongo
bug conocido, no tiene varianza, tonces no puedo implementar la
distribucion normal i me relajo.. :)

(mentira, me las voi a tener que arreglar mannana con la profe...)

Gracias por iluminarme tan velozmente.. ;)

-- 
Francisca Medina      | 'But somewhere in a private place 
fmedina@webhost.cl    |  she packs her bag for outer space,
ICQ: 9396558          |  And now shes waiting for the right 
http://www.webhost.cl |  kind of pilot to come'
Technical Details
Message-ID: <6g9n2p$k27$1@antonia.webhost.cl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6g9l5e$ikk$1@antonia.webhost.cl> <6g9m7r$j4a$1@antonia.webhost.cl> <6g9md0$jmi@antonia.webhost.cl> <6g9mj9$j4a$3@antonia.webhost.cl>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: 107d6b,dab859bce1b8fd5d
X-Google-Attributes: gid107d6b,public
From: "Francisca Medina H." <fmedina@antonia.webhost.cl>
Subject: Re: Distribucion exponencial en C
Date: 1998/04/06
Message-ID: <6g9n2p$k27$1@antonia.webhost.cl>
X-Deja-AN: 341261626
Sender: Francisca Medina H. <fmedina@antonia.webhost.cl>
References: <6g9l5e$ikk$1@antonia.webhost.cl> <6g9m7r$j4a$1@antonia.webhost.cl> <6g9md0$jmi@antonia.webhost.cl> <6g9mj9$j4a$3@antonia.webhost.cl>
Organization: WebHost Chile S.A.
Newsgroups: chile.comp.misc