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

1 次查看(过去 30 天)
while running spearman correlation, I got this error message"Invalid parameter name: typt." .

回答(1 个)

Natch Ruengsakulrach
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

类别

Help CenterFile 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