How do I preform Chi-squared test using a function that takes two inputs; observed data (as a table) and critical value
Mostrar comentarios más antiguos
How do I preform Chi-squared test using a function that takes two inputs; observed data (as a table) and critical value
7 comentarios
dpb
el 28 de Abr. de 2019
Presuming this isn't homework assignment; why not just use the Statistics Toolbox chi2gof function?
Luke Muscat
el 28 de Abr. de 2019
dpb
el 28 de Abr. de 2019
What I guessed...the crystal ball is on a roll! :)
So, "we don't do homework" -- instead we'll gladly provide hints and answer specific Matlab questions, but you've got to show us your effort to solve the problem first and make questions on specific trouble spots, not "DOIT4ME!"
Image Analyst
el 28 de Abr. de 2019
Hey, I'd like that Crystal Ball Toolbox too!
For homework help: click here
dpb
el 28 de Abr. de 2019
It's a high-maintenance item, though, IA...out of service more often than not. :)
Luke Muscat
el 29 de Abr. de 2019
dpb
el 29 de Abr. de 2019
What, specifically, is the issue with creating a function with two (or one or any particular number) of dummy arguments? The doc for function shows syntax of you can open any m-file in the editor and see how Mathworks writes code (albeit they do a lot of input checking, etc., but the basic syntax is all the same if not using varargin
Respuestas (0)
Categorías
Más información sobre Hypothesis Tests en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!