HyperWorks Desktop

*BeginStatsTemplates()

Begins a statistics templates block in the preferences file.

*BeginStatsTemplates()

Begins a statistics templates block in the preferences file.

Previous topic Next topic No expanding text in this topic  

*BeginStatsTemplates()

Begins a statistics templates block in the preferences file.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*BeginStatsTemplates()

Example

*BeginStatsTemplates()

 *BeginTemplate("Linear Regression")

       *BeginText()

{N = min({numpts(x), numpts(y)}) }

{q = sum(x)}

{K = {{N, q}, {q, sum(x^2)}}}

{L = {sum(y), sum(x*y)}'}

{A = inverse(K)*L}

Linear Least Squares Regression over

the chosen range index {from} -> {to}

 

 y = A * x + B where A = {A[1]}

                     B = {A[0]}

 

       *EndText()

 *EndTemplate("Linear Regression")

*EndStatsTemplates()

Application

HyperGraph 2D

See also

 

*BeginTemplate()

*BeginText()

*EndTemplate()

*EndText()

*EndStatsTemplates()

List of Preference Statements