CASTI-89 TITANIUM · CALC89
MedMed
Fits a median median line to data, a line that is resistant to outliers. The results are stored in stat variables such as stat.RegEqn.
Syntax
MedMed X,Y[,Freq][,Category,Include]
- Group
- Statistics
- Arguments
- Takes the x list, the y list and optional frequency, category and include lists.
- Availability
- Included
Example
| Input | Result |
|---|---|
| MedMed {1,2,3,4,5,6},{2,4,5,9,10,13}:stat.RegEqn | 2.125·x−0.270833333333 |
Typing MedMed {1,2,3,4,5,6},{2,4,5,9,10,13}:stat.RegEqn on the home screen and pressing ENTER returns 2.125·x−0.270833333333.
Related commands
- MultRegPerforms a multiple linear regression of one y list on several x lists.
- MultRegIntervalsComputes a confidence interval for a predicted value from a multiple linear regression.
- MultRegTestsPerforms the F test and t tests of a multiple linear regression.
- OneVarComputes one variable statistics of a list, such as mean, standard deviation and quartiles.
- PowerRegFits a power model y=a·x^b to data with least squares regression.
- QuadRegFits a quadratic y=a·x^2+b·x+c to data with least squares regression.
- QuartRegFits a quartic polynomial y=a·x^4+b·x^3+c·x^2+d·x+e to data with least squares regression.
- SinRegFits a sinusoidal model y=a·sin(b·x+c)+d to data.