Should it be $\hat{S(t)}_{pst} = \sum_{i=1}^h \dfrac{N_h}{N} \times \hat{S(t)}_h$?

If I want to adjust for under or over representation in the sample, then what should be the estimator (suppose I know the population and sample proportions)?

Thanks for your kind guidance.