Package edu.cmu.tetrad.util
Class PartialCorrelationPdf
java.lang.Object
edu.cmu.tetrad.util.PartialCorrelationPdf
- All Implemented Interfaces:
Function
,TetradSerializable
,Serializable
Frequency function of partial correlation r(12|34...k), assuming that the true partial correlation is equal to zero.
Uses the equation (29.13.4) from Cramer's _Mathematical Methods of Statistics_.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPartialCorrelationPdf
(int n, int k) Constructs a new zero partial correlation distribution function with the given values for n and k. -
Method Summary
Modifier and TypeMethodDescriptionint
getK()
Getter for the fieldk
.static PartialCorrelationPdf
Generates a simple exemplar of this class to test serialization.toString()
toString.double
valueAt
(double x) valueAt.
-
Constructor Details
-
PartialCorrelationPdf
public PartialCorrelationPdf(int n, int k) Constructs a new zero partial correlation distribution function with the given values for n and k.- Parameters:
n
- sample sizek
- the number of variables being compared.
-
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization.- Returns:
- the examplar.
-
valueAt
-
toString
-
getK
public int getK()Getter for the field
k
.- Returns:
- Ibid.
-