Distributions
|
02-18-2015, 11:10 PM
(This post was last modified: 02-18-2015 11:11 PM by salvomic.)
Post: #1
|
|||
|
|||
Distributions
hi all,
in the Prime we have density (and also cumulative and inverse) commands for some distribution: Normal, T (Student), Chi-square, F (Fisher distribution), Binomial and Poisson. Than we have Zeta (for zipf d.) Sometime (for didactical purpose) I need to treat also other distributions: exponentiald, geometric, negbinomial, uniformd, hypergeometric. Any hints to implement any of them in a simple way, in a formula definition or program, almost for density and cumulative type? Especially geometric, hypergeometric and negbinomial. Thank you! *** EDIT: I would suggest to insert some of them others in the Prime... ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
02-19-2015, 06:18 AM
Post: #2
|
|||
|
|||
RE: Distributions
I'd suggest you take a look at the WP 34S Owner's Manual. You find it here: http://sourceforge.net/projects/wp34s/fi...f/download - please turn to App. I therein.
d:-) |
|||
02-19-2015, 07:35 AM
Post: #3
|
|||
|
|||
RE: Distributions
BTW, there are available in Xcas.
|
|||
02-19-2015, 08:28 AM
Post: #4
|
|||
|
|||
RE: Distributions
(02-19-2015 06:18 AM)walter b Wrote: I'd suggest you take a look at the WP 34S Owner's Manual. You find it here: http://sourceforge.net/projects/wp34s/fi...f/download - please turn to App. I therein. (02-19-2015 07:35 AM)parisse Wrote: BTW, there are available in Xcas. thanks both! WP 34S is a wonderful calc, and Xcas it's always ok! However I would like have those distributions also in the Prime ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
02-19-2015, 11:58 AM
Post: #5
|
|||
|
|||
RE: Distributions
You could make an app yourself in the meantime if you need them that much. It's part of the fun of owing a Prime. At the end you'll have your very own customized high performance calculator that meets all your needs.
Offroad |
|||
02-19-2015, 12:38 PM
(This post was last modified: 03-05-2015 09:24 AM by salvomic.)
Post: #6
|
|||
|
|||
RE: Distributions
(02-19-2015 11:58 AM)Offroad Wrote: You could make an app yourself in the meantime if you need them that much. It's part of the fun of owing a Prime. At the end you'll have your very own customized high performance calculator that meets all your needs. yes, you're right! I love my Prime... Let's go, but, please, help me to find errors, improve the programs and simplify them Logistic distribution Code:
Lognormal Code:
Exponential Code:
Geometric Code:
Hypergeometric and negative hypergeometric Code:
Negative Binomial Code:
Gompertz Code:
My purpose is now standardize these programs also using the same variable naming of the others distributions in the Prime and make controls to suggest and guide the user input. Any help much appreciated! I hope the programs could be helpful to whom use Prime for statistics. Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
02-19-2015, 03:58 PM
(This post was last modified: 05-02-2015 04:57 PM by salvomic.)
Post: #7
|
|||
|
|||
RE: Distributions
Weibull and Weibull translated
Code:
Cauchy Code:
Beta Code:
Gamma Code:
Zeta (Zpif) Code:
Laplace Code:
∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
02-19-2015, 08:27 PM
Post: #8
|
|||
|
|||
RE: Distributions
...the most simple (apparently):
Uniform distribution Code:
∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
02-22-2015, 06:49 PM
(This post was last modified: 02-22-2015 07:04 PM by salvomic.)
Post: #9
|
|||
|
|||
RE: Distributions
Another, that requires a bit of attention...
see here for the definition. See also this thread for the multinomial coefficient. Multinomial distribution (requires n = total number of items, list of k items of a kind, list of their probabilities...) Code:
∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-01-2015, 05:05 PM
Post: #10
|
|||
|
|||
RE: Distributions
n-Erlang distribution (see also Gamma and exponential)
Code:
∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
03-04-2015, 02:37 PM
Post: #11
|
|||
|
|||
RE: Distributions
Rayleigh distribution
Code:
Pareto distribution Code:
∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
04-08-2015, 11:00 AM
Post: #12
|
|||
|
|||
RE: Distributions
The important and classic Maxwell-Boltzmann Distribution
Code:
∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
04-08-2015, 01:22 PM
Post: #13
|
|||
|
|||
RE: Distributions
Nice job! it's been interesting following your progress with the Prime!
From my perspective, its also refreshing to see someone accomplishing productive results, and sharing them in this forum. Sometimes, after wading through all the complaints these days, I'm left to wonder if the grass roots "can do" attitude has vaporized from society. Perhaps its a throwback to my amateur radio heritage, but I admire those who can accomplish useful things with what they have, in spite of idiosyncrasies within their kit of resources. I don't know your specific background, but superficially, it seems you've exemplified a good example of how learning both the tool, and the source material, can come together to reach something useful and, in which, others might benefit! -Dale- |
|||
04-08-2015, 01:37 PM
Post: #14
|
|||
|
|||
RE: Distributions
(04-08-2015 01:22 PM)DrD Wrote: Nice job! it's been interesting following your progress with the Prime!hi Dale, thank you! Quote:From my perspective, its also refreshing to see someone accomplishing productive results, and sharing them in this forum. Sometimes, after wading through all the complaints these days, I'm left to wonder if the grass roots "can do" attitude has vaporized from society. Perhaps its a throwback to my amateur radio heritage, but I admire those who can accomplish useful things with what they have, in spite of idiosyncrasies within their kit of resources.yes, I like sharing in the forum what I learn about the tool, and I hope everybody here do the same. As you know, I'm ham too, and my experience in radio communication has thought to me this behavior... I hope these pieces of programs (commands) could help someone to expand its knowledge about Maths and Statistics. I would like some of these (with other already present in XCas) can be included in the Prime, if they are seen as "important" Quote:I don't know your specific background, but superficially, it seems you've exemplified a good example of how learning both the tool, and the source material, can come together to reach something useful and, in which, others might benefit! I'm learning (again) with the Prime Really, I'm trying to "squeeze" the Prime as an orange, and I can see that it can do really more than it already do and this for me is very amusing and amazing... My job is indeed Informatics and Electronics, and my passions are Maths, Statistics, Radio and every form of measure's instruments and calculation machines. Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
04-08-2015, 09:33 PM
Post: #15
|
|||
|
|||
RE: Distributions
Look in the WP34 directory: trunk/xrom/distributions.
The implementations for the ones you want that the 34S supports are there as keystroke programs. They are all pretty straightforward. Pauli |
|||
04-08-2015, 10:04 PM
Post: #16
|
|||
|
|||
RE: Distributions
(04-08-2015 01:22 PM)DrD Wrote: ... I'm left to wonder if the grass roots "can do" attitude has vaporized from society. Perhaps its a throwback to my amateur radio heritage, but I admire those who can accomplish useful things with what they have, in spite of idiosyncrasies within their kit of resources. It's a generational change. The new generation had internet since their infancy, therefore they are naturally a "search and download" generation. The previous generation had personal computers but relatively isolated (no www yet), so they were natural "programmers". The one before them had only basic calculators and kits to build their own computers, so they were natural "electronics designers, builders, and tinkerers in general". It's clear to see, even in this forum: some people are designing calculators, soldering iron in hand (older generation). Some people are writing software for their calculators, and some people just ask where to download something, and complain if it doesn't exist. If you ask for the age of each person, you'll see a perfect correlation. |
|||
04-09-2015, 04:35 AM
Post: #17
|
|||
|
|||
RE: Distributions
(04-08-2015 10:04 PM)Claudio L. Wrote: It's clear to see, even in this forum: some people are designing calculators, soldering iron in hand (older generation). Some people are writing software for their calculators, and some people just ask where to download something, and complain if it doesn't exist. If you ask for the age of each person, you'll see a perfect correlation. indeed ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
04-09-2015, 09:34 AM
Post: #18
|
|||
|
|||
RE: Distributions
(04-08-2015 01:22 PM)DrD Wrote: Nice job! it's been interesting following your progress with the Prime! Yes, it's good to see more programmes being published. I agree that working within the confines of limited resources sharpens the wits. I don't agree that the Prime is limited resources, in fact I'd describe it as overpowered combined with arbitrarily handicapped, eg largest integers that can be factorized. |
|||
04-09-2015, 05:53 PM
Post: #19
|
|||
|
|||
RE: Distributions
In absolute terms, all graphing calculators on the marketplace are laughably underpowered, and sold at very high price tags for such limited CPU power, amount of RAM, amount of Flash memory, limited I/O possibilities, low programmability, etc.
In relative terms, the Prime is one of the two most powerful models of calculators on the marketplace. Compared to the Nspire CX (CAS), the Prime has twice the amount of Flash, a CPU about twice faster, but sadly, only half the RAM. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 9 Guest(s)