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


Groups > comp.soft-sys.math.mathematica > #16074 > unrolled thread

Help with Manipulate

Started by"Eduardo M. A. M. Mendes" <emammendes@gmail.com>
First post2013-10-18 08:41 +0000
Last post2013-10-18 08:41 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Help with Manipulate "Eduardo M. A. M. Mendes" <emammendes@gmail.com> - 2013-10-18 08:41 +0000

#16074 — Help with Manipulate

From"Eduardo M. A. M. Mendes" <emammendes@gmail.com>
Date2013-10-18 08:41 +0000
SubjectHelp with Manipulate
Message-ID<l3qs84$3qt$1@smc.vnet.net>
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


[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web