Dear User, I am trying to import several excel files and perform Kruskal –Wallis test test. Therefore, I have written loop code, but unable to do. Kindly suggest me.
cd "C:\Users\Biswa\Desktop\file"
global country "Ind Pak Chi Sri Bang"
foreach x of global country {
import excel "C:\Users\xx\Desktop\file\`x'.xlsx", sheet("Sheet1") firstrow
kwallis o, by(i)
clear "`x'"
}
Related Posts with Loop for excel file import and Kruskal –Wallis test
How can I merger two graphs in one graphhow can I merge two graphs and create one graph? I run a command graph combine 4t.gph 4v.gph, xcommo…
How to do asymmetrics fixed effects (Allison 2019) in an interaction modelHey there, I would like to analyse asymmetric fixed effects in an interaction model. Asymmetric FE s…
Delta Method to obtain absolute and relative coefficients after MCO regressionHello everyone, I am preparing the first attempt of my thesis which is about an analysis of the deco…
fitted valueshow do I calculate fitted values in stata??? …
include x for FI for indep. varHi I will like to include the number of FI in a tabel, when I estimate the model with fixed effects…
Subscribe to:
Post Comments (Atom)
0 Response to Loop for excel file import and Kruskal –Wallis test
Post a Comment