I'm looking from an algorithm that will do a statistics calculation for me--
it's the first time 'Numerical Recipies in C' has failed me! A normal
distribution table tells me the probability (by percentile) of an item,
given something called a z-score. If I have a z-score, I can look up the
probability in a distribution table.
There are plenty of algorithms around to do that calculation, but I need to
do a reverse lookup. I am given a percentile, and I need to return the
z-score that corresponds to that percentile. I haven't found anything that
will give me that result. If anyone can direct me to code or to an
algorithm, I'll be very grateful.
Thanks,
Dave Veeneman 3 13441
What about http://www.fourmilab.ch/rpkp/experim...is/zCalc.html? Is
that what you're looking for (it's all done in JavaScript)?
Failing that, there is always Newton's Method.
Colin
"Dave Veeneman" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... I'm looking from an algorithm that will do a statistics calculation for
me-- it's the first time 'Numerical Recipies in C' has failed me! A normal distribution table tells me the probability (by percentile) of an item, given something called a z-score. If I have a z-score, I can look up the probability in a distribution table.
There are plenty of algorithms around to do that calculation, but I need
to do a reverse lookup. I am given a percentile, and I need to return the z-score that corresponds to that percentile. I haven't found anything that will give me that result. If anyone can direct me to code or to an algorithm, I'll be very grateful.
Thanks, Dave Veeneman
Thanks! I had found fourmilab, but then I assumed that the code would be
server-side. Guess it shows what happens when I assume...
I did find a Fortran version at http://lib.stat.cmu.edu/apstat/241. It's
from the Journal of Applied Statistics-- I may use that one, simply because
I can verify it in the journal.
Regards,
Dave Veeneman
Hey, would you be willing to share your code once you code
it up in C#? I'm trying to get together a bunch of stats
code in C#. I did a bunch in VB 6.0 for basic things
(correlation, sd, etc) and it is looking like I'll have to
convert it all.
Geoff Collier This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: mr_burns |
last post by:
hi,
i want to put some useful marketing stats onto a web site but cant
really think of many. ones that i have thought of that would be useful
for marketing are:
- which URL did a user come...
|
by: Bob II |
last post by:
Hey, I've never used PHP before. I was wondering if it is possible to use
PHP to generate web stats. My web host's stats aren't very good. So I
want to generate some custom stats for myself.
...
|
by: Jean-Fran?ois Lacrampe |
last post by:
Hello,
I've got two random number/statistics questions I'd like you to
review. My first question is not directly related to PHP, but will be
implemented in PHP, as explained in my second...
|
by: dba |
last post by:
Hi
I am a new MySQL dba tuning a busy Apache/MySQL installation. Here are
some of the
statistics for the last 24 hours:
Com_admin_commands 978,760
What "Admin_Commands" does this...
|
by: Peter Sands |
last post by:
Hi,
I am trying to run an update stats command but keep getting a syntax error:
Looking at the doco it looks like I can use:
update stats <table_name>;
but when I use:
mysql> update stats...
|
by: Peter Jenkins |
last post by:
The client for which I do this site www.safenz.org.nz wants stats
tracking/a visitor counter, like the one that is there at the moment
(at the bottom of the home page). However I would like one...
|
by: Utter Newbie |
last post by:
I know we have access to log files and web statistics can be pulled
from those. But the guy who wants it built was thinking we should keep
track of every time a page is hit seperately in MS sql...
|
by: MKoool |
last post by:
Is there any decent library for basic stats? I am just looking for the
basics, like quartiles, median, standard deviation, mean, min, max,
regression, etc.
I was going to use SciPy, but I use...
|
by: ankitdesai |
last post by:
I would like to parse a couple of tables within an individual player's
SHTML page. For example, I would like to get the "Actual Pitching
Statistics" and the "Translated Pitching Statistics"...
|
by: Monu |
last post by:
HI All,
I am getting problem in using hotshot profiler.
When I hotshot with lineevents=0, it works fine,
but when I use lineevents=1, I get error in stats
here is my code:
import hotshot,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |