Rank: Advanced Member Groups: Registered
Joined: 29/11/2017(UTC) Posts: 82 Location: Midwest Was thanked: 9 time(s) in 7 post(s)
|
Prob Fitting.pdf (2,819kb) downloaded 42 time(s). Probability Fitting.sm (87kb) downloaded 21 time(s).I've come across a mathcad2000i worksheet that I converted to prime4, the attached pdf shows the results. I've attempted to reproduce the Histogram(X) routine in SMath but can't seem to get past the "Argument must be a vector..." error. I welcome the collabs review and recommendations if this routine will work. Thank you,
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi. Do you have the original Mathcad2000 worksheet? Instead of parse a variable parameter number f(x,p1,p2,p3,...) you can use just f(x,p) but with p as a vector columns. With that you don't need replicate, Vec2Vec&Size and the other similar utilities. Best regards. Alvaro. Edited by user 12 January 2019 09:37:09(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,647 Location: Italy Was thanked: 1329 time(s) in 875 post(s)
|
routine for X-Y plot hist.sm (15kb) downloaded 52 time(s).Edited by user 12 January 2019 14:57:18(UTC)
| Reason: fixes |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: nasch I've come across a mathcad2000i worksheet that I converted to prime4, the attached pdf shows the results. I've attempted to reproduce the Histogram(X) routine in SMath but can't seem to get past the "Argument must be a vector..." error. I welcome the collabs review and recommendations if this routine will work. I think, don't understand what you are trying to do ... few points: 1. NaN what introduce by Mathsoft during design of DAEP [2003] 2. NaN is not ∞ ... rather it is based on floating point error, a pure decoration in Smath except if related to Maple. 3. Tom G. didn't have DAEP [300 $ in 2003]. Tom did lot of work based on NaN. From recollection, he used ^307. I tried simulate NaN in Smath not to avail.4 4. In Mathcad, there are 17 styles random, all built-in from the universal random uniform found in most systems. 5. 'rlogis' is useful in Monte-Carlo stuff, included in the attached. 6. Also attached: how to simulate normal random from the CLT Central Limit Theorem. 7. If you are given a data set that looks bell shape, trying to fit that is like lottery ... Why ? 8. Data are just data, they don't collect bell shape by themselves. Some smart have binned them. Depending upon the binning you will get all sorts of misleading PDF. 9. Added the PW weighted histogram c/w the original application that lasted weeks that the originator had none of "thanks or equivalent" in his vocabulary. Cheers ... Jean Stat Monte Carlo [rlogis].sm (75kb) downloaded 23 time(s). Stat Random normal USER.sm (124kb) downloaded 21 time(s). Stat Histogram PW.sm (111kb) downloaded 20 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: nasch I welcome the collabs review ... Oh ! forgot to return your original Probability Fitting[1].sm (91kb) downloaded 20 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 29/11/2017(UTC) Posts: 82 Location: Midwest Was thanked: 9 time(s) in 7 post(s)
|
Prob Fitting.xmcd (183kb) downloaded 12 time(s).Thank you, David & Jean for your help and direction. Alvaro, for your reference, attached is the worksheet, I believe by Tom Gutman. Again, many thanks!
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: nasch I believe by Tom Gutman Yes, Tom Gutman This demo to illustrate the CLT Stat Histogram DEMO.sm (24kb) downloaded 20 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,986 Was thanked: 1124 time(s) in 721 post(s)
|
|
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud This demo to illustrate the CLT From native Smath, you can have: 1. colors at will [rich from X_Y plot], even white to imitate no bar. 2. Slightly separated, joined, slightly overlapped. 3. solid or hatched at will. Stat Histogram BarColor.sm (27kb) downloaded 28 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
... or like this.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.