residual sum of squares for matrix 7x1

I have a 14x1 matrix, I don't know how to compute the squares of the residuals. thank you.

3 commentaires

Birdman
Birdman le 28 Nov 2017
What do you mean by residual?
the cyclist
the cyclist le 28 Nov 2017
Do you mean you are fitting an equation? What MATLAB function(s) are you using to do that?
John D'Errico
John D'Errico le 28 Nov 2017
Modifié(e) : John D'Errico le 28 Nov 2017
Is it a 7x1 or a 14x1 VECTOR anyway? We cannot read your mind.
To compute the sum of squares of residuals you...
1. Compute the residuals. Note that you cannot compute a residual without the existence of TWO sets of numbers, thus the actuals and the predicted.
2. Square them
3. Form the sum
In which step are you having problems?

Connectez-vous pour commenter.

Réponses (0)

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by