Contingency Table (possibly being constructed with Pivot-table)

David_23

New Member
Joined
Aug 7, 2007
Messages
5
Hi guys,

I have a set of data of the form

X Data , Y Data
x1 , y1
x2 , y2
...
xn , yn

now both X Data and Y Data are just continuous data points that both lie in the interval a<X Data,Y Data<b which I want to group into intervals of length say h, from this I want to calculate the count per interval furthermore a cumulative frequency.

Now doing this individually for say one lot of data (i.e. one column of data here say X Data) very easily using a Pivot Table. I.e. to get the results

X Data Frequency Cumulative Frequency
interval 1 f1 cf1
interval 2 f2 cf2
,... ... ...
interval m fm cfm


what I'm hoping to achieve is (here only with the frequencies)
Frequency of X Frequency of Y
interval 1 fx1 fy1
interval 2 fx2 fy2
.... .... ....
interval m fxm fym

Can this be done with a Pivot Table? and if not, how can I go about it?

Any guidance would be greatly appreciated,

David
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,224,505
Messages
6,179,152
Members
452,891
Latest member
JUSTOUTOFMYREACH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top