WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-08-2010, 07:09 PM
hankiwan hankiwan is offline
Member
 
Join Date: Sep 2009
Posts: 5
Question Question about using function

I have a question that how to use a function scipy.stats.rv_continuous.ppf in SciPy package v0.7.

In SciPy Reference Guide, there is description as below.

rv_continuous.ppf(q, *args, **kwds)
Percent point function (inverse of cdf) at q of the given RV.

Parameters:
q : array-like, lower tail probability
arg1, arg2, arg3,... : array-like, The shape parameter(s) for the distribution (see docstring of the instance object for more information)
loc : array-like, optional, location parameter (default=0)
scale : array-like, optional, scale parameter (default=1)

Returns:
x : array-like, quantile corresponding to the lower tail probability q.


I have just started to learn Vizard (Python).
Could you please explain what are *args and **kwds mean? (Do * and ** have additional mean?)
I am confused that what types of parameters are required for using a function rv_continuous.ppf.
If I could get illustrating with examples, it will be a great help to me.

Best regards.
Reply With Quote
  #2  
Old 02-15-2010, 10:50 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
the following link explains *args and **kw

http://pythonfilter.com/blog/what-do...args-mean.html
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
window.pick function over sub-window omidbrb Vizard 4 10-02-2009 04:23 AM
Timer Question durf Vizard 3 03-31-2009 05:29 PM
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
Do you know how to send a value for 'pool' to the onActionEnd function? ghazanfar Vizard 1 03-22-2007 10:25 AM


All times are GMT -7. The time now is 08:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC