Hi,
I wanted to run a simple command for moving one of my variables called "comment" to the end of my dataset. I picked this command verbatim from the Stata User Manual. When I tried, this is what I get:
. order comment [,last] (**without space)
weights not allowed
r(101);
. order comment [, last] (**with space between comma and last)
weights not allowed
For both variants of the "order" command, I get an error saying weights not allowed. I get the same error when I use this command with multiple variables:
. order gvkey cusip coname ticker execid co_per_rol exec_fullname nameprefix exec_fname exec_mname exec_lname gender pag
> e age joined_co PrevExp title year titleann ceoann execrank execrankann salary bonus becameceo pceo PositionTenure le
> ftofc leftco reason rejoin releft [,first]
weights not allowed
What may be going wrong?
Regards,
Tushar
Related Posts with Simple commands not working....wonder why (Stata/IC 15.1)
Bin widths are not constant in histogramDear StataList, I have a question regarding bin width in histograms. I cannot manage to create bin…
How to conduct QIC test for xtgeeWhat is the code for testing qic for xtgee in stata13? …
Stata unable to recognize commandWhen i request for help using the help command, (example help esize) an error command comes out as :…
Multi-level Linear Mixed Model - Correcting for multiple comparisonsHi, a first-time Statalist forum post for me! As part of my PhD studies, I've ran a Multi-level Lin…
Drawing a boxplotHi Stata Users, I am using Stata v15 to look at the distribution of a continuous variable using box…
Subscribe to:
Post Comments (Atom)
0 Response to Simple commands not working....wonder why (Stata/IC 15.1)
Post a Comment