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

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

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by