How do I preform Chi-squared test using a function that takes two inputs; observed data (as a table) and critical value

9 visualizaciones (últimos 30 días)
How do I preform Chi-squared test using a function that takes two inputs; observed data (as a table) and critical value
  7 comentarios
Luke Muscat
Luke Muscat el 29 de Abr. de 2019
Yes,guys thanks I tried doing is using matrices creating the tables using matrices. Mostly stuck on how to make the chi squared function taking two inputs, I know how to make the formula that's not a problen
dpb
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

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by