Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16080

Re: Help with Manipulate

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail
From Sergio Miguel Terrazas Porras <sterraza@uacj.mx>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Help with Manipulate
Date Sat, 19 Oct 2013 07:47:43 +0000 (UTC)
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <l3tdev$9tl$1@smc.vnet.net> (permalink)
References <20131018084448.7272A6A0D@smc.vnet.net>
Lines 32
Organization Time-Warner Telecom
NNTP-Posting-Date 19 Oct 2013 07:52:00 GMT
NNTP-Posting-Host 1effcadb.news.twtelecom.net
X-Trace DXC=mTUf]ZJBEL24c1ZETcjjP3C_A=>8kQj6=MOj3YM9`=a8aKChYcOkmk?EFiONJ7[Go6LIk2fMd[d2=
X-Complaints-To abuse@twtelecom.net
Xref csiph.com comp.soft-sys.math.mathematica:16080

Show key headers only | View raw


It is the last semicolon, which supresses output.

But it has some other problems.

Saludos, Sergio Terrazas

________________________________________
Desde: Eduardo M. A. M. Mendes [emammendes@gmail.com]
Enviado el: viernes, 18 de octubre de 2013 02:44 a.m.
Hasta: mathgroup@smc.vnet.net
Asunto: Help with Manipulate

Hello

Although I have been using Mathematica for a while I still consider myself a rookie.   Could someone explain what I am doing wrong with the following code, please?

Manipulate[
sum=RandomVariate[FRatioDistribution[2,2 \[CurlyPhi]],np];
Do[sum=sum+RandomVariate[FRatioDistribution[2,2 =
\[CurlyPhi]],np],{i,2,nr}];
Histogram[sum,{Min[sum],Max[sum],1},"PDF",AspectRatio->1/3,PlotRange-> {{Min[sum],Max[sum]},All},ImageSize->Large],
{{\[CurlyPhi],5,"parameter"},1,1000, Appearance->"Labeled"},
{{np,1000,"number of data points"},1,1000000, Appearance->"Labeled"},{{nr,20,"number of replications"},5,10000, Appearance->"Labeled"}];

Nothing shows up.

Is there a faster way to implement the summation?

Many many thanks

Ed

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Help with Manipulate Sergio Miguel Terrazas Porras <sterraza@uacj.mx> - 2013-10-19 07:47 +0000

csiph-web