"robvar" won't work!

#1
When I tried to use robvar command in stata, I go tthe following error message!


robvar fem_role, by(sex)
no room to add more variables because of width
An attempt was made to add a variable that would have increased the memory required
to store an observation beyond what is currently possible. You have the following
alternatives:

1. Store existing variables more efficiently; see help compress.

2. Drop some variables or observations; see help drop. (Think of Stata's data
area as the area of a rectangle; Stata can trade off width and length.)

3. Increase the amount of memory allocated to the data area using the set memory
command; see help memory.
r(902);

. ssc describe robvar
ssc describe: "robvar" not found at SSC, type -findit robvar-
(To find all packages at SSC that start with r, type -ssc describe r-)
r(601);
 

bukharin

RoboStataRaptor
#2
The error message is telling you what's wrong - -robvar- is trying to create a temporary variable but running out of memory.

As suggested, you should try to -compress- your data, then if that doesn't work make sure the dataset doesn't include anything unnecessary, and if that doesn't work increase the amount of memory available to Stata using -set memory-

-robvar- is an official Stata command so you won't see it using -findit-