1 páginas (11 elementos)
Probability Programs - Probability Programs Conversion from MC15 - Mensajes
Hello SMATH Collaboratory. I attempt to convert an older MC15 worksheet, yet stumble on my poor programming skills. Attached please find my attempt in SMATH and the MC15 worksheet.
I welcome your recommendation(s) to get my SMATH worksheet program "P" working and I'll attempt to take it from there to finish the conversion.
Sincerely,
NormArchivo no encontrado.Archivo no encontrado.
I welcome your recommendation(s) to get my SMATH worksheet program "P" working and I'll attempt to take it from there to finish the conversion.
Sincerely,
NormArchivo no encontrado.Archivo no encontrado.
Happy Holidays Alvaro!
Thank you, for your recommendations. I updated my worksheet, but the "Requested matrix does not exist". I added a snip of the "P" matrix expected from the MC sheet. The updated SMATH worksheet is attached.
I printed the MC worksheet to pdf but it expands the page width, thus there are multiple cut-off pages.
Again, I welcome your review recommendation(s).
Sincerely,
Norm
Archivo no encontrado.Archivo no encontrado.
Thank you, for your recommendations. I updated my worksheet, but the "Requested matrix does not exist". I added a snip of the "P" matrix expected from the MC sheet. The updated SMATH worksheet is attached.
I printed the MC worksheet to pdf but it expands the page width, thus there are multiple cut-off pages.
Again, I welcome your review recommendation(s).
Sincerely,
Norm
Archivo no encontrado.Archivo no encontrado.
A 1 usuarios les gustó este mensaje
Alvaro 29/12/2022 15:09:00
I didn't revise all your functions.
Only P, but it results same as in mathcad.
Rest is up to you.
Regards
Probability Programs_overlord.sm (51,45 KiB) descargado 1300 vez(es).

Only P, but it results same as in mathcad.
Rest is up to you.
Regards
Probability Programs_overlord.sm (51,45 KiB) descargado 1300 vez(es).

Happy Holidays and many thanks!
I'll press on using your recommendations. I would have never gotten this far; given up without this forum's help.
Sincerely,
Norm
I'll press on using your recommendations. I would have never gotten this far; given up without this forum's help.
Sincerely,
Norm
Hi. Happy new year and thanks for the pdf. Here some full vectorized versions.

Probability Programs.sm (50,3 KiB) descargado 1269 vez(es).
Best regards.
Alvaro.

Probability Programs.sm (50,3 KiB) descargado 1269 vez(es).
Best regards.
Alvaro.
Ah-h! A bit closer thanks to Alvaro and Overlord!
My worksheet takes longer to calculate relative to MC15. Overlord's version worked well and I tried Alvaro's version for the "P" program to see if it calculated faster. The P2(n) program didn't work initially; I replace "i" with "P" in the first "for" command line, which worked, but may make the routine take longer.
Anyway, thanks again for your help.
Sincerely,
Norm
Probability Programs.sm (74,83 KiB) descargado 1344 vez(es).
My worksheet takes longer to calculate relative to MC15. Overlord's version worked well and I tried Alvaro's version for the "P" program to see if it calculated faster. The P2(n) program didn't work initially; I replace "i" with "P" in the first "for" command line, which worked, but may make the routine take longer.
Anyway, thanks again for your help.
Sincerely,
Norm
Probability Programs.sm (74,83 KiB) descargado 1344 vez(es).
By the way, how do you post your screen snips in the Forum?
Thank you,
Norm
Thank you,
Norm
WroteBy the way, how do you post your screen snips in the Forum?
Use attachment button, and select a picture file.
In your case, a screenshot file.

WroteMy worksheet takes longer to calculate relative to MC15.
I have tried some variations for your function.
I found this to be fastest, actually 3 times faster than my previous.
I used an amalgam of Razonar's and my functions.
Regards
Probability Programs_overlord_v2.sm (37,25 KiB) descargado 1331 vez(es).

Very nice!
Thank you!
Sincerely,
Norm
Thank you!
Sincerely,
Norm
Just a follow up...
Both versions attached; the faster calculated version (V.1) posts some big percentages, e.g. T4 relative to T3. Don't know what significance that poses.
Are the "P" programs structured random number generators? It appears to me that the "time(1)" relative to "t0" provides how long the program took to complete it's routine. Those outputs are compared for probability percentage?
The last page in V.1, "fcompare()" fails. I welcome your recommendation(s); looking to create row 1 of the matrix.
Thanks in advance.
Norm
Archivo no encontrado.Archivo no encontrado.
Both versions attached; the faster calculated version (V.1) posts some big percentages, e.g. T4 relative to T3. Don't know what significance that poses.
Are the "P" programs structured random number generators? It appears to me that the "time(1)" relative to "t0" provides how long the program took to complete it's routine. Those outputs are compared for probability percentage?
The last page in V.1, "fcompare()" fails. I welcome your recommendation(s); looking to create row 1 of the matrix.
Thanks in advance.
Norm
Archivo no encontrado.Archivo no encontrado.
1 páginas (11 elementos)
- Nuevos mensajes
- Sin mensajes nuevos
