Year | N (number of hospitalizations) | Standard error of N |
1 | 1000 | 500 |
2 | 2000 | 600 |
3 | 3000 | 700 |
4 | 4000 | 800 |
5 | 5000 | 900 |
6 | 6000 | 1000 |
7 | 7000 | 1100 |
E (N)=b0 + b1*Year
Where E(N) is expected number of outcomes, b0 and b1 are intercept and coefficient. How should I account for the standard error of N? Would it be appropriate to use the inverse of standard error as a sample weight in the regression equation?
as in, regress N c.year [pweight=1/SE]
Comment