927 Reputation

10 Badges

12 years, 196 days

MaplePrimes Activity

These are replies submitted by casperyc

@Carl Love This is brilliant! I am going to taken some time to look thing up in the "StringTools" package. It seems be very helpful in formatting pretty outputs.



@Kitonum Thanks. That looks like the only way to go.

@Carl Love


Just one last bit, say for this

eta[p4]   = -0.013
eta[p5]   = 0.215

Is it possible to get

eta[p4]   = - 0.013
eta[p5]   = 0.215

where the negative sign is at its "own" place. So for position numbers, there is an empty sapce.





@Kitonum Yes, this works.


But I am looking for a global option, that can be applied to the whole worksheet.


@Carl Love I dont know a lot about the differences. But it looks like that in general, Vectors are better (more efficient)? Even if we were to perform a loop operation on it.




@Joe Riel I decided to go with this one, because it looks "shorter".


Thanks for everyone who contributed and commented!

@Kitonum Yes, using loop is always an option. I don't think it efficient though. Perhaps there is a better way?

@Markiyan Hirnyk 


Hi, thanks again for your interest.

I was having some problems accessing the forum yesterday.


Here is a brief (shortened) version of the talk I gave at a research conference.


Data (page 1) of the PDF. (xij in the formula,xij=0 or xij=1)

Model: page 2,3,4

We use the linear link, page 4, where the taus,etas, and ws are.

Page 5 and 6, are the probabilities.


So the target function, are each of the probabilities, raised to the power of the number of counts, and then multiplied together.


As we used the linear link, that's why the powers are so big.








I believe if you go to "", you will see "Your Contributions".

It has your "replies" as well.


I have created a dummy testing file.

And I noticed that it can't include "restart" in all the .mpl files.

It also have no easy way to "track" what is going on.


In short, what I want is to have these unexecuted files,

get these executed files,

ideally, have these executed files and saved as PDF,






@Alejandro Jakubi Yup, the "a bell (alert) BEL" does not work. I only need something simple, if Maple have it as a feature. 

Calling something outside Maple, not something I would want to do every time I write a procedure.





@Carl Love Thanks.

@itsme Yes, mpl is quite useful. But it may not be what I am expecting. As @Alejandro Jakubi noticed, I need more complicated/long 2D output, it may not be doable at the moment.

I am quite surprised that Maple does not have a syntax to save as PDF. It can only be done by mouse click.

I would be handy to have a command "save" to save the worksheet, like

>save ""

or something like

>save "myMaple.PDF"



@Markiyan Hirnyk 

Here is the "general" expression for the problem. You can trust that the target funtion I have given in the example is the "simplest" form, for a real 8 year dataset. The target function is definitely correct.

In "real" problem is that, it does not follow a "named" distribution. So there is NO "density", I think.


It would be great to have it. But if not, you could try this:


What I am doing now is, instead of the "Code Edit Region"  in Maple itself, I have decied to use Notepad++.

I write in Notepad++, which has synatex highlight.

Then in the same dir, I creat a Maple worksheet, I ask Maple to

> read "the_maple_code";


It has been working quite well for me to manage my "long" and "large" pieces of codes.



2 3 4 5 6 7 8 Last Page 4 of 22