Hi everyone!
I have been trying to tokenize locals that are produced by file read. However, weird thing happens with these locals.
For example, if I use the code
file open fh using "location/table.txt", read
file read fh line
di "`line'"
The result is:
VARIABLES logtotal_assets logfixed_assets logrevenue loglabor_costs logemployment
However, if I run:
foreach i in `line'{
di "`i'"
}
It returns the same result as di "`line'". I try to tokenize the local line but it also fails. It would be great if anyone has inside on this issue!
Thanks so much!
Related Posts with File read and tokenize locals
Panel data and adding the occurrence of a dummy variableHello all I am looking into how the number of times a person migrates affects their change in happi…
Problem with Difference in difference specificationHi all, I am sorry if this topic has been covered before. However, I did my research but failed. I…
Cluster analysis with longitudinal dataAre there commands in Stata that are similar to the kml3d package in R (see e.g. Genolini et al 2015…
DCC Graph correlationsHello. I have a basic question with predict correlation using MGARCH DCC models. Why initial values …
Elasticity (margins: eyex) with Generalized Linear Model?Dear, I am estimating temporal changes between cohorts in the association (in terms of elasticity) …
Subscribe to:
Post Comments (Atom)
0 Response to File read and tokenize locals
Post a Comment