You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
I'm not sure what you are asking. If you are asking whether there is a way to use a non-integer variable as an fweight in Stata, the answer is no. By definition, fweights represent a count of the number of times that the observation should be included in the analysis. Such a number is necessarily an integer. Non-integer numbers can be aweights, iweights, or pweights--those work differently from fweights.
Perhaps you should explain in greater detail what you are trying to do and show an example of your data along with an explanation of what the variables in it are if you would like more specific advice.
Thanks for your response. I wanted to use table1 command and produce weigted output. I noticed that iweight is not allowed in table1. The weighting variable I have is non-integer variable. Given this information, is there any way to table1 with iweight when the weithing variable is non-integer?
If you are using version 17, Stata's native -table- command allows aweights, iweights, and pweights (in addition to fweights).
If not, there are a number of user-written commands to create this kind of table as well, and I am not really familiar with most of them. I suspect that some of them also allow these other kinds of weights. But I don't know. You would have to search for these commands, and read their help files to find out.
Comment