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

6 visualizzazioni (ultimi 30 giorni)
How do I preform Chi-squared test using a function that takes two inputs; observed data (as a table) and critical value
  7 Commenti
Luke Muscat
Luke Muscat il 29 Apr 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 il 29 Apr 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

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by