Hi!
I am working on survey data and want to export the survey year for each country to an excel list.
I used this code:
foreach x of num 1/51 {
tab year if country == `x'
putexcel B`x' = year
}
However, it exports the same year for all countries .
I want to use outexcel, as I already exported other data to that list.
Thank you for your help!
Related Posts with putexcel string data values
applying t-test for descriptive statistics.Hi all, I'm having a problem in deciding how to perform a t-test on my descriptive statistics. I'm …
Multi level modelling cross level analysisI want to examine the effect of education(xvar) on prejudice(yvar) (both 1. level variables) moderat…
Covariance matrix of residuals in VAR modelI am estimating a VAR model in STATA. The model is as follows: Code: var potgap defl interest, no…
Outreg2 for summary statisticsHi all, I am trying to figure out the way to use outreg2 to export the summary statistics of my dat…
Difference in differences with changing sampleDear All, I am working on a quasi-experimental study with a large unbalanced panel dataset. This is…
Subscribe to:
Post Comments (Atom)
0 Response to putexcel string data values
Post a Comment