BookmarkSubscribeSubscribe to RSS Feed
gda

Community Trekker

Joined:

Jun 23, 2011

Getting data from a contingency table

I would like to get the data from a contingency table. I'm not sure why it doesn't work. It does with other types of analysis (distributions, etc..) It doesn't give any errors but it doesn't create the table from the "make into data table" command. I've tried "make combined data table" with the same results.

Any clues?


----------------Code---------------
4 REPLIES
gda

Community Trekker

Joined:

Jun 23, 2011

Re: Getting data from a contingency table

For whatever reason this forum doesn't seem to like square brackets (or something else). I cannot get the rest of my code in here. I'll keep trying. Maybe I should put another entry in here for inadequacies of this forum.
gda

Community Trekker

Joined:

Jun 23, 2011

Re: Getting data from a contingency table

Fixed the original post.

Message was edited by: GDA
mpb

Super User

Joined:

Jun 23, 2011

Re: Getting data from a contingency table

Summary = r["Tests"][TableBox(1)]<< make into data table;

Summary = r["Tests"][TableBox(2)]<< make into data table;

Summary = r["Tests"][TableBox(3)]<< make into data table;



Try these in place of your last line.
gda

Community Trekker

Joined:

Jun 23, 2011

Re: Getting data from a contingency table

Got it. Thanks!

Actually I'm going to use something like this:

Summary =r[NumberColBox("RSquare(U)")] << get as matrix;

This way I can define the box by name instead of number. Seems safer.