In SPSS, when activate the weight variable, the data case number get multiplied by number in weight and such way no need to apply weight for each analysis. I wonder if possible to apply the same concept in STATA, by replicating the data cases by the number of weight variable and then no need to apply weights to each analysis seperately. Such way assuming in a data of 100, with a frequency weight of 3. Then i automatically generate a data where each case replicated 3 times with final data file containing 300 cases.
Related Posts with Dealing with weights stata.
Out-of-sample logit: applying estimated coefficients on a new series (w/o observing 0s/1s)Hello STATA community, This is both a methodological question and a programming question, for which…
Identifying peaks and throughsDear all, By following the method of Bry and Boschan (1971), full reference placed below, I want to…
Calculate pairwise differencesHi friends, I have data: Code: * Example generated by -dataex-. To install: ssc install dataex cl…
Identifying peaks and throughs within a time seriesDear all, By following the method of Bry and Boschan (1971), full reference placed below, I want to…
using * in a for-loopHello, I can't figure out what does * mean in front of a for-loop. Here you can see an example: fo…
Subscribe to:
Post Comments (Atom)
0 Response to Dealing with weights stata.
Post a Comment