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

9 vues (au cours des 30 derniers jours)
How do I preform Chi-squared test using a function that takes two inputs; observed data (as a table) and critical value
  7 commentaires
Luke Muscat
Luke Muscat le 29 Avr 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 le 29 Avr 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

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by