?
Solved

Need to return a p value for a specified z score in PL/SQL

Posted on 2007-08-01
4
Medium Priority
?
1,199 Views
Last Modified: 2013-12-19
I need to return a p value for a specified z score in PL/SQL

is there a statistical function I can use to do this...for example

z score   (IN)         p value (OUT)
0.00                           .5
-0.67                          .25
-1.28                          .1
-1.65                          .05
-2.33                           .01

Thanks!!
0
Comment
Question by:ohmetw
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:prasanthi_k
ID: 19615017
I don't think there is any statistical function for this.

We can write a simple select statement similar to

SELECT p_value
INTO out_variable
WHERE z_score = in_variable;

0
 

Author Comment

by:ohmetw
ID: 19616226
I need to derive the p value, there isn't a table to lookup the value
0
 
LVL 3

Expert Comment

by:prasanthi_k
ID: 19622611
Can you provide more information like where these values are?
0
 

Accepted Solution

by:
ohmetw earned 0 total points
ID: 19631920
I have done more research now and confirmed tjere isn't a premade solution.  I have created a table with the necessary values and that will work for me just fine
Thanks for trying to help!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question