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)
Out of sample calculationsHello, I am looking for a solution to expand my matrices in Mata for some out of sample calculation…
pwcorr display three starsI want display three stars if p<0.01, display two stars if p<0.05, display one star if p<0.…
Mixed logit modelHi All I am trying to calibrate a multilevel crash outcome analysis using a mixed logit model. The …
Dropping duplicates takes more that 24 hr.Dear stata forum, I am quite new to Stata and I ran into an issue. I have panel data with quarterly…
I am wondering the result about cross-classified multilevel modelArray l am working about cross-classified multilevel model dependent variable : immigratio…
Subscribe to:
Post Comments (Atom)
0 Response to Simple commands not working....wonder why (Stata/IC 15.1)
Post a Comment