MaplePrimes Main Forums

It seems like the Beta distribution in the Statistics package doesn't work properly when trying to define a particular Beta distribution since Beta(a,b) also refers to a integral when a and b are fixed numbers.

Has anyone else encountered this problem? Is there a way to get around this problem other than to define your own Beta pdf?

Jim

plot with error bars

Download 4125_Testdata.txt
View file detailsI am trying to create a point plot from a data file, with the first two columns, x,y, and the third column as the error in y.

I can make the pointplot with the first two columns, but trying to add in the third colum for the Errorplot in statistics program is not working.  Is there a way I can use this third column of my data file to be the yerrors= part of Errorplot command?

Using the typeset() plot option, I am interested in printing labels of vectors on Maple graphics. The vector labels must have arrows on top. I can do this already if I know the name of the vector in advance, e.g. "V", by invoking the command

plots[textplot]([x, y, typeset(`#mover(mi( "V" ),mo("→"))`)]);

Shortest Distance

Given two functions (y=x^2+8 and y=x-6) how can I find the shortest distance between the two? And how do I find the points on these functions that are the least distance to the other? My teacher hinted that parameterizing the curves would help, but I still have no idea what to do...

Exporting data in a 2 by n matrix.

Hi everybody,

I'm using Maple 9.5 on a mandriva station to do some analysis for my PhD. In the end, I get a plot with 2 curves : one is continuous, and the other isn't (it's a kind of Heaviside).

I didn't find a way to do a proper plot, including greek symbols, and formulas in the legends with maple... For this reason, I decided to export the results from my plot to a file containing on each line couples (x, y) and then plot it properly with another tool (gnuplot...).

How can I get random drawings from a list with data in the range of mean + - 1 standard deviation?

I know how to do it for a theoretical normal distribution

with(Statistics);
S := Sample(RandomVariable(Normal(0, 1)), 1000)

but not for an empirical distribution....

Heap - lexorder

Hi,

I need to construct a heap using a list.

Have found this in Maple help.

> h := (heap[new])(lexorder, greg, tony, bruno, michael); (heap[insert])(stefan, h);
stefan
> (heap[size])(h);
5
> (heap[max])(h);
tony
> while `not`((heap[empty])(h)) do (heap[extract])(h) end do;
tony
stefan
michael
greg
bruno

I encounter a situation demonstrated in the following piece of codes:

I'm playing around with the embedded components, mostly buttons, sliders, labels, and plots.

Is it possible to include special characters such as omega or pi or beta on the label, or as the text on a button, or in the legend name of a plot? If so, how?

 

 

Random numbers without repeats

I want to generate a set of numbers of fixed size with maple, when I use the rand procedure within a fixed integer range let us say rand(1..2^4) and ask maple to pick 8 integers, maple will pick 8 different integers in the required range.

I would be grateful for any help.

Alex

}