Is this the correct place to report an apparent error in parsing?
this is Stata/SE 17.0 for Windows (64-bit x86-64). Revision 05 Oct 2021
For my own reasons, I created a string variable that includes brackets. While the tab command can parse and present a table with this string variable, the table command cannot. I uploaded sample data and the do file. I tried to upload the log file as well but got an error message. Pasting the relevant part of the log file here. I also tested with a string variable whose values do not begin with the bracket but have the bracketed text appended to the end. Got the same error message.
. clear
. use sample_data_bracket.dta
. tab bigstring
bigstring | Freq. Percent Cum.
------------+-----------------------------------
[1 big] | 22 25.29 25.29
[2 big] | 37 42.53 67.82
[4 big] | 24 27.59 95.40
[6 big] | 4 4.60 100.00
------------+-----------------------------------
Total | 87 100.00
. table (bigstring)
invalid tag;
open bracket '[' not found
r(198);
end of do-file
I hope I included the necessary information.
I have a work-around available that will use another character to delimit the "big" notation in the string.
Related Posts with new table command cannot parse bracket within string variable
reghdfe: running a difference in difference model with state FE, year FE and country specific trendsHello, I would like to run a diff-in-diff model with state fixed effects (FE), year FE and states sp…
Parallel lines assumption of ordered logit regressions with multiply imputed dataDear all, I am working with an imputed data set (M=50, N=1359) and use an ordered logisitc regressi…
How to combine variables with same values into oneHi everyone, Is there anybody known how to combine those variables that have totally the same value…
Listing and retrieving data from SQL views when using odbcHi, I have data stored in a view in MS SQL Server and I am using ODBC to connect to this database f…
Phi coefficient and Point Bi-Serial*How to calculate the Phi coefficient and Point Bi-Serial for a complex sample after creating a surve…
Subscribe to:
Post Comments (Atom)
0 Response to new table command cannot parse bracket within string variable
Post a Comment