Histogram Program

Histogram Program - Сообщения

#1 Опубликовано: 11.01.2019 17:41:50
Norm Schutzkus

Norm Schutzkus

9 сообщений из 90 понравились пользователям.

Группа: User

Файл не найден.Файл не найден.

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,
#2 Опубликовано: 12.01.2019 03:12:54
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

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.
#3 Опубликовано: 12.01.2019 07:47:15
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

routine for X-Y plot

hist.sm (14 КиБ) скачан 83 раз(а).

2019-01-12 12_48_16-Window.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
frapuano 12.01.2019 08:33:00
#4 Опубликовано: 12.01.2019 11:30:09
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (74 КиБ) скачан 46 раз(а).
Stat Random normal USER.sm (123 КиБ) скачан 45 раз(а).
Stat Histogram PW.sm (110 КиБ) скачан 41 раз(а).

#5 Опубликовано: 12.01.2019 11:45:31
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I welcome the collabs review


... Oh ! forgot to return your original

Probability Fitting[1].sm (90 КиБ) скачан 44 раз(а).
#6 Опубликовано: 12.01.2019 14:20:25
Norm Schutzkus

Norm Schutzkus

9 сообщений из 90 понравились пользователям.

Группа: User

Prob Fitting.xmcd (182 КиБ) скачан 32 раз(а).

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!
#7 Опубликовано: 12.01.2019 14:30:37
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I believe by Tom Gutman


Yes, Tom Gutman
This demo to illustrate the CLT

Stat Histogram DEMO.sm (23 КиБ) скачан 40 раз(а).

#8 Опубликовано: 12.01.2019 21:33:48
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

See Maxima docs for available functions and options

2019-01-13 01_24_47-SMath Studio 0.99.6884 - [Streuung.sm].png
Streuung.sm (45 КиБ) скачан 40 раз(а).
streug.rar (291 Б) скачан 33 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
frapuano 13.01.2019 05:20:00
#9 Опубликовано: 13.01.2019 20:48:58
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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.

HistoBar.PNG

Stat Histogram BarColor.sm (26 КиБ) скачан 50 раз(а).

#10 Опубликовано: 14.01.2019 00:48:22
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... or like this.

HistoBarGray.PNG
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений