Hi
I want to generate missing data if data is not contineously missing.........for example
| Year | Country1 | Country2 | Country3 |
| 1 | 586 | Null | Null |
| 2 | 452 | Null | Null |
| 3 | 415 | Null | Null |
| 4 | 325 | 475 | Null |
| 5 | 958 | 856 | 985 |
| 6 | Null | 954 | 965 |
| 7 | 758 | Null | 856 |
| 8 | Null | Null | 991 |
| 9 | 245 | 1452 | 456 |
For country 1 data is missing in between two valid points, so i want to replace with average growth rate in values.
For country 2 data is data is missing for 1,2 &3 year since this data is missing from starting year i do not want to replace it with any value. but for year 7 & 8 data is not missing from starting year then i want jto replace with average growth rate in values.
Similarly for country 3 data is missing from starting year then i do not want to replace it with any value.