Statistics package: Difference between revisions

no edit summary
No edit summary
Line 505: Line 505:
Functions available for computing design matrices.
Functions available for computing design matrices.


<div style="column-count:1;-moz-column-count:1;-webkit-column-count:1">
{| class="wikitable"
* <code>fullfact</code>
! Function
* <code>ff2n</code>
! Description
* <code>sigma_pts</code>
|-
* <code>x2fx</code>
| fullfact
</div>
| Full factorial design.
|-
| ff2n
| Two-level full factorial design.
|-
| sigma_pts
| Calculates 2*N+1 sigma points in N dimensions.
|-
| x2fx
| Convert predictors to design matrix.
|}


== Model Fitting ==
== Model Fitting ==
Line 516: Line 526:
Functions available for fitting or evaluating statistical models.  
Functions available for fitting or evaluating statistical models.  


<div style="column-count:1;-moz-column-count:1;-webkit-column-count:1">
{| class="wikitable"
* <code>crossval</code>
! Function
* <code>fitgmdist</code>
! Description
* <code>fitlm</code>
|-
</div>
| crossval
| Perform cross validation on given data.
|-
| fitgmdist
| Fit a Gaussian mixture model with K components to DATA.
|-
| fitlm
| Regress the continuous outcome (i.e.  dependent variable) Y on continuous or categorical predictors (i.e.  independent variables) X by minimizing the sum-of-squared residuals.
|}


=== Cross Validation ===
=== Cross Validation ===
106

edits