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

4 views (last 30 days)
while running spearman correlation, I got this error message"Invalid parameter name: typt." .

Answers (1)

Natch Ruengsakulrach
Natch Ruengsakulrach on 30 Aug 2016
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

Community Treasure Hunt

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

Start Hunting!