Hi! I am doing a study about schools in different municipalities and are trying to do a stratified sample using proportional allocation without replacement. I am stratifying with respect to municipalities and then will draw a number of schools from each stratum (at least one school from each municipality). The proportional allocation will be based on the number of schools in each municipality relative to the total number of schools, which means that municipalities with a larger number of schools also have more schools sampled. The total number of schools in my population is 295 and I want to sample 144 of them.

I am trying to use the command gsample but it doesn't work, I don't know if there is a more suitable command....
If someone knows anything about a stratified sample I would be very grateful for there help.

My code: gsample [144|school] [,strata(municipality)]
The output from Stata: weights not allowed