Hi,
I am currently using Mac OS X stata, and I have some problems setting the main directory.
I am sharing the do files with my team and all the others use PC.
The global directory command is:
else if "`c(username)'"=="eddie"{
global maindir1 "/Users/Eddie/Desktop/Project/Data"
global maindir2 "/Users/Eddie/Desktop/Project/Data"
and later on I would like to use the data from this directory:
capture use "$maindir1/__.dta",clear
I have the problem using the main directory.
Thank you for the help!
Related Posts with Main directory Mac OS
Showing the difference of two variables in a graphGood morning, I would like to know how I can compare two variables, a measured one and a self-repor…
Insignificant OLS results but significant IV regression resultsDear all, I do a regression (Y is a dependent variable and X is an independent variable) OLS gets …
Condensing variables into oneI have 4 different variables in a larger data set. Each of these 4 variables have responses coded as…
storing logit regression coefficients as new variable?Hi everyone! My question is as stated in the title: I'm running a logit regression and am looking to…
Endogeneity using IV estimatorHi I'm using IV estimator in stata for 2SLS test. I'm wondering each instrumental should be used in …
Subscribe to:
Post Comments (Atom)
0 Response to Main directory Mac OS
Post a Comment