afeddersen

444 Reputation

7 Badges

11 years, 126 days
I study psychology and economics with a very quantitative approach to each. I specialised on statistical methods, quantitative diagnostics, portfoio analysis and econometrics. Furthermore I am interested (and above that theoretically and empirlcally involved) in poker, chess and performing arts.

MaplePrimes Activity


These are questions asked by afeddersen

Recently I wanted to create a simple 2D-plot representing this piecewise expression:

T1:=piecewise(x>=0, 3.5*x*13/3+13, x>=20, 3.4*x*13/3+13, x>=30, 3.25*x*13/3+13);

or alternatively: T1:=t->piecewise(t>=0, 3.5*t*13/3+13, t>=20, 3.4*t*13/3+13, t>=30, 3.25*t*13/3+13);

Unfortunately, no matter whether I entered it as a function or as an expression, I was not able to make Maple plotting this function correctly for a domain D

I want to compute expected utilities, i.e. I have a random variable and a utility function, e.g.

 

with(Statistics);

X:=RandomVariable(Normal(mu,sigma));

u:=t->1-exp(-phi*t);

 

and now I want to compute the expected utility, i.e.:

When Maple displays the results of a do-loop, it usually assigns only one label (e.g. '(2.1)') to the whole bunch of results.

Is there a way to have Maple assign a label to each expression resulting from some do-loop commands?

As I have recently learned, the environment variable 'Digits' controls the working precision and is therefore crucial for avoiding significant impacts of round-off error effects on floating point computations.

Moreover I discovered, that even when I set Digits to say 20, Explore is not affected.

Is there a way to control the working precision of the floating-point computations carried out by the Explore option?

Maple carries out the following solving task without any problems:

restart;
with(Statistics):
X1 := RandomVariable(Geometric(q)):
s1:=solve({mu=Mean(X1)},{q});

 

Anyway, when I add common assumptions (0<q, q<1), then Maple will not carry out the task:

restart;
with(Statistics):
X1 := RandomVariable(Geometric(q)) assuming 0<q, q<1:
s1:=solve({mu=Mean(X1)},{q});

 

Why is that the case?

1 2 3 4 5 6 7 Last Page 2 of 12