How to fix this error "Invalid parameter name: typt." ?

while running spearman correlation, I got this error message"Invalid parameter name: typt." .

Réponses (1)

Natch Ruengsakulrach
Natch Ruengsakulrach le 30 Août 2016

0 votes

I assumed that you are using the “corr” function. In addition to X and Y data, “corr” accepts additional inputs: “type”, “rows”, and “tail”. For “type”, the function accepts three values: “Pearson”, “Kendall”, and “Spearman”. It looks like you made a typo (“typt” instead of “type”). More information about the function can be found here: http://www.mathworks.com/help/stats/corr.html

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by