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
Can -margins- after -mixed- with small sample inference show t-tests rather than z-tests?Hello everyone. After using one of the dfmethod() options for -mixed- to obtain small-sample inferen…
two-y-axeshello, I try to show my results based on two y-axes but the results are not satisfactory in the grap…
Constraints on the estimated coefficientsOn the following non-linear least squares estimation of the risk parameter (risk), I would like to a…
Is it possible to instrument for a dummy/interaction in a DiD panel model with fixed effects?I have the following data Code: * Example generated by -dataex-. To install: ssc install dataex cl…
Independent categorical variable in mutliple linear regressionDear all, For my master thesis I am building a linear regression model with a continous dependent v…
Subscribe to:
Post Comments (Atom)
0 Response to putexcel string data values
Post a Comment