How to fix this error "Invalid parameter name: typt." ?
Show older comments
while running spearman correlation, I got this error message"Invalid parameter name: typt." .
Answers (1)
Natch Ruengsakulrach
on 30 Aug 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
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!