Hello,
I am wiritng a macro that will calculate correlation based on user input which determines how many items should be used from the two arrays to calculate the correlation.
e.g.
data starts from row 2 in excel sheet
Column A Column B
100 cells with data 100 cells with data
Array 1 Array 2
data from Column A data from column B
User input: e.g. 13 (thorugh an input box prompt)
correlation between first 13 items from Array A and Array B--> stored in cell 14( as data starts from row 2 in excel sheet)
then correlation between next 13 and stored in cell 27
.
.
.
and so on until last set of data items and stored in last row with data which is 100th row of data or 101st row in excel sheet.
any idea on how to achieve this?
Any help will be greatly appreciated.
Sincere Thanks.
user enters
I am wiritng a macro that will calculate correlation based on user input which determines how many items should be used from the two arrays to calculate the correlation.
e.g.
data starts from row 2 in excel sheet
Column A Column B
100 cells with data 100 cells with data
Array 1 Array 2
data from Column A data from column B
User input: e.g. 13 (thorugh an input box prompt)
correlation between first 13 items from Array A and Array B--> stored in cell 14( as data starts from row 2 in excel sheet)
then correlation between next 13 and stored in cell 27
.
.
.
and so on until last set of data items and stored in last row with data which is 100th row of data or 101st row in excel sheet.
any idea on how to achieve this?
Any help will be greatly appreciated.
Sincere Thanks.
user enters