LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

probability distribution function

I amusing labview 7.1. i want to find probability distribution function for some of my data . how can i do this using labview 7.1 any idea.
0 Kudos
Message 1 of 8
(5,266 Views)
Hi Dost,
 
What version of LabVIEW 7.1 do you have?
Base, Full, Pro,Student or evaluation?
 
If you have Full or pro then you can find all the probability functions in the following menus.
On the block diagram go to >>All functions>>Analyze>>Mathematics>>Probability and Statistics>>Probability
 
Unfortuanatelly these functions are only avaliable in the Full and Pro versions of the LabVIEW software.
 
Hope this helps
 
AdamB
Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 2 of 8
(5,240 Views)

Which probability distribution function are you looking for?  If you cant find a function try using the vi search on the functions palette, it is the search button with the magnifier glass icon at the top of your functions palette.  This function saves much time especially when my brain shuts down and I no longer can remember where the function that I am looking for is located.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 8
(5,232 Views)
I want o find normal distribution function of  a sample of data . i found that there is a VI  for this but i could not under stand how does it work  as it take scalar value while i have an array of data and i want to see probability density function for this sample data
0 Kudos
Message 4 of 8
(5,206 Views)
For a continuous function, the probability density function is the probability that the variate has the value x. Since for continuous distributions the probability at a single point is zero, this is often expressed in terms of an integral between two points. The Normal Distribution function computes the one sided probability p = Prob {X x}, this is why it takes a scalar.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 5 of 8
(5,190 Views)
I guess you want to generate a histogram for the probability distribution, given the data array.
If this is your need, you can use the Histogram.vi (very simple) or the more complicated General histogram.vi in the function palette Analyze-> Matematics -> Probability and Statistics, then throw the output in a graph indicator.

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 6 of 8
(5,184 Views)

I have not upgraded to version 8.0 but it appears that the statistics package has seen a great improvement including many PDF (probability distribution functions) through the incorporation of mathscripts.  This might be a good option if you are planning to upgrade (subscription with automatic upgrades might be worth it).  Again I haven't upgraded yet but NI could let you know if the particular PDF is included.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 7 of 8
(5,154 Views)
 
Hi Paul,
 
LabVIEW 8 does indeed include many new and improved VIs for probability and statistics. I've posted an overview document, "What's new in LabVIEW 8 for Signal Processing, Analysis, and Math?" that includes more information. Look for the Probability / Statistics section in that document.
 
We'll soon post a complete LabVIEW 8 VI (function) list of online that will contain a more complete reference. Unfortunately, the online version is not ready yet. For now, you might take a look at the LabVIEW 7.1 reference.
 
--Sam
Sam Shearman
Message 8 of 8
(5,128 Views)