I have around 78 columns and 160,000 rows with values that I would like to convert to probabilities within each data set.
On average each data set would be around 9 with a maximum of 36 and a minimum of 2. Therefore the approx number
of data sets would be 160,000 / 9 = 17,777.
Below is a simple example using a two and a three data set sample.:
Index Val prob sumprob result sumcheck
1 20 .05 0.4 .125
1 30 .33 0.4 .825
1 50 .02 0.4 .05 1 (index 1)
2 90 .11 0.25 .44
2 70 .14 . 0.25 .56 1 (index 2)
I am code illiterate so any help much appreciated.
Data is currently stored in Excel. I bought Stata Version 12 quite a while ago and still a virgin
Thanks
Ian
On average each data set would be around 9 with a maximum of 36 and a minimum of 2. Therefore the approx number
of data sets would be 160,000 / 9 = 17,777.
Below is a simple example using a two and a three data set sample.:
Index Val prob sumprob result sumcheck
1 20 .05 0.4 .125
1 30 .33 0.4 .825
1 50 .02 0.4 .05 1 (index 1)
2 90 .11 0.25 .44
2 70 .14 . 0.25 .56 1 (index 2)
I am code illiterate so any help much appreciated.
Data is currently stored in Excel. I bought Stata Version 12 quite a while ago and still a virgin

Thanks
Ian
Comment