Difference between revisions of "Excel to Analytica Mappings/Statistical Functions"

 
Line 1: Line 1:
= AVEDEV =
+
= AVEDEV(x1'',x2,...'') =
= AVERAGE =
+
 
= AVERAGEA =
+
Analytica equivalents:
= BETADIST =
+
[[Mean]](x-[[Mean]](x))
= BETAINV =
+
[[Mean]](x-[[Mean]](x,I),I)
= BINOMDIST =
+
 
 +
= AVERAGE(x1'',x2,...''), AVERAGEA(x1'',x2,...'') =
 +
 
 +
Analytica equivalent:
 +
[[Average]](x,I)
 +
 
 +
= BETADIST(x,alpha,beta'',A,B'') =
 +
 
 +
Analytica equivalents:
 +
[[BetaI]](x,alpha,beta)
 +
[[BetaI]]((x-A)/(B-A),alpha,beta)
 +
 
 +
To define a variable as a beta probability distribution, use:
 +
[[Beta]](alpha,beta'',A,B'')
 +
 
 +
= BETAINV(p,alpha,beta'',A,B'') =
 +
 
 +
Analytica equivalents:
 +
[[BetaIInv]](p,alpha,beta)
 +
[[BetaIInv]](p,alpha,beta) * (B-A) + A
 +
 
 +
To define a variable as a beta probability distribution, use:
 +
[[Beta]](alpha,beta'',A,B'')
 +
 
 +
= BINOMDIST(x,n,p) =
 +
 
 +
Analytica equivalent:
 +
[[Prob_Binomial]](x,n,p)
 +
 
 +
To use this function, add the Distribution Densities Library to your model.
 +
 
 +
To define a variable as binomially distributed, use:
 +
[[Binomial]](n,p)
 +
 
 +
For the cumulative binomial probability, BINOMDIST(x,n,p,TRUE), the Analytica equivalent is:
 +
[[Probability]]([[Binomial]](n,p)<=x)
 +
 
 +
Note, however, that this is evaluated using sampling, so for small sample sizes there could be some sampling error in the result.
 +
 
 
= CHIDIST =
 
= CHIDIST =
 
= CHIINV =
 
= CHIINV =

Revision as of 17:16, 11 January 2008

AVEDEV(x1,x2,...)

Analytica equivalents:

Mean(x-Mean(x))
Mean(x-Mean(x,I),I)

AVERAGE(x1,x2,...), AVERAGEA(x1,x2,...)

Analytica equivalent:

Average(x,I)

BETADIST(x,alpha,beta,A,B)

Analytica equivalents:

BetaI(x,alpha,beta)
BetaI((x-A)/(B-A),alpha,beta) 

To define a variable as a beta probability distribution, use:

Beta(alpha,beta,A,B)

BETAINV(p,alpha,beta,A,B)

Analytica equivalents:

BetaIInv(p,alpha,beta)
BetaIInv(p,alpha,beta) * (B-A) + A

To define a variable as a beta probability distribution, use:

Beta(alpha,beta,A,B)

BINOMDIST(x,n,p)

Analytica equivalent:

Prob_Binomial(x,n,p)

To use this function, add the Distribution Densities Library to your model.

To define a variable as binomially distributed, use:

Binomial(n,p)

For the cumulative binomial probability, BINOMDIST(x,n,p,TRUE), the Analytica equivalent is:

Probability(Binomial(n,p)<=x)

Note, however, that this is evaluated using sampling, so for small sample sizes there could be some sampling error in the result.

CHIDIST

CHIINV

CHITEST

CONFIDENCE

CORREL

COUNT

COUNTA

COUNTBLANK

COUNTIF

COVAR

CRITBINOM

DEVSQ

EXPONDIST

FDIST

FINV

FISHER

FISHERINV

FORECAST

FREQUENCY

FTEST

GAMMADIST

GAMMAINV

GAMMALN

GEOMEAN

GROWTH

HARMEAN

HYPGEOMDIST

INTERCEPT

KURT

LARGE

LINEST

LOGEST

LOGINV

LOGNORMDIST

MAX

MAXA

MEDIAN

MIN

MINA

MODE

NEGBINOMDIST

NORMDIST

NORMINV

NORMSDIST

NORMSINV

PEARSON

PERCENTILE

PERCENTRANK

PERMUT

POISSON

PROB

QUARTILE

RANK

RSQ

SKEW

SLOPE

SMALL

STANDARDIZE

STDEV

STDEVA

STDEVP

STDEVPA

STEYX

TDIST

TINV

TREND

TRIMMEAN

TTEST

VAR

VARA

VARP

VARPA

WEIBULL

ZTEST

Comments


You are not allowed to post comments.