Items tagged with statistic statistic Tagged Items Feed

Hi, 

When I try the example of a histogram plot from the help system (under Statistics, Histogram), I get an error.

The example (entered in document mode) and error follow below.  Can someone please shed light on this?

with Statistics; with(plots):
N := RandomVariable(Normal(0, 1)):
A := Sample(N, 1000):
P := DensityPlot(Normal(0, 1), color = "Niagara Red"):
Q := Histogram(A, averageshifted = 4, style = polygon, color = "LightSlateGrey"):

To plot the density function of the continuous uniform distribution on [-1,1], my initial attempt was: 

plot(Statistics:-PDF(Statistics:-RandomVariable(Uniform(-1,1)),x), x = -1.1 .. 1.1);

See plot below.


But I wanted something more like the wikipedia image (without the labels, naturally):

See plot below.

In words, I expected a horizontal line on the left of x=-1 and on the right of x=1 (at y=0), and I expected no vertical line at the x=-1 and x=1 points ...

what is the difference between the autocorrelation function of Maple and MatLab function xcorr?

> N := 1024;
> f1 := 1;
> FS := 200;
> n := Vector([`$`(0 .. N-1)]);
> x := evalf(`~`[sin](2*Pi*f1*n/FS));
> t := Vector([`$`(1 .. N)]/FS);
> plot(t, x, axes = box, gridlines, color = blue, title = "Sinwave of frequency 1000Hz [FS=8000Hz]", labels = ["Time, [s]",

"Amplitude"], labeldirections = ["horizontal", "vertical"]);

Is it possible to display on a same graph the error of type I and type II error given n, alpha and beta?

PowerTest

applet.zip

Gracias

hello

This is what I have written out in Maple, and I have been trying to plot into a graph, but am having no luck at all.  Do you have any advice for what my next step should be. I'm using a simplified version of Brain and Cousens model.

> restart;

> with(plots);

> with(Statistics);

y := (x) -> (d+fx)/(1+h*x^b) , x > 0

b := 2; d := 1; h := 1;

This is the question: Let b = 2, d = 1 and h = 1 

UncertaityofCalibrat.mw

within the attached document, is the idea that I would like to develop with the optimization package.

Page 1 of 1